Skip to content

Update employee locations

Request

Applies location updates to one or more employees within the current account context based on the provided request data.

Behavior:

  • Validates employee associations with the account
  • Validates target location details
  • Updates location assignments for the specified employees
  • Ensures location rules and constraints are enforced
  • Logs the action as a bulk employee location update event
Body
updateLocationModelsArray of objects or null(zLink.Business.zOne.Portfolio.RequestModels.UpdateLocationModel)
curl -i -X POST \
  https://demozone.zlinkfm.com/RND/api/v1/portfolio/employees/locations/update \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "updateLocationModels": [
      {
        "identifier": "14d3030c-3b61-4070-b902-342f80e99364",
        "coordinates": [
          0.1
        ]
      }
    ]
  }'

Responses

OK

Body
messagestring or null
isErrorboolean
messageCodeinteger, (int32)
statusstring or null
errorTypestring or null
traceidstring or null
responseDescriptionstring or null
Response
{
  "message": "string",
  "isError": true,
  "messageCode": 0,
  "status": "string",
  "errorType": "string",
  "traceid": "string",
  "responseDescription": "string"
}