Skip to main content
POST
/
work_assignments
/
batch
/
upsert
Batch upsert work assignments
curl --request POST \
  --url https://sandbox.nmbr.co/services/payroll/work_assignments/batch/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": "<id>",
    "title": "Senior Engineer",
    "tag_assignment": {
      "unit": "percentage",
      "tag_allocations": [
        {
          "tags": [
            "<id>"
          ],
          "value": 100
        }
      ]
    }
  },
  {
    "employee_id": "<id>",
    "pay_schedule_id": "<id>",
    "title": "Engineer",
    "tag_assignment": {
      "unit": "percentage",
      "tag_allocations": [
        {
          "tags": [
            "<id>"
          ],
          "value": 100
        }
      ]
    }
  }
]
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Required array length: 1 - 100 elements

Response

202

Accepted