[Index]
Model ref.: view/GS_AGW_AddPort_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": { "GWDomain": { "target": "/api/device/cucm/Gateway/choices/?field=domainName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": true, "target_attr": "domainName", "title": "Gateway Domain", "type": "string", "target_model_type": "device/cucm/Gateway", "choices": [] }, "description": { "type": "string", "description": "Analog Gateway description.", "title": "Description" }, "GWProtocol": { "type": "string", "title": "Gateway Protocol" }, "GWProduct": { "type": "string", "title": "Gateway Product" }, "slot": { "type": "string", "description": "Chassis slot number or module interface slot number.", "title": "Slot" }, "subunit": { "type": "string", "description": "Gateway subunit module.", "title": "SubUnit" }, "maxPorts": { "type": "string", "description": "Max number of ports per subunit.", "title": "Max ports per subunit" }, "SCCPTemplateName": { "type": "string", "description": "Note: When creating a new custom CFT for this dropdown, feature_usage array needs to contain - 'AddPortToAnalogGateway'. For example - \"feature_usage\": [\"AddPortToAnalogGateway\"].", "title": "SCCP Template Name" }, "MGCPTemplateName": { "type": "string", "description": "Note: When creating a new custom CFT for this dropdown, feature_usage array needs to contain - 'AddPortToAnalogGateway'. For example - \"feature_usage\": [\"AddPortToAnalogGateway\"].", "title": "MGCP Template Name" }, "userid": { "type": "string", "description": "From the drop-down list box, choose the user ID of the assigned phone user. The user ID gets recorded in the call detail record (CDR) for all calls made from this device. Assigning a user ID to the device also moves the device from \"Unassigned Devices\" to \"Users\" in the License Usage Report.", "title": "Owner User ID" }, "line_filter": { "description": "INI Inventory filter", "title": "Inventory Filter", "default": "lines_unused_only_local", "choices": [ { "value": "lines_unused_only_local", "title": "Show Unused Numbers (Site only)" }, { "value": "default", "title": "Default" }, { "value": "lines_userid_used", "title": "Show Numbers belonging to this Subscriber" }, { "value": "lines_e164_unused_local", "title": "Show Unused Numbers with Associated E164's (Site Only)" }, { "value": "lines_e164_unused", "title": "Show Unused Numbers with Associated E164's" }, { "value": "lines_used_only_local", "title": "Show Used Numbers (Site Only)" }, { "value": "lines_used_only", "title": "Show Used Numbers" } ], "type": "string" }, "dn": { "type": "string", "description": "DN to use for new line - auto populates with next available line at the site", "title": "Directory Number" }, "css": { "required": true, "type": "string", "description": "Line CSS. Used only when creating new lines", "title": "Calling Search Space" }, "dnToTranslate": { "type": "string", "description": "dn to use for E164 lookup", "title": "dnToTranslate" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "customString6": { "type": "string", "description": "Custom String", "title": "Custom String 6" }, "customString7": { "type": "string", "description": "Custom String", "title": "Custom String 7" }, "customString8": { "type": "string", "description": "Custom String", "title": "Custom String 8" }, "customString9": { "type": "string", "description": "Custom String", "title": "Custom String 9" }, "customString10": { "type": "string", "description": "Custom String", "title": "Custom String 10" }, "customBoolean1": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "customBoolean2": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "customBoolean3": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "customBoolean4": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean5": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean6": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean7": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean8": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "customBoolean9": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean10": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 10" } }, "schema_version": "1.3" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/view/GS_AGW_AddPort_VIEW/add/ |
|
The GUI Add form of view/GS_AGW_AddPort_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_AGW_AddPort_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_AGW_AddPort_VIEW | POST | /api/view/GS_AGW_AddPort_VIEW/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag | PATCH | /api/view/GS_AGW_AddPort_VIEW/+tag/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag Version | PATCH | /api/view/GS_AGW_AddPort_VIEW/+tag_version/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/view/GS_AGW_AddPort_VIEW/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/view/GS_AGW_AddPort_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_AGW_AddPort_VIEW/ |
|
The view/GS_AGW_AddPort_VIEW schema and all instances as JSON. |
(The list will return 0 to 3 view/GS_AGW_AddPort_VIEW instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": null, "direction": "asc", "current": "/api/view/GS_AGW_AddPort_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_AGW_AddPort_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.3", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/view/GS_AGW_AddPort_VIEW/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/view/GS_AGW_AddPort_VIEW/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/view/GS_AGW_AddPort_VIEW/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/view/GS_AGW_AddPort_VIEW/+tag_version/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/view/GS_AGW_AddPort_VIEW/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/view/GS_AGW_AddPort_VIEW/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/view/GS_AGW_AddPort_VIEW/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/view/GS_AGW_AddPort_VIEW/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "transform": { "method": "GET", "class": "transform", "href": "/api/view/GS_AGW_AddPort_VIEW/transform/?hierarchy=[hierarchy]", "support_async": false, "title": "Transform Template" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for view/GS_AGW_AddPort_VIEW. | GET | /api/view/GS_AGW_AddPort_VIEW/help | hierarchy=[hierarchy] | On-line help of Model ref.: view/GS_AGW_AddPort_VIEW as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Transform Template | GET | /api/view/GS_AGW_AddPort_VIEW/transform/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/view/GS_AGW_AddPort_VIEW/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/view/GS_AGW_AddPort_VIEW/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/view/GS_AGW_AddPort_VIEW/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/view/GS_AGW_AddPort_VIEW/[pkid] | hierarchy=[hierarchy] | The view/GS_AGW_AddPort_VIEW instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/view/GS_AGW_AddPort_VIEW/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for view/GS_AGW_AddPort_VIEW. |