latestOpenAPI 3.0.12026-08-192092911.2 MB
916e669fc527
Resources
Update a resource
Update the details of a single resource (required scope resources:write)
patch/v1/resources/{resourceId}
Path parameters
resourceIdinteger required
Headers
Customer-Idinteger required
The customer identifier
Request body
Example request
{
"reference": "XYZ12345",
"name": "David Smith",
"groupId": 441122,
"email": "david.smith@example.com",
"mobile": "+447812 123112",
"timeZoneId": "GMT Standard Time",
"maxTravelDistance": 5,
"fuelCard": "01234567891234",
"businessKey": "1231231",
"privateKey": "414221",
"tachoCard": "DRI0RDW0000000100",
"isTracked": true,
"workingHours": [
{
"dayOfWeek": "sunday",
"start": "09:00",
"stop": "17:00",
"startAtContactId": 1241551
}
],
"customFields": [
{
"definitionId": 5514123,
"value": "High net worth"
}
]
}Response
No Content