[Index]
Model ref.: device/msteamsonline/CsOnlinePstnGateway
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": { "GatewaySiteLbrEnabled": { "title": "Gateway Site LBR Enabled", "type": "boolean", "name": "GatewaySiteLbrEnabled", "description": "Used to enable this SBC to report assigned site location. Site location is used for Location Based Routing. When this parameter is turned on, the SBC will report the site name as defined by tenant administrator. On incoming call to a Teams user the value of the site assigned to the SBC is compared with the value of the site assigned to the user to make a routing decision. The parameter is mandatory for enabling Location Based Routing feature. The default value is False ($False)." }, "Description": { "type": [ "string", "null" ], "name": "Description", "title": "Description" }, "OutboundPstnNumberTranslationRules": { "items": { "target_title": "Identity", "target": "/api/device/msteamsonline/CsTeamsTranslationRule/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_attr": "Identity", "target_model_type": "device/msteamsonline/CsTeamsTranslationRule", "type": "string" }, "title": "Outbound PSTN Number Translation Rules", "type": [ "array", "null" ], "name": "OutboundPstnNumberTranslationRules", "description": "Assigns an ordered list of Teams translation rules, that apply to PSTN number on outbound direction." }, "FailoverTimeSeconds": { "title": "Failover Time Seconds", "type": "integer", "name": "FailoverTimeSeconds", "description": "When set to 10 (default value), outbound calls that are not answered by the gateway within 10 seconds are routed to the next available trunk; if there are no additional trunks, then the call is automatically dropped. In an organization with slow networks and slow gateway responses, that could potentially result in calls being dropped unnecessarily. The default value is 10." }, "BypassMode": { "choices": [ { "value": "None", "title": "None" }, { "value": "Always", "title": "Always" }, { "value": "OnlyForLocalUsers", "title": "OnlyForLocalUsers" } ], "title": "Bypass Mode", "type": [ "string", "null" ], "name": "BypassMode", "description": "Possible values are \"None\", \"Always\" and \"OnlyForLocalUsers\". By setting \"Always\" mode you indicate that your network is fully routable. If a user usually in site \"Seattle\", travels to site \"Tallinn\" and tries to use SBC located in Seattle we will try to deliver the traffic to Seattle assuming that there is connection between Tallinn and Seattle offices. With \"OnlyForLocaUsers\" you indicate that there is no direct connection between sites. In example above, the traffic will not be send directly from Tallinn to Seattle." }, "InboundTeamsNumberTranslationRules": { "items": { "target_title": "Identity", "target": "/api/device/msteamsonline/CsTeamsTranslationRule/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_attr": "Identity", "target_model_type": "device/msteamsonline/CsTeamsTranslationRule", "type": "string" }, "title": "Inbound Teams Number Translation Rules", "type": [ "array", "null" ], "name": "InboundTeamsNumberTranslationRules", "description": "This parameter assigns an ordered list of Teams translation rules, that apply to Teams numbers on inbound direction." }, "ForwardPai": { "title": "Forward PAI", "type": "boolean", "name": "ForwardPai", "description": "Indicates whether the P-Asserted-Identity (PAI) header will be forwarded along with the call. The PAI header provides a way to verify the identity of the caller. The default value is False ($False). Setting this parameter to $true will render the from header anonymous, in accordance of RFC5379 and RFC3325." }, "MediaBypass": { "title": "Media Bypass", "type": "boolean", "name": "MediaBypass", "description": "Parameter indicated of the SBC supports Media Bypass and the administrator wants to use it for this SBC." }, "SendSipOptions": { "title": "Send SIP Options", "type": "boolean", "name": "SendSipOptions", "description": "Defines if an SBC will or will not send the SIP options. If disabled, the SBC will be excluded from Monitoring and Alerting system. We highly recommend that you enable SIP options. Default value is True." }, "InboundPstnNumberTranslationRules": { "items": { "target_title": "Identity", "target": "/api/device/msteamsonline/CsTeamsTranslationRule/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_attr": "Identity", "target_model_type": "device/msteamsonline/CsTeamsTranslationRule", "type": "string" }, "title": "Inbound PSTN Number Translation Rules", "type": [ "array", "null" ], "name": "InboundPstnNumberTranslationRules", "description": "Creates an ordered list of Teams translation rules, that apply to PSTN number on inbound direction." }, "ForwardCallHistory": { "title": "Forward Call History", "type": "boolean", "name": "ForwardCallHistory", "description": "Indicates whether call history information will be forwarded through the trunk. If enabled, the Office 365 PSTN Proxy sends two headers: History-info and Referred-By. The default value is False ($False)." }, "GatewayLbrEnabledUserOverride": { "type": "boolean", "name": "GatewayLbrEnabledUserOverride", "title": "Gateway LBR Enabled User Override" }, "Enabled": { "title": "Enabled", "type": "boolean", "name": "Enabled", "description": "Used to enable this SBC for outbound calls. Can be used to temporarily remove the SBC from service while it is being updated or during maintenance. Note if the parameter is not set the SBC will be created as disabled (default value -Enabled $false)." }, "Fqdn": { "title": "FQDN", "type": "string", "name": "Fqdn", "description": "Fully qualified domain name" }, "SipSignalingPort": { "required": true, "title": "SIP Signaling Port", "type": "integer", "name": "SipSignalingPort", "description": "Listening port used for communicating with Direct Routing services by using the Transport Layer Security (TLS) protocol. The value must be between 1 and 65535." }, "GatewaySiteId": { "title": "Gateway Site ID", "type": "string", "name": "GatewaySiteId", "description": "PSTN Gateway Site ID." }, "PidfLoSupported": { "title": "PIDF-LO Supported", "type": "boolean", "name": "PidfLoSupported", "description": "Enables PIDF-LO support on the PSTN Gateway. If turned on the .xml body payload is sent to the SBC with the location details of the user." }, "FailoverResponseCodes": { "title": "Failover Response Codes", "type": "string", "name": "FailoverResponseCodes", "description": "Comma separated numbers between 400 and 599" }, "ProxySbc": { "type": [ "string", "null" ], "name": "ProxySbc", "title": "Proxy SBC" }, "MediaRelayRoutingLocationOverride": { "title": "Media Relay Routing Location Override", "type": [ "string", "null" ], "name": "MediaRelayRoutingLocationOverride", "description": "This parameter is reserved for use with managed carriers. Allows selecting path for media manually. Direct Routing assigns a datacenter for media path based on the public IP of the SBC. We always select closest to the SBC datacenter. However, in some cases a public IP from for example a US range can be assigned to an SBC located in Europe. In this case we will be using not optimal media path. This parameter allows manually set the preferred region for media traffic. We only recommend setting this parameter if the call logs clearly indicate that automatic assignment of the datacenter for media path does not assign the closest to the SBC datacenter" }, "OutboundTeamsNumberTranslationRules": { "items": { "target_title": "Identity", "target": "/api/device/msteamsonline/CsTeamsTranslationRule/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_attr": "Identity", "target_model_type": "device/msteamsonline/CsTeamsTranslationRule", "type": "string" }, "title": "Outbound Teams Number Translation Rules", "type": [ "array", "null" ], "name": "OutboundTeamsNumberTranslationRules", "description": "Assigns an ordered list of Teams translation rules, that apply to Teams numbers on outbound direction." }, "Identity": { "name": "Identity", "title": "Name", "required": true, "readonly": true, "type": "string", "description": "The parameter is mandatory when modifying an existing SBC." }, "MaxConcurrentSessions": { "title": "Max Concurrent Sessions", "type": [ "integer", "null" ], "name": "MaxConcurrentSessions", "description": "Used by the alerting system. When any value is set, the alerting system will generate an alert to the tenant administrator when the number of concurrent session is 90% or higher than this value. If this parameter is not set, the alerts are not generated. However, the monitoring system will report the number of concurrent sessions every 24 hours." } }, "schema_version": "2019.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/msteamsonline/CsOnlinePstnGateway/add/ |
|
The GUI Add form of device/msteamsonline/CsOnlinePstnGateway 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/device/msteamsonline/CsOnlinePstnGateway | 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/device/msteamsonline/CsOnlinePstnGateway/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/msteamsonline/CsOnlinePstnGateway/[pkid1]", "/api/device/msteamsonline/CsOnlinePstnGateway/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/msteamsonline/CsOnlinePstnGateway/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/msteamsonline/CsOnlinePstnGateway/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/msteamsonline/CsOnlinePstnGateway/[pkid1]", "/api/v0/device/msteamsonline/CsOnlinePstnGateway/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/msteamsonline/CsOnlinePstnGateway |
|
{"hrefs": ["/api/device/msteamsonline/CsOnlinePstnGateway/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/msteamsonline/CsOnlinePstnGateway |
|
{"hrefs": ["/api/device/msteamsonline/CsOnlinePstnGateway/[pkid1]", "/api/device/msteamsonline/CsOnlinePstnGateway/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/msteamsonline/CsOnlinePstnGateway; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/msteamsonline/CsOnlinePstnGateway/export/ |
|
{ "hrefs":["/api/device/msteamsonline/CsOnlinePstnGateway/[pkid1]", "/api/device/msteamsonline/CsOnlinePstnGateway/[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 device/msteamsonline/CsOnlinePstnGateway and the JSON format can be used to import instances of device/msteamsonline/CsOnlinePstnGateway.
GET http://[host-proxy]/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/msteamsonline/CsOnlinePstnGateway | POST | /api/device/msteamsonline/CsOnlinePstnGateway/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/device/msteamsonline/CsOnlinePstnGateway/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/msteamsonline/CsOnlinePstnGateway/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/device/msteamsonline/CsOnlinePstnGateway/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/msteamsonline/CsOnlinePstnGateway/ |
|
The device/msteamsonline/CsOnlinePstnGateway schema and all instances as JSON. |
(The list will return 0 to 3 device/msteamsonline/CsOnlinePstnGateway instances)
{ "operations": [ "list", "add" ], "pagination": { "direction": "asc", "order_by": "Identity", "maximum_limit": 2000, "skip": 0, "current": "/api/device/msteamsonline/CsOnlinePstnGateway/?skip=0&limit=3&order_by=Identity&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 2 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "2019.1", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/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=device/msteamsonline/CsOnlinePstnGateway", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/+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/device/msteamsonline/CsOnlinePstnGateway/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "device/msteamsonline/CsOnlinePstnGateway", "model_specific_actions": [ "list", "get", "add", "clone", "update", "remove", "move", "export", "export_bulkload_template", "bulk_update_form", "configuration_template", "field_display_policy", "help", "migration", "transform", "tag", "tag_version" ], "summary_attrs": [ { "name": "Identity", "title": "Name" }, { "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": "65e09b916fd4534903e456db", "meta": { "tags": [], "cached": true, "title": "lydiasbc.vossautobuild.onmicrosoft.com", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "65e098956fd4534903e3a06d", "href": "/api/v0/data/MSTeamsOnline/65e098956fd4534903e3a06d" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "65e09b916fd4534903e456db", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/" } ], "parent": [ { "pkid": "65e092226fd4534903e2148a", "href": "/api/data/HierarchyNode/65e092226fd4534903e2148a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e09b916fd4534903e456db/?model_type=device/msteamsonline/CsOnlinePstnGateway", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/msteamsonline/CsOnlinePstnGateway", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "65e092226fd4534903e2148a", "65e09b916fd4534903e456db" ], "summary_attrs": [ { "name": "Identity", "title": "Name" }, { "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": { "hierarchy": "65e092226fd4534903e2148a", "hierarchy_friendly_name": "VossAutoBuild (Customer)", "GatewaySiteLbrEnabled": false, "hierarchy_path": "sys.hcs.CS-P.CS-NB.VossAutoBuild", "Description": null, "OutboundPstnNumberTranslationRules": [], "FailoverTimeSeconds": 10, "BypassMode": "None", "InboundTeamsNumberTranslationRules": [], "ForwardPai": false, "MediaBypass": false, "summary_device": "Connection parameters for Microsoft TeamsOnline Auto Build Tenant, Auto Build Tenant, hcs.CS-P.CS-NB.VossAutoBuild", "SendSipOptions": true, "InboundPstnNumberTranslationRules": [], "ForwardCallHistory": false, "GatewayLbrEnabledUserOverride": false, "Enabled": false, "Fqdn": "lydiasbc.vossautobuild.onmicrosoft.com", "SipSignalingPort": 5067, "PidfLoSupported": false, "FailoverResponseCodes": "408,503,504", "ProxySbc": null, "MediaRelayRoutingLocationOverride": null, "OutboundTeamsNumberTranslationRules": [], "Identity": "lydiasbc.vossautobuild.onmicrosoft.com", "MaxConcurrentSessions": 24 } }, { "pkid": "65e09b936fd4534903e4572c", "meta": { "tags": [], "cached": true, "title": "RVDDP.vossautobuild.onmicrosoft.com", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "65e098956fd4534903e3a06d", "href": "/api/v0/data/MSTeamsOnline/65e098956fd4534903e3a06d" } ], "self": [ { "pkid": "65e09b936fd4534903e4572c", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/" } ], "parent": [ { "pkid": "65e092226fd4534903e2148a", "href": "/api/data/HierarchyNode/65e092226fd4534903e2148a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e09b936fd4534903e4572c/?model_type=device/msteamsonline/CsOnlinePstnGateway", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/help", "title": "Help", "class": "help", "method": "GET" } }, { "purge": { "support_async": false, "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b936fd4534903e4572c/purge/", "title": "Purge", "class": "purge", "method": "POST" } } ], "model_type": "device/msteamsonline/CsOnlinePstnGateway", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "65e092226fd4534903e2148a", "65e09b936fd4534903e4572c" ], "summary_attrs": [ { "name": "Identity", "title": "Name" }, { "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": { "hierarchy": "65e092226fd4534903e2148a", "hierarchy_friendly_name": "VossAutoBuild (Customer)", "GatewaySiteLbrEnabled": false, "hierarchy_path": "sys.hcs.CS-P.CS-NB.VossAutoBuild", "Description": null, "OutboundPstnNumberTranslationRules": [], "FailoverTimeSeconds": 10, "BypassMode": "None", "InboundTeamsNumberTranslationRules": [], "ForwardPai": false, "MediaBypass": false, "summary_device": "Connection parameters for Microsoft TeamsOnline Auto Build Tenant, Auto Build Tenant, hcs.CS-P.CS-NB.VossAutoBuild", "SendSipOptions": true, "InboundPstnNumberTranslationRules": [ "blah" ], "ForwardCallHistory": false, "GatewayLbrEnabledUserOverride": false, "Enabled": true, "Fqdn": "RVDDP.vossautobuild.onmicrosoft.com", "SipSignalingPort": 12345, "PidfLoSupported": false, "FailoverResponseCodes": "408,503,504", "ProxySbc": null, "MediaRelayRoutingLocationOverride": null, "OutboundTeamsNumberTranslationRules": [], "Identity": "RVDDP.vossautobuild.onmicrosoft.com", "MaxConcurrentSessions": null } } ] }
(Show the first instance)
{ "pkid": "65e09b916fd4534903e456db", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "lydiasbc.vossautobuild.onmicrosoft.com", "business_key": {}, "schema_version": "", "references": { "parent": [ { "pkid": "65e092226fd4534903e2148a", "href": "/api/data/HierarchyNode/65e092226fd4534903e2148a" } ], "self": [ { "pkid": "65e09b916fd4534903e456db", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/" } ], "foreign_key": [], "device": [ { "pkid": "65e098956fd4534903e3a06d", "href": "/api/v0/data/MSTeamsOnline/65e098956fd4534903e3a06d" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e09b916fd4534903e456db/?hierarchy=[hierarchy]&model_type=device/msteamsonline/CsOnlinePstnGateway", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/+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/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/CsOnlinePstnGateway/65e09b916fd4534903e456db/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/msteamsonline/CsOnlinePstnGateway", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "65e092226fd4534903e2148a", "65e09b916fd4534903e456db" ], "summary_attrs": [ { "name": "Identity", "title": "Name" }, { "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": { "hierarchy": "65e092226fd4534903e2148a", "GatewaySiteLbrEnabled": false, "Description": null, "OutboundPstnNumberTranslationRules": [], "FailoverTimeSeconds": 10, "BypassMode": "None", "InboundTeamsNumberTranslationRules": [], "ForwardPai": false, "MediaBypass": false, "Identity": "lydiasbc.vossautobuild.onmicrosoft.com", "InboundPstnNumberTranslationRules": [], "ForwardCallHistory": false, "GatewayLbrEnabledUserOverride": false, "Enabled": false, "Fqdn": "lydiasbc.vossautobuild.onmicrosoft.com", "SipSignalingPort": 5067, "PidfLoSupported": false, "FailoverResponseCodes": "408,503,504", "ProxySbc": null, "MediaRelayRoutingLocationOverride": null, "OutboundTeamsNumberTranslationRules": [], "SendSipOptions": true, "MaxConcurrentSessions": 24 } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/msteamsonline/CsOnlinePstnGateway. | GET | /api/device/msteamsonline/CsOnlinePstnGateway/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/msteamsonline/CsOnlinePstnGateway as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/msteamsonline/CsOnlinePstnGateway/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/msteamsonline/CsOnlinePstnGateway | 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 device/msteamsonline/CsOnlinePstnGateway; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/msteamsonline/CsOnlinePstnGateway/[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 device/msteamsonline/CsOnlinePstnGateway and the JSON format can be used to import instances of device/msteamsonline/CsOnlinePstnGateway.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid] | hierarchy=[hierarchy] | The device/msteamsonline/CsOnlinePstnGateway instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/msteamsonline/CsOnlinePstnGateway. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/msteamsonline/CsOnlinePstnGateway/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |