Create a subtotal item
Changed onCreates a new subtotal item.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "Labor subtotal",
"barcode": {
"value": "012345678905"
},
"isActive": true,
"description": "Subtotal for all labor costs on this project",
"externalId": "12345678-abcd-1234-abcd-1234567890ab"
}Response
Returns the newly created subtotal item.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_subtotal_item",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Labor subtotal",
"barcode": "012345678905",
"isActive": true,
"description": "Subtotal for all labor costs on this project",
"specialItemType": "finance_charge",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
- warning
the
/request property's maxLength was set to50 - warning
the
request property's maxLength was set to4095
- warning
- breaking
response property
barcodelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
externalIdlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
specialItemTypelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
removed the
finance_chargeenum value from theresponse property for the response status - info
removed the
reimbursable_expense_groupenum value from theresponse property for the response status - info
removed the
reimbursable_expense_subtotalenum value from theresponse property for the response status - info
removed the
undefinedenum value from theresponse property for the response status
- breaking