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": "f419e862-e72f-46a0-beb2-9a210bd22a21",
"NeedId": "273a4521-ef62-4e21-84c1-e8b243c09815",
"RequestId": "031ce07f-fdde-4bab-94b2-b85e8320189a",
"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-05T04:42:38.1091833-06:00",
"StartTime": "2026-01-05T04:42:38.1091833-06:00",
"EndTime": "2026-01-05T04:42:38.1091833-06:00",
"ActualStartTime": "2026-01-05T04:42:38.1091833-06:00",
"ActualEndTime": "2026-01-05T04:42:38.1091833-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"
]
}