Identity, people & notifications

Resolve Position ID Conflict

Resolves one pending position-ID conflict in a transaction: map/overwrite the ADP link on an employee, or skip/ignore.

POSThttps://api.toku.com/stablecoin-payroll/resolve-position-id-conflict

Not available to API keys yet. It will need integrations:write.

curl --request POST \
  --url 'https://api.toku.com/stablecoin-payroll/resolve-position-id-conflict' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conflictId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "action": "MAP_TO_EMPLOYEE",
  "targetRoleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
200 response
{
  "success": true,
  "error": "string"
}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.

Body

application/json

conflictIdstring<uuid>required
actionstringrequired

Available options: MAP_TO_EMPLOYEE, OVERWRITE_LINK, SKIP, IGNORE

targetRoleInOrgIDstring<uuid>

Response

200Successful response
successbooleanrequired
errorstring
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits