[Index]
Model ref.: relation/CucScheduleREL
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "StartDate": { "minItems": 0, "title": "Start Date", "type": "string", "description": " The date and time when schedule becomes active, or NULL if active immediately.", "name": "StartDate" }, "Set": { "type": "object", "properties": { "DisplayName": { "minItems": 0, "title": "Display Name", "type": "string", "description": " The unique text name of this schedule set to be used when displaying entries in the administrative console and Cisco Personal Assistant.", "name": "DisplayName" }, "OwnerUserURI": { "name": "OwnerUserURI", "title": "Owner User URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a ScheduleSet object. - template parameter [1]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "OwnerLocationObjectId": { "target_attr": "ObjectId", "description": " The owner of this schedule set. If the owner is a LocationVMS, the unique identifier of the LocationVMS object to which this schedule set (i.e., \"system\" schedule) belongs. Otherwise, this attribute is set to NULL.", "format": "uri", "minItems": 0, "title": "Schedule", "name": "OwnerLocationObjectId", "target_title": "DisplayName", "target_model_type": "device/cuc/Schedule", "choices": [], "type": "string", "target": "/api/device/cuc/Schedule/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "URI": { "name": "URI", "title": "URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "OwnerLocationURI": { "name": "OwnerLocationURI", "title": "Owner Location URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ScheduleSetMembersURI": { "name": "ScheduleSetMembersURI", "title": "Schedule Set Members URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "OwnerSubscriberObjectId": { "minItems": 0, "title": "Owner Subscriber Object Id", "type": "string", "description": " The owner of this schedule set. If the owner is a subscriber, the unique identifier of the Subscriber object to which this schedule set belongs. Otherwise, this attribute is set to NULL.", "name": "OwnerSubscriberObjectId" }, "OwnerPersonalRuleSetObjectId": { "minItems": 0, "title": "Owner Personal Rule Set Object Id", "type": "string", "description": " The owner of this schedule set. If the owner is a personal rule set, the unique identifier of the PersonalRuleSet to which this schedule set belongs. Otherwise, this attribute is set to NULL.", "name": "OwnerPersonalRuleSetObjectId" }, "Undeletable": { "minItems": 0, "title": "Undeletable", "type": "boolean", "description": " A flag indicating whether this schedule set can be deleted via an administrative application such as Cisco Unity Connection Administration. It is used to prevent deletion of factory defaults.", "name": "Undeletable" } }, "title": "Set" }, "DisplayName": { "minItems": 0, "title": "Display Name", "type": "string", "description": " The preferred text name of this schedule to be used when displaying entries in the administrative console and Cisco Personal Assistant.", "name": "DisplayName" }, "OwnerSubscriberObjectId": { "minItems": 0, "title": "Owner Subscriber Object Id", "type": "string", "description": " The owner of this schedule. If the owner is a subscriber, the unique identifier of the Subscriber object to which this schedule belongs. Otherwise, this attribute is set to NULL.", "name": "OwnerSubscriberObjectId" }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a Schedule object. - template parameter [1]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "Undeletable": { "minItems": 0, "title": "Undeletable", "type": "boolean", "description": " A flag indicating whether this schedule can be deleted via an administrative application such as Cisco Unity Connection Administration. It is used to prevent deletion of factory defaults.", "name": "Undeletable" }, "OwnerLocationObjectId": { "minItems": 0, "title": "Owner Location Object Id", "type": "string", "description": " The owner of this schedule. If the owner is a LocationVMS, the unique identifier of the LocationVMS object to which this schedule belongs. Commonly referred to as a \"system\" schedule. Otherwise, this attribute is set to NULL.", "name": "OwnerLocationObjectId" }, "Detail": { "items": { "type": "object", "properties": { "StartDate": { "minItems": 0, "title": "Start Date", "type": "string", "description": " The date when this schedule detail becomes active. A value of NULL means the schedule is active immediately.", "name": "StartDate" }, "IsActiveSaturday": { "minItems": 0, "title": "Is Active Saturday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Saturday.", "name": "IsActiveSaturday" }, "EndDate": { "minItems": 0, "title": "End Date", "type": "string", "description": " The date when this schedule detail ends. A value of NULL indicates the scheule is active indefinitely.", "name": "EndDate" }, "ScheduleObjectId": { "target_attr": "ObjectId", "description": " The unique identifier of the parent Schedule object to which this schedule detail row belongs. - template parameter [1]", "format": "uri", "minItems": 0, "required": true, "name": "ScheduleObjectId", "target_title": "DisplayName", "target_model_type": "device/cuc/Schedule", "title": "Schedule", "choices": [], "type": "string", "target": "/api/device/cuc/Schedule/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a ScehduelDetail object. - template parameter [2]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "IsActiveMonday": { "minItems": 0, "title": "Is Active Monday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Monday.", "name": "IsActiveMonday" }, "IsActiveWednesday": { "minItems": 0, "title": "Is Active Wednesday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Wednesday.", "name": "IsActiveWednesday" }, "ScheduleURI": { "name": "ScheduleURI", "title": "Schedule URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "URI": { "name": "URI", "title": "URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "EndOfDay": { "title": "End Of Day", "type": "boolean", "description": "Check this check box to specify that the schedule becomes inactive at midnight (the end of the day). \n", "name": "EndOfDay" }, "StartTime": { "minItems": 0, "title": "Start Time", "type": "integer", "description": " The start time (in minutes) for the active day or days. The start time is stored as the number of minutes from midnight. So a value of 480 would mean 8:00 AM and 1020 would mean 5:00 PM. In addition, a value of NULL for the start time indicates 12:00 AM.", "name": "StartTime" }, "IsActiveTuesday": { "minItems": 0, "title": "Is Active Tuesday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Tuesday.", "name": "IsActiveTuesday" }, "IsActiveFriday": { "minItems": 0, "title": "Is Active Friday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Friday.", "name": "IsActiveFriday" }, "IsActiveSunday": { "minItems": 0, "title": "Is Active Sunday", "type": "boolean", "description": " A flag indicating whether this schedule is active on Sunday.", "name": "IsActiveSunday" }, "IsActiveThursday": { "minItems": 0, "title": "Is Active Thursday", "type": "boolean", "description": " A flag indicating whether this schedule is active on this Thursday.", "name": "IsActiveThursday" }, "EndTime": { "minItems": 0, "title": "End Time", "type": "integer", "description": " The end time (in minutes) for the active day or days. The end time is stored as the number of minutes from midnight. So a value of 480 would mean 8:00 AM and 1020 would mean 5:00 PM. In addition, a value of NULL means \"till the end of the day\" (e.g. 11:59:59 PM in Linux land).", "name": "EndTime" }, "Subject": { "minItems": 0, "title": "Subject", "type": "string", "description": " The subject matter or description for this schedule detail row. ", "name": "Subject" } } }, "type": "array", "title": "Detail" }, "OwnerLocationURI": { "name": "OwnerLocationURI", "title": "Owner Location URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "URI": { "name": "URI", "title": "URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ScheduleDetailsURI": { "name": "ScheduleDetailsURI", "title": "Schedule Details URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "OwnerUserURI": { "name": "OwnerUserURI", "title": "Owner User URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "OwnerPersonalRuleSetObjectId": { "minItems": 0, "title": "Owner Personal Rule Set Object Id", "type": "string", "description": " The owner of this schedule. If the owner is a personal rule set, the unique identifier of the PersonalRuleSet to which this schedule belongs. Otherwise, this attribute is set to NULL.", "name": "OwnerPersonalRuleSetObjectId" }, "TenantObjectId": { "minItems": 0, "title": "Tenant Object Id", "type": "string", "description": " Unique ObjectId of the tbl_Tenant", "name": "TenantObjectId" }, "EndDate": { "minItems": 0, "title": "End Date", "type": "string", "description": " The date and time when schedule ends, or NULL if effective indefinitely.", "name": "EndDate" }, "IsHoliday": { "minItems": 0, "title": "Is Holiday", "type": "boolean", "description": " A flag indicating whether this schedule represents a holiday.", "name": "IsHoliday" }, "HF": { "type": "object", "properties": { "holiday_schedule": { "type": "string", "description": "Helper field for dropdown of available Holiday schedules for user to select from", "title": "Uses Holiday Schedule" }, "hierarchy_type": { "type": "string", "description": "Hidden (internal-only) helper field to store hierarchy node type (e.g. 'Site' or 'Customer')", "title": "Hierarchy Type" }, "cuc_info": { "type": "string", "description": "Informative (non-input) field. Indicates the target CUCx host/IP, which is automatically derived from the input NDL.", "title": "Cisco Unity Connection" }, "target_ndl": { "type": "string", "description": "Mandatory input-field for the Add use-case (if hierarchy is at Site-node, however, this value is derived automatically). The workflow (and GUIRules) will target the UC devices that is linked to this Network Device List (NDL). In the Mod use-case, this should also be derived automatically and can thus be omitted from Updates.", "title": "Network Device List" } }, "title": "Hf" } }, "schema_version": "1.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/CucScheduleREL/add/ |
|
The GUI Add form of relation/CucScheduleREL as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Create | POST | /api/relation/CucScheduleREL/ | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/relation/CucScheduleREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/CucScheduleREL/[pkid1]", "/api/relation/CucScheduleREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/CucScheduleREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/relation/CucScheduleREL/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/relation/CucScheduleREL/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/relation/CucScheduleREL/[pkid1]", "/api/v0/relation/CucScheduleREL/[pkid2]",...]}} |
GET http://[host-proxy]/api/relation/CucScheduleREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=relation/CucScheduleREL |
|
{"hrefs": ["/api/relation/CucScheduleREL/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=relation/CucScheduleREL |
|
{"hrefs": ["/api/relation/CucScheduleREL/[pkid1]", "/api/relation/CucScheduleREL/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/CucScheduleREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/CucScheduleREL/export/ |
|
{ "hrefs":["/api/relation/CucScheduleREL/[pkid1]", "/api/relation/CucScheduleREL/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of relation/CucScheduleREL and the JSON format can be used to import instances of relation/CucScheduleREL.
GET http://[host-proxy]/api/relation/CucScheduleREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/CucScheduleREL | POST | /api/relation/CucScheduleREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/relation/CucScheduleREL/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/relation/CucScheduleREL/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/relation/CucScheduleREL/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/CucScheduleREL/ |
|
The relation/CucScheduleREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/CucScheduleREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "move", "list", "update", "remove", "bulk_update", "add", "tag", "export", "migration", "bulk_update_form", "tag_version" ], "pagination": { "direction": "asc", "order_by": "DisplayName", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/CucScheduleREL/?skip=0&limit=3&order_by=DisplayName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 89 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "1.1", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/CucScheduleREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/CucScheduleREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/CucScheduleREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/relation/CucScheduleREL/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=relation/CucScheduleREL", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/CucScheduleREL/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/relation/CucScheduleREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/relation/CucScheduleREL/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/relation/CucScheduleREL/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/relation/CucScheduleREL/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/CucScheduleREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/CucScheduleREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/CucScheduleREL", "model_specific_actions": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "move", "list", "update", "remove", "add", "tag", "export", "migration", "bulk_update_form", "tag_version" ], "summary_attrs": [ { "name": "DisplayName", "title": "Schedule Display Name" }, { "name": "StartDate", "title": "Start Date" }, { "name": "EndDate", "title": "End Date" }, { "name": "Undeletable", "title": "System-Reserved" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "6305809dc46e74b468829467", "meta": { "tags": [], "cached": true, "title": "2019Holidays", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "63054d4bc46e74b4687bf9f2", "href": "/api/v0/data/UnityConnection/63054d4bc46e74b4687bf9f2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305809dc46e74b468829467", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/" } ], "parent": [ { "pkid": "6305501dc46e74b4687ccdf9", "href": "/api/data/HierarchyNode/6305501dc46e74b4687ccdf9" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/", "method": "DELETE", "title": "Delete" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/6305809dc46e74b468829467/?model_type=relation/CucScheduleREL", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/help", "method": "GET", "title": "Help" } }, { "AddDetail": { "title": "Add Detail", "support_async": true, "submit": "payload", "class": "add", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+AddDetail/", "method": "POST", "schema": "Detail" } }, { "DelDetail": { "title": "Del Detail", "support_async": true, "submit": "payload", "class": "delete", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+DelDetail/", "method": "POST", "schema": "Detail" } } ], "model_type": "relation/CucScheduleREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "6305501dc46e74b4687ccdf9", "6305809dc46e74b468829467" ], "summary_attrs": [ { "name": "DisplayName", "title": "Schedule Display Name" }, { "name": "StartDate", "title": "Start Date" }, { "name": "EndDate", "title": "End Date" }, { "name": "Undeletable", "title": "System-Reserved" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "DisplayName": "2019Holidays", "ObjectId": "e8816519-628b-4ae1-9f2f-91bc7cb7fade", "OwnerLocationObjectId": "2f981bfa-ed9f-4043-928d-a57c288c8abc", "URI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade", "OwnerLocationURI": "/vmrest/locations/connectionlocations/2f981bfa-ed9f-4043-928d-a57c288c8abc", "IsHoliday": true, "ScheduleDetailsURI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade/scheduledetails", "hierarchy_friendly_name": "LOC001 (Site)", "summary_device": "Dedicated CUCxn, 192.168.100.20, 8443, hcs.CS-P.CS-NB.AAAGlobal", "Undeletable": false, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC001" } }, { "pkid": "63054f4ac46e74b4687c9666", "meta": { "tags": [], "cached": true, "title": "All Hours", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "63054cbbc46e74b4687bdb03", "href": "/api/v0/data/UnityConnection/63054cbbc46e74b4687bdb03" } ], "self": [ { "pkid": "63054f4ac46e74b4687c9666", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/" } ], "parent": [ { "pkid": "63054bfdc46e74b4687bb868", "href": "/api/data/HierarchyNode/63054bfdc46e74b4687bb868" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/63054f4ac46e74b4687c9666/?model_type=relation/CucScheduleREL", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/help", "title": "Help", "class": "help", "method": "GET" } }, { "AddDetail": { "title": "Add Detail", "support_async": true, "submit": "payload", "class": "add", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/+AddDetail/", "method": "POST", "schema": "Detail" } }, { "DelDetail": { "title": "Del Detail", "support_async": true, "submit": "payload", "class": "delete", "href": "/api/relation/CucScheduleREL/63054f4ac46e74b4687c9666/+DelDetail/", "method": "POST", "schema": "Detail" } } ], "model_type": "relation/CucScheduleREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054f4ac46e74b4687c9666" ], "summary_attrs": [ { "name": "DisplayName", "title": "Schedule Display Name" }, { "name": "StartDate", "title": "Start Date" }, { "name": "EndDate", "title": "End Date" }, { "name": "Undeletable", "title": "System-Reserved" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "DisplayName": "All Hours", "ObjectId": "768f15b6-92de-44bf-b3d7-fa7a924ddd96", "hierarchy": "63054bfdc46e74b4687bb868", "OwnerLocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "URI": "/vmrest/schedules/768f15b6-92de-44bf-b3d7-fa7a924ddd96", "OwnerLocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "IsHoliday": false, "ScheduleDetailsURI": "/vmrest/schedules/768f15b6-92de-44bf-b3d7-fa7a924ddd96/scheduledetails", "hierarchy_friendly_name": "CS-P (Provider)", "summary_device": "Partitioned CUCxn, 192.168.100.22, 8443, hcs.CS-P", "Undeletable": true, "hierarchy_path": "sys.hcs.CS-P" } }, { "pkid": "630550f1c46e74b4687cf883", "meta": { "tags": [], "cached": true, "title": "All Hours", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "63054d4bc46e74b4687bf9f2", "href": "/api/v0/data/UnityConnection/63054d4bc46e74b4687bf9f2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "630550f1c46e74b4687cf883", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/" } ], "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/", "class": "delete", "title": "Delete" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/630550f1c46e74b4687cf883/?model_type=relation/CucScheduleREL", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/help", "class": "help", "title": "Help" } }, { "AddDetail": { "title": "Add Detail", "support_async": true, "submit": "payload", "method": "POST", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/+AddDetail/", "class": "add", "schema": "Detail" } }, { "DelDetail": { "title": "Del Detail", "support_async": true, "submit": "payload", "method": "POST", "href": "/api/relation/CucScheduleREL/630550f1c46e74b4687cf883/+DelDetail/", "class": "delete", "schema": "Detail" } } ], "model_type": "relation/CucScheduleREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "630550f1c46e74b4687cf883" ], "summary_attrs": [ { "name": "DisplayName", "title": "Schedule Display Name" }, { "name": "StartDate", "title": "Start Date" }, { "name": "EndDate", "title": "End Date" }, { "name": "Undeletable", "title": "System-Reserved" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "DisplayName": "All Hours", "ObjectId": "2d9d26c1-66a3-4d71-920d-1011995fa1f7", "OwnerLocationObjectId": "2f981bfa-ed9f-4043-928d-a57c288c8abc", "URI": "/vmrest/schedules/2d9d26c1-66a3-4d71-920d-1011995fa1f7", "OwnerLocationURI": "/vmrest/locations/connectionlocations/2f981bfa-ed9f-4043-928d-a57c288c8abc", "IsHoliday": false, "ScheduleDetailsURI": "/vmrest/schedules/2d9d26c1-66a3-4d71-920d-1011995fa1f7/scheduledetails", "hierarchy_friendly_name": "AAAGlobal (Customer)", "summary_device": "Dedicated CUCxn, 192.168.100.20, 8443, hcs.CS-P.CS-NB.AAAGlobal", "Undeletable": true, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } } ] }
(Show the first instance)
{ "pkid": "6305809dc46e74b468829467", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "2019Holidays", "business_key": {}, "schema_version": "1.1", "references": { "device": [ { "pkid": "63054d4bc46e74b4687bf9f2", "href": "/api/v0/data/UnityConnection/63054d4bc46e74b4687bf9f2" } ], "self": [ { "pkid": "6305809dc46e74b468829467", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/" } ], "children": [], "parent": [ { "pkid": "6305501dc46e74b4687ccdf9", "href": "/api/data/HierarchyNode/6305501dc46e74b4687ccdf9" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/6305809dc46e74b468829467/?hierarchy=[hierarchy]&model_type=relation/CucScheduleREL", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "AddDetail": { "title": "Add Detail", "support_async": true, "submit": "payload", "class": "add", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+AddDetail/?hierarchy=[hierarchy]", "method": "POST", "schema": "Detail" } }, { "DelDetail": { "title": "Del Detail", "support_async": true, "submit": "payload", "class": "delete", "href": "/api/relation/CucScheduleREL/6305809dc46e74b468829467/+DelDetail/?hierarchy=[hierarchy]", "method": "POST", "schema": "Detail" } } ], "model_type": "relation/CucScheduleREL", "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "name": "StartDate", "title": "Start Date" }, { "name": "EndDate", "title": "End Date" }, { "name": "Undeletable", "title": "Undeletable" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "DisplayName": "2019Holidays", "ObjectId": "e8816519-628b-4ae1-9f2f-91bc7cb7fade", "Detail": [ { "StartDate": "2019-01-01 00:00:00.0", "IsActiveSaturday": false, "IsActiveSunday": false, "ScheduleObjectId": "e8816519-628b-4ae1-9f2f-91bc7cb7fade", "ObjectId": "88acf7a8-470f-47e4-a9d8-533b9d2cf1fc", "IsActiveMonday": false, "IsActiveWednesday": false, "ScheduleURI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade", "URI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade/scheduledetails/88acf7a8-470f-47e4-a9d8-533b9d2cf1fc", "EndOfDay": true, "IsActiveThursday": false, "IsActiveTuesday": false, "IsActiveFriday": false, "StartTime": 0, "EndDate": "2019-01-01 00:00:00.0", "Subject": "NewYear" }, { "StartDate": "2019-04-19 00:00:00.0", "IsActiveSaturday": false, "IsActiveSunday": false, "ScheduleObjectId": "e8816519-628b-4ae1-9f2f-91bc7cb7fade", "ObjectId": "ea9affd2-6c0b-448e-b951-14cbdcccae82", "IsActiveMonday": false, "IsActiveWednesday": false, "ScheduleURI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade", "URI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade/scheduledetails/ea9affd2-6c0b-448e-b951-14cbdcccae82", "EndOfDay": true, "IsActiveThursday": false, "IsActiveTuesday": false, "IsActiveFriday": false, "StartTime": 0, "EndDate": "2019-04-22 00:00:00.0", "Subject": "Easter" } ], "OwnerLocationObjectId": "2f981bfa-ed9f-4043-928d-a57c288c8abc", "URI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade", "OwnerLocationURI": "/vmrest/locations/connectionlocations/2f981bfa-ed9f-4043-928d-a57c288c8abc", "IsHoliday": true, "ScheduleDetailsURI": "/vmrest/schedules/e8816519-628b-4ae1-9f2f-91bc7cb7fade/scheduledetails", "Undeletable": false } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/CucScheduleREL. | GET | /api/relation/CucScheduleREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/CucScheduleREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/CucScheduleREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/CucScheduleREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=relation/CucScheduleREL | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/CucScheduleREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/CucScheduleREL/[pkid]/export/ |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of relation/CucScheduleREL and the JSON format can be used to import instances of relation/CucScheduleREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/relation/CucScheduleREL/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/CucScheduleREL/[pkid]/ | hierarchy=[hierarchy] | The relation/CucScheduleREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/CucScheduleREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/CucScheduleREL. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Add Detail | POST | /api/relation/CucScheduleREL/[pkid]/+AddDetail/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Del Detail | POST | /api/relation/CucScheduleREL/[pkid]/+DelDetail/ | hierarchy=[hierarchy] | If payload required: |