POST api/v1/SecondaryDepartments

Create a new staff secondary department association.

Request Information

URI Parameters

None.

Body Parameters

Collection of StaffSecondaryDepartmentAssociationRequestModel
NameDescriptionTypeAdditional information
StaffId

integer

None.

DepartmentId

integer

None.

CreateDate

date

None.

DateChanged

date

None.

EffectiveDateUtc

date

None.

ExpiresDateUtc

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StaffId": 1,
    "DepartmentId": 2,
    "CreateDate": "2026-01-02T11:02:38.4162717-06:00",
    "DateChanged": "2026-01-02T11:02:38.4162717-06:00",
    "EffectiveDateUtc": "2026-01-02T11:02:38.4162717-06:00",
    "ExpiresDateUtc": "2026-01-02T11:02:38.4162717-06:00"
  },
  {
    "StaffId": 1,
    "DepartmentId": 2,
    "CreateDate": "2026-01-02T11:02:38.4162717-06:00",
    "DateChanged": "2026-01-02T11:02:38.4162717-06:00",
    "EffectiveDateUtc": "2026-01-02T11:02:38.4162717-06:00",
    "ExpiresDateUtc": "2026-01-02T11:02:38.4162717-06:00"
  }
]

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true