POST api/v1/needs/{needId}/request
Book an open need.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| needId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfScheduleAssignmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfScheduleAssignmentModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": {
"Id": "sample string 1",
"TypeId": 2,
"Status": "sample string 3",
"AssignmentId": "993e3df0-9919-40f6-b861-fa5f5ae3433f",
"NeedId": "852d3312-7d83-4e5c-abfc-e42e25854d23",
"RequestId": "e9c85c9b-9ff3-4b1b-b34a-26695ce8e02e",
"RequestShiftId": 1,
"FacilityId": 4,
"FacilityName": "sample string 5",
"FacilityCoId": "sample string 6",
"DepartmentId": 7,
"DepartmentName": "sample string 8",
"DepartmentCode": "sample string 9",
"DepartmentShiftId": 1,
"ShiftCode": "sample string 10",
"ShiftDescription": "sample string 11",
"SkillId": 12,
"Skill": "sample string 13",
"ProductiveTypeId": 14,
"ProductiveType": "sample string 15",
"Date": "2026-01-03T23:10:34.451104-06:00",
"StartTime": "2026-01-03T23:10:34.451104-06:00",
"EndTime": "2026-01-03T23:10:34.451104-06:00",
"ActualStartTime": "2026-01-03T23:10:34.451104-06:00",
"ActualEndTime": "2026-01-03T23:10:34.451104-06:00",
"Hours": 1,
"Minutes": 1,
"StaffId": 19,
"UserName": "sample string 20",
"StaffFirstName": "sample string 21",
"StaffLastName": "sample string 22",
"Comment": "sample string 23"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}