[Index]
Model ref.: view/GS_IOSGateway_QuickAdd_View
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": { "iosName": { "required": true, "type": "string", "title": "IOS Device Name" }, "iosDescription": { "type": "string", "title": "IOS Device Description" }, "iosPrimeCollab": { "type": "string", "title": "Prime Collaboration" }, "networkAddresses": { "items": { "type": "object", "properties": { "addressSpace": { "choices": [ { "value": "APPLICATION_SPACE", "title": "APPLICATION_SPACE" }, { "value": "SERVICE_PROVIDER_SPACE", "title": "SERVICE_PROVIDER_SPACE" }, { "value": "CUSTOMER_SPACE", "title": "CUSTOMER_SPACE" } ], "required": true, "type": "string", "title": "Address Space" }, "iPAddrV4": { "format": "ip-address", "required": true, "type": "string", "title": "IPv4 Address" }, "description": { "type": "string", "title": "Description" }, "domain": { "type": "string", "title": "Domain" }, "hostname": { "type": "string", "title": "Hostname" } } }, "type": "array", "title": "Network Addresses" }, "credentials": { "items": { "type": "object", "properties": { "credentialType": { "choices": [ { "value": "SNMP_V2", "title": "SNMP_V2" }, { "value": "SNMP_V3", "title": "SNMP_V3" }, { "value": "CLI", "title": "CLI" } ], "required": true, "type": "string", "title": "Credential Type" }, "userid": { "required": true, "type": "string", "title": "UserId" }, "password": { "required": true, "type": "string", "is_password": true, "title": "Password" }, "accessType": { "default": "RO", "choices": [ { "value": "RO", "title": "RO" }, { "value": "RW", "title": "RW" } ], "type": "string", "title": "Access Type" }, "description": { "type": "string", "title": "Description" } } }, "type": "array", "title": "Credentials" }, "sipTrunkTemplate": { "required": true, "type": "string", "title": "SIP trunk template" }, "sipGatewayName": { "required": true, "type": "string", "title": "SIP Gateway name" }, "sipGatewayDescription": { "type": "string", "title": "SIP Gateway Description" }, "country": { "required": false, "type": "string", "title": "Country" }, "runOnEveryNode": { "default": "true", "type": "boolean", "title": "Run On Every Node" }, "enableCommandBuilder": { "default": "true", "type": "boolean", "title": "Enable Command Builder" }, "overrideVoiceTranslationLimit": { "type": "boolean", "title": "Override Voice Translation Limit" }, "ports": { "items": { "type": "object", "properties": { "portNumber": { "required": true, "type": "string", "description": "e.g. 1/0/0", "title": "Port Number" }, "description": { "type": "string", "title": "Description" }, "portTemplate": { "required": true, "type": "string", "title": "Port Template" } } }, "type": "array", "title": "T1/E1 Ports" } }, "schema_version": "1.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/view/GS_IOSGateway_QuickAdd_View/add/ |
|
The GUI Add form of view/GS_IOSGateway_QuickAdd_View 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/view/GS_IOSGateway_QuickAdd_View | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]shows the View resource has no instance pkid, because a view model stores no instances.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for view/GS_IOSGateway_QuickAdd_View | POST | /api/view/GS_IOSGateway_QuickAdd_View/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/view/GS_IOSGateway_QuickAdd_View/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/view/GS_IOSGateway_QuickAdd_View/ |
|
The view/GS_IOSGateway_QuickAdd_View schema and all instances as JSON. |
(The list will return 0 to 3 view/GS_IOSGateway_QuickAdd_View instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": null, "direction": "asc", "current": "/api/view/GS_IOSGateway_QuickAdd_View/?skip=0&limit=3&order_by=None&direction=asc&traversal=down" }, "operations": [ "add", "help", "configuration_template", "field_display_policy", "export_bulkload_template", "transform" ], "meta": { "model_type": "view/GS_IOSGateway_QuickAdd_View", "summary_attrs": [ { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add" ], "schema_version": "1.1", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/view/GS_IOSGateway_QuickAdd_View/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/view/GS_IOSGateway_QuickAdd_View/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/view/GS_IOSGateway_QuickAdd_View/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/view/GS_IOSGateway_QuickAdd_View/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/view/GS_IOSGateway_QuickAdd_View/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for view/GS_IOSGateway_QuickAdd_View. | GET | /api/view/GS_IOSGateway_QuickAdd_View/help | hierarchy=[hierarchy] | On-line help of Model ref.: view/GS_IOSGateway_QuickAdd_View as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/view/GS_IOSGateway_QuickAdd_View/[pkid] | hierarchy=[hierarchy] | The view/GS_IOSGateway_QuickAdd_View instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/view/GS_IOSGateway_QuickAdd_View/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for view/GS_IOSGateway_QuickAdd_View. |