External id of the cost center that is globally unique across the provided cost center data
Identifier of the client entity in the source system which can be used to separate data
Code of the cost center in the source system (not unique across clients)
List of externalCompanyIds that the approver is assigned to
[ "DE01", "US01" ]
Label describing the cost center
[ { "text": "Sales Engineers", "language": "en" } ]
Short label describing the cost center
[ { "text": "Sales Eng.", "language": "en" } ]
List of key value pairs containing custom fields from the source system
- API EUhttps://api.cloud.hypatos.ai/v2/enrichment/cost-centers/{externalId}
- API UShttps://api.cloud.hypatos.com/v2/enrichment/cost-centers/{externalId}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/cost-centers/{externalId}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/enrichment/cost-centers/{externalId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"externalId": "0000100CO1",
"externalClientId": "EXTERNAL_CLIENT_ID",
"code": "CO1",
"companyAssignment": [
"DE01",
"US01"
],
"type": {
"value": "OE",
"labels": [
{
"text": "Fish & Chips",
"language": "en"
}
]
},
"category": {
"value": "OE",
"labels": [
{
"text": "Fish & Chips",
"language": "en"
}
]
},
"label": [
{
"text": "Sales Engineers",
"language": "en"
}
],
"shortLabel": [
{
"text": "Sales Eng.",
"language": "en"
}
],
"customFields": {
"property1": "string",
"property2": "string"
},
"customMetadata": {
"someTopLevelProperty": "value1",
"someNestedProperty": {
"nestedProperty": "value2"
},
"someArrayProperty": [
"value3",
"value4"
]
}
}'Successfully updated
External id of the cost center that is globally unique across the provided cost center data
Identifier of the client entity in the source system which can be used to separate data
Code of the cost center in the source system (not unique across clients)
List of externalCompanyIds that the approver is assigned to
[ "DE01", "US01" ]
Label describing the cost center
[ { "text": "Sales Engineers", "language": "en" } ]
Short label describing the cost center
[ { "text": "Sales Eng.", "language": "en" } ]
List of key value pairs containing custom fields from the source system
{ "externalId": "0000100CO1", "externalClientId": "EXTERNAL_CLIENT_ID", "code": "CO1", "companyAssignment": [ "DE01", "US01" ], "type": { "value": "OE", "labels": [ … ] }, "category": { "value": "OE", "labels": [ … ] }, "label": [ { … } ], "shortLabel": [ { … } ], "customFields": { "property1": "string", "property2": "string" }, "customMetadata": { "someTopLevelProperty": "value1", "someNestedProperty": { … }, "someArrayProperty": [ … ] } }