POST api/scheduling/resourcetime/add
Request Information
URI Parameters
None.
Body Parameters
Collection of ResourceTimeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Resource_Time_ID | globally unique identifier |
None. |
|
| Resource_ID | globally unique identifier |
None. |
|
| start_val | integer |
None. |
|
| end_val | integer |
None. |
|
| sunday_ind | boolean |
None. |
|
| monday_ind | boolean |
None. |
|
| tuesday_ind | boolean |
None. |
|
| wednesday_ind | boolean |
None. |
|
| thursday_ind | boolean |
None. |
|
| friday_ind | boolean |
None. |
|
| saturday_ind | boolean |
None. |
|
| active_ind | boolean |
None. |
|
| start_dt | date |
None. |
|
| end_dt | date |
None. |
|
| Resource | ResourceModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"resource_Time_ID": "cd19abca-16c4-4d18-8a45-e15974c3e54a",
"resource_ID": "70527c00-b89b-4af5-a710-c1e43e3c0501",
"start_val": 3,
"end_val": 4,
"sunday_ind": true,
"monday_ind": true,
"tuesday_ind": true,
"wednesday_ind": true,
"thursday_ind": true,
"friday_ind": true,
"saturday_ind": true,
"active_ind": true,
"start_dt": "2026-11-04T19:48:29.1721152+00:00",
"end_dt": "2026-11-04T19:48:29.1721152+00:00",
"resource": {
"$id": "2",
"resource_id": "28d7906a-25a0-4557-b618-330ab087b496",
"name_txt": "sample string 2",
"color_a": 3,
"color_r": 4,
"color_g": 5,
"color_b": 6,
"start_val": 7,
"end_val": 8,
"active_ind": true,
"isShow": true,
"resourceTimes": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |