POST api/v1/SecondaryDepartments
Create a new staff secondary department association.
Request Information
URI Parameters
None.
Body Parameters
Collection of StaffSecondaryDepartmentAssociationRequestModel| Name | Description | Type | Additional 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
booleanResponse Formats
application/json, text/json
Sample:
true