Assigned Users

You can add users to an entity. These users are assigned users and represent users that should do the task on the given entity.

Available for PickJobs, PackJobs, HandoverJobs and ServiceJobs

There is currently no logic that validates that only the assigned user is allowed to do the task.

Validate Assigned Users

Added Assigned Users must be valid users in the system. The User validation is done via the username or the user id. Either the username or the user id must be provided, not both.

Create with Assigned Users

Send all assigned users in the request. The assigned users will be added. Duplicated send users will result in an error.

Assigned Users need to be send in this format:

{
  "assignedUsers": [
    {
      "username": "validUserName - OR -",
      "userid": "validUserId - OR -"
    }
  ]
}

Replace Assigned Users

Send all assigned users in the request. The existing assigned users will be replaced.

Assigned Users need to be send in this format: https://github.com/fulfillmenttools/fulfillmenttools-api-implementations/pull/7043

Replacing assigned users can be done via the 'api///actions' REPLACE_ASSIGNED_USERS action. Example for this is:

POST on '/api/packjobs/somePackJobId/actions'

{
  name: "REPLACE_ASSIGNED_USERS",
  version: 2,
  assignedUsers: [
    {
      username: "SomeValidUserId",
    },
  ],
}

Last updated

Was this helpful?