POST api/ResourceAPI?startDate={startDate}&endDate={endDate}&uID={uID}&totalhours={totalhours}&userRoleID={userRoleID}&overTimeDays={overTimeDays}&daysAvailable={daysAvailable}&allDay={allDay}&FTE={FTE}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| startDate | date |
Required |
|
| endDate | date |
Required |
|
| uID | integer |
Required |
|
| totalhours | decimal number |
Required |
|
| userRoleID | integer |
Required |
|
| overTimeDays | string |
Required |
|
| daysAvailable | string |
Required |
|
| allDay | boolean |
Required |
|
| FTE | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
allocationMongo| Name | Description | Type | Additional information |
|---|---|---|---|
| totalHours | decimal number |
None. |
|
| hoursperday | decimal number |
None. |
|
| percent | decimal number |
None. |
|
| workingDays | integer |
None. |
|
| capacityData | mdlResourceCapacityItem |
None. |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"totalHours": 1.1,
"hoursperday": 2.1,
"percent": 3.1,
"workingDays": 4,
"capacityData": {
"_id": "sample string 1",
"identifier": "sample string 2",
"taskID": 3,
"rmID": 4,
"projectID": 5,
"userID": 6,
"roleID": 7,
"rolename": "sample string 8",
"userRoleID": 9,
"parentRoleID": 10,
"startDate": "2025-11-21T03:18:17.7487073+00:00",
"endDate": "2025-11-21T03:18:17.7487073+00:00",
"differentialIdentifier": "sample string 13",
"capacityDays": [
{
"date": "2025-11-21T03:18:17.7487073+00:00",
"month": 2,
"year": 3,
"day": 4,
"hours": 5.1
},
{
"date": "2025-11-21T03:18:17.7487073+00:00",
"month": 2,
"year": 3,
"day": 4,
"hours": 5.1
}
]
}
}