POST api/scheduling/add
Request Information
URI Parameters
None.
Body Parameters
Collection of ResourceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| resource_id | globally unique identifier |
None. |
|
| name_txt | string |
None. |
|
| color_a | integer |
None. |
|
| color_r | integer |
None. |
|
| color_g | integer |
None. |
|
| color_b | integer |
None. |
|
| start_val | integer |
None. |
|
| end_val | integer |
None. |
|
| active_ind | boolean |
None. |
|
| isShow | boolean |
None. |
|
| ResourceTimes | Collection of ResourceTimeModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"resource_id": "c5ab1d9c-6cdf-4e39-8d71-3c1ce74053fb",
"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": [
{
"$id": "2",
"resource_Time_ID": "78f3051d-9a8d-4efb-86ff-25ae08cd828c",
"resource_ID": "bccf2cff-c77d-457d-b4a9-90508dc8c214",
"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-06-20T20:35:16.6399727+00:00",
"end_dt": "2026-06-20T20:35:16.6399727+00:00",
"resource": {
"$ref": "1"
}
},
{
"$ref": "2"
}
]
},
{
"$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. |