POST api/scheduling/add
Request Information
URI Parameters
None.
Body Parameters
Collection of ResourceModelName | 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": "c8b34f2f-131b-41f7-aebf-ca6baf584f1a", "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": "967b9e16-1959-4020-9889-7fc4afd01262", "resource_ID": "cae9bffb-e35b-40c9-bd8c-2f992197ded9", "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": "2025-08-29T03:06:41.0723614+00:00", "end_dt": "2025-08-29T03:06:41.0723614+00:00", "resource": { "$ref": "1" } }, { "$ref": "2" } ] }, { "$ref": "1" } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |