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": "f38c9569-ef30-4c2a-a37e-2b7654c9fb7e",
"resource_ID": "77203eb5-c6c6-40f1-b363-15a40de70fec",
"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-02-04T02:53:19.6602708+00:00",
"end_dt": "2026-02-04T02:53:19.6602708+00:00",
"resource": {
"$id": "2",
"resource_id": "e0772e24-246a-4184-b7a0-88d00fcb8978",
"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. |