POST api/v1/SecondaryDepartments/ModifyStaffAssociations

Create or remove for list of staff secondary associations for a staff.

Request Information

URI Parameters

None.

Body Parameters

SecondaryAssociationsAddRemoveModel
NameDescriptionTypeAdditional information
AssociationIds

Collection of integer

None.

DepartmentIds

Collection of integer

None.

DateChangedUtc

date

None.

StaffId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AssociationIds": [
    1,
    2
  ],
  "DepartmentIds": [
    1,
    2
  ],
  "DateChangedUtc": "2026-01-02T21:48:34.3996274-06:00",
  "StaffId": 2
}

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true