[Index]
HcsMovePhoneCustomizationsDAT
Model ref.: data/HcsMovePhoneCustomizationsDAT
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": { "LinesIni": { "is_password": false, "title": "Lines, INI", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "LinesIni_modelType": { "is_password": false, "description": "Customization type that needs to be added to Subscriber Move", "title": "Customization Type", "required": false, "displayable": false, "choices": [ { "value": "DataModel", "title": "DataModel" }, { "value": "DomainModel", "title": "DomainModel" }, { "value": "Device", "title": "Device" }, { "value": "Relation", "title": "Relation" }, { "value": "ProvisioningWorkflow", "title": "ProvisioningWorkflow" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_knownModel": { "is_password": false, "description": "Existing context model that new model will be linked to", "title": "Context Model", "required": false, "displayable": false, "choices": [ { "value": "relation/LineRelation", "title": "relation/LineRelation" }, { "value": "data/InternalNumberInventory", "title": "data/InternalNumberInventory" }, { "value": "device/cucm/Line", "title": "device/cucm/Line" }, { "value": "device/cucm/Phone", "title": "device/cucm/Phone" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_info": { "is_password": false, "description": "An extra note to remind admins not to use RELs/PWFs for CFT Updates.", "title": "Info", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_knownModelLinkField": { "is_password": false, "description": "Field of existing context model that will be linked to field above", "title": "Context Field", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_modelWhereField": { "is_password": false, "description": "Field that will be linked to existing context models", "title": "Customization Field", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_cft": { "is_password": false, "description": "Config Template that should be applied to the chosen model", "title": "Configuration Template", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_modelName": { "is_password": false, "description": "Customization name that needs to be added to Subscriber Move", "title": "Customization Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_operation": { "is_password": false, "description": "Operation type - Move/Execute Before Group, Move/Execute After Group, Update After Move", "title": "Customization Operation", "required": false, "displayable": false, "choices": [ { "value": "Move/Execute Before Group", "title": "Move/Execute Before Group" }, { "value": "Move/Execute After Group", "title": "Move/Execute After Group" }, { "value": "Update After Move", "title": "Update After Move" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "LinesIni_modelTypeInternal": { "is_password": false, "description": "Customization type that needs to be added to Subscriber Move", "title": "Internal Customization Type", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "Phones": { "is_password": false, "title": "Phones", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "Phones_knownModelLinkField": { "is_password": false, "description": "Field of existing context model that will be linked to field above", "title": "Context Field", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_modelType": { "is_password": false, "description": "Customization type that needs to be added to Subscriber Move", "title": "Customization Type", "required": false, "displayable": false, "choices": [ { "value": "DataModel", "title": "DataModel" }, { "value": "DomainModel", "title": "DomainModel" }, { "value": "Device", "title": "Device" }, { "value": "Relation", "title": "Relation" }, { "value": "ProvisioningWorkflow", "title": "ProvisioningWorkflow" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_cft": { "is_password": false, "description": "Config Template that should be applied to the chosen model", "title": "Configuration Template", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_modelTypeInternal": { "is_password": false, "description": "Customization type that needs to be added to Subscriber Move", "title": "Internal Customization Type", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_knownModel": { "is_password": false, "description": "Existing context model that new model will be linked to", "title": "Context Model", "required": false, "displayable": false, "choices": [ { "value": "relation/LineRelation", "title": "relation/LineRelation" }, { "value": "data/InternalNumberInventory", "title": "data/InternalNumberInventory" }, { "value": "device/cucm/Line", "title": "device/cucm/Line" }, { "value": "device/cucm/Phone", "title": "device/cucm/Phone" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_modelName": { "is_password": false, "description": "Customization name that needs to be added to Subscriber Move", "title": "Customization Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_operation": { "is_password": false, "description": "Operation type - Move/Execute Before Group, Move/Execute After Group, Update After Move", "title": "Customization Operation", "required": false, "displayable": false, "choices": [ { "value": "Move/Execute Before Group", "title": "Move/Execute Before Group" }, { "value": "Move/Execute After Group", "title": "Move/Execute After Group" }, { "value": "Update After Move", "title": "Update After Move" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_info": { "is_password": false, "description": "An extra note to remind admins not to use RELs/PWFs for CFT Updates.", "title": "Info", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "Phones_modelWhereField": { "is_password": false, "description": "Field that will be linked to existing context models", "title": "Customization Field", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "name": { "is_password": false, "description": "The name of the Move Customization Models", "title": "Name", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "description": "The description of the Move Customization Models", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } }, "schema_version": "1.2" }
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/data/HcsMovePhoneCustomizationsDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsMovePhoneCustomizationsDAT/[pkid1]", "/api/data/HcsMovePhoneCustomizationsDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsMovePhoneCustomizationsDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HcsMovePhoneCustomizationsDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HcsMovePhoneCustomizationsDAT/export/ |
|
{ "hrefs":["/api/data/HcsMovePhoneCustomizationsDAT/[pkid1]", "/api/data/HcsMovePhoneCustomizationsDAT/[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 data/HcsMovePhoneCustomizationsDAT and the JSON format can be used to import instances of data/HcsMovePhoneCustomizationsDAT.
GET http://[host-proxy]/api/data/HcsMovePhoneCustomizationsDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HcsMovePhoneCustomizationsDAT | POST | /api/data/HcsMovePhoneCustomizationsDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HcsMovePhoneCustomizationsDAT/ |
|
The data/HcsMovePhoneCustomizationsDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsMovePhoneCustomizationsDAT instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/HcsMovePhoneCustomizationsDAT/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 1 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "1.2", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsMovePhoneCustomizationsDAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsMovePhoneCustomizationsDAT/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/data/HcsMovePhoneCustomizationsDAT/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/HcsMovePhoneCustomizationsDAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsMovePhoneCustomizationsDAT/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsMovePhoneCustomizationsDAT", "model_specific_actions": [ "list", "get", "update", "remove", "import", "help", "clone", "export", "export_bulkload_template" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5e839a33ce894e0015b9ae0a", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": {}, "schema_version": "1.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e839a33ce894e0015b9ae0a", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/" } ], "parent": [ { "pkid": "5e839364ce894e0015b96604", "href": "/api/data/HierarchyNode/5e839364ce894e0015b96604" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/import/", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/help", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsMovePhoneCustomizationsDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e839a33ce894e0015b9ae0a" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "description": "Default Customizations that will be applied when a Phone Move is executed", "pkid": "5e839a33ce894e0015b9ae0b", "Phones": [ { "Phones_knownModelLinkField": "name", "Phones_modelType": "Device", "Phones_cft": "HcsUpdateSubscriberPhoneWithNewSiteDefaultsCFT", "Phones_knownModel": "device/cucm/Phone", "Phones_modelName": "device/cucm/Phone", "Phones_operation": "Update After Move", "Phones_modelWhereField": "name" } ], "name": "Default Move Phone Customizations", "LinesIni": [ { "LinesIni_modelType": "Device", "LinesIni_knownModel": "device/cucm/Line", "LinesIni_knownModelLinkField": "pattern", "LinesIni_modelWhereField": "pattern", "LinesIni_cft": "HcsUpdateLinesWithSiteDefaultDocCFT", "LinesIni_modelName": "device/cucm/Line", "LinesIni_operation": "Update After Move" } ], "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" } } ] }
(Show the first instance)
{ "pkid": "5e839a33ce894e0015b9ae0a", "meta": { "tags": [], "cached": false, "title": "title format", "business_key": {}, "schema_version": "1.2", "references": { "parent": [ { "pkid": "5e839364ce894e0015b96604", "href": "/api/data/HierarchyNode/5e839364ce894e0015b96604" } ], "self": [ { "pkid": "5e839a33ce894e0015b9ae0a", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsMovePhoneCustomizationsDAT/5e839a33ce894e0015b9ae0a/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsMovePhoneCustomizationsDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e839a33ce894e0015b9ae0a" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5e839a33ce894e0015b9ae0b", "LinesIni": [ { "LinesIni_modelType": "Device", "LinesIni_knownModel": "device/cucm/Line", "LinesIni_knownModelLinkField": "pattern", "LinesIni_modelWhereField": "pattern", "LinesIni_cft": "HcsUpdateLinesWithSiteDefaultDocCFT", "LinesIni_modelName": "device/cucm/Line", "LinesIni_operation": "Update After Move" } ], "description": "Default Customizations that will be applied when a Phone Move is executed", "name": "Default Move Phone Customizations", "Phones": [ { "Phones_knownModelLinkField": "name", "Phones_modelType": "Device", "Phones_cft": "HcsUpdateSubscriberPhoneWithNewSiteDefaultsCFT", "Phones_knownModel": "device/cucm/Phone", "Phones_modelName": "device/cucm/Phone", "Phones_operation": "Update After Move", "Phones_modelWhereField": "name" } ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HcsMovePhoneCustomizationsDAT. | GET | /api/data/HcsMovePhoneCustomizationsDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HcsMovePhoneCustomizationsDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/HcsMovePhoneCustomizationsDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/import/ | 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 data/HcsMovePhoneCustomizationsDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HcsMovePhoneCustomizationsDAT/[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 data/HcsMovePhoneCustomizationsDAT and the JSON format can be used to import instances of data/HcsMovePhoneCustomizationsDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/ | hierarchy=[hierarchy] | The data/HcsMovePhoneCustomizationsDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HcsMovePhoneCustomizationsDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HcsMovePhoneCustomizationsDAT. |