This document provides an overview of the November 27, 2023 Karbon API release.
In this release we have added Fee Type and Fee Value on the
JSONCopied!
WorkItems- JSONCopied!POST WorkItem, PUT WorkItem
- JSONCopied!GET WorkItem
JSONCopied!
POST WorkItem and PUT WorkItemEndpoint:
JSONCopied!
https://api.karbonhq.com/v3/WorkItemsWhen used with
JSONCopied!
POSTJSONCopied!
PUTJSONCopied!
FeeSettingsJSONCopied!
FeeTypeJSONCopied!
FeeValueValid values for
JSONCopied!
FeeTypeJSONCopied!
TimeAndMaterialsJSONCopied!
NonBillableJSONCopied!
FixedFeeIf the
JSONCopied!
FeeTypeJSONCopied!
TimeAndMaterialsJSONCopied!
NonBillableJSONCopied!
FeeValueJSONCopied!
nullWhen
JSONCopied!
FeeTypeJSONCopied!
FixedFeeJSONCopied!
FeeValueExample use case
You want to create a Work Item to be
JSONCopied!
FixedFeeInclude the following JSON object in the request payload:
JSONCopied!"FeeSettings": {
  "FeeType": "FixedFee",
  "FeeValue": 1210.5000
}
Making a
JSONCopied!
POSTJSONCopied!
https://api.karbonhq.com/v3/WorkItemsJSONCopied!
GET WorkItemEndpoint:
JSONCopied!
https://api.karbonhq.com/v3/WorkItemsWhen used with
JSONCopied!
GETJSONCopied!
FeeSettingsJSONCopied!
FeeSettingsExample use case
You want to retrieve a Work Item and its Fee Settings which were previously defined in the UI in Karbon as Time and Materials. Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/WorkItems/{WorkItemkey}This will return a JSON response with a Work Item as the payload, including the
JSONCopied!
FeeSettingsJSONCopied!"FeeSettings": {
  "FeeType": "TimeAndMaterials",
  "FeeValue": null
}