Security
OAuth2(Required scopes: enrichment.write)
External id of the approver that is globally unique across the provided approver data
Example:"UserID#1234"
Identifier of the client entity in the source system which can be used to separate data
Example:"EXTERNAL_CLIENT_ID"
List of externalCompanyIds that the approver is assigned to
Example:
[ "DE01", "US01" ]
List of key value pairs containing custom fields from the source system
- API EUhttps://api.cloud.hypatos.ai/v2/enrichment/approvers/{externalId}
- API UShttps://api.cloud.hypatos.com/v2/enrichment/approvers/{externalId}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/approvers/{externalId}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/enrichment/approvers/{externalId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"externalId": "UserID#1234",
"externalClientId": "EXTERNAL_CLIENT_ID",
"code": "CODE1",
"companyAssignment": [
"DE01",
"US01"
],
"isActive": true,
"firstName": "Koala",
"lastName": "Hinze",
"email": "accountant@sap.com",
"phoneNumber": "+491001234567891",
"customFields": {
"property1": "string",
"property2": "string"
},
"customMetadata": {
"someTopLevelProperty": "value1",
"someNestedProperty": {
"nestedProperty": "value2"
},
"someArrayProperty": [
"value3",
"value4"
]
}
}'Successfully updated
External id of the approver that is globally unique across the provided approver data
Example:"UserID#1234"
Identifier of the client entity in the source system which can be used to separate data
Example:"EXTERNAL_CLIENT_ID"
List of externalCompanyIds that the approver is assigned to
Example:
[ "DE01", "US01" ]
List of key value pairs containing custom fields from the source system
Response
{ "externalId": "UserID#1234", "externalClientId": "EXTERNAL_CLIENT_ID", "code": "CODE1", "companyAssignment": [ "DE01", "US01" ], "isActive": true, "firstName": "Koala", "lastName": "Hinze", "email": "accountant@sap.com", "phoneNumber": "+491001234567891", "customFields": { "property1": "string", "property2": "string" }, "customMetadata": { "someTopLevelProperty": "value1", "someNestedProperty": { … }, "someArrayProperty": [ … ] } }