[Index]
Model ref.: device/msteamsonline/Number
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": { "Capability": { "items": { "readonly": true, "type": "string", "choices": [ { "value": "ConferenceAssignment", "title": "Conference Assignment" }, { "value": "VoiceApplicationAssignment", "title": "Voice Application Assignment" }, { "value": "UserAssignment", "title": "User Assignment" }, { "value": "OCMobile", "title": "OC Mobile" } ] }, "readonly": true, "type": "array", "name": "Capability", "title": "Capabilities" }, "LocationUpdateSupported": { "readonly": true, "type": "boolean", "name": "LocationUpdateSupported", "title": "Location Update Supported" }, "IsoCountryCode": { "readonly": true, "choices": [ { "value": "AF", "title": "Afghanistan" }, { "value": "AX", "title": "\u00c5land Islands" }, { "value": "AL", "title": "Albania" }, { "value": "DZ", "title": "Algeria" }, { "value": "AS", "title": "American Samoa" }, { "value": "AD", "title": "Andorra" }, { "value": "AO", "title": "Angola" }, { "value": "AI", "title": "Anguilla" }, { "value": "AQ", "title": "Antarctica" }, { "value": "AG", "title": "Antigua and Barbuda" }, { "value": "AR", "title": "Argentina" }, { "value": "AM", "title": "Armenia" }, { "value": "AW", "title": "Aruba" }, { "value": "AU", "title": "Australia" }, { "value": "AT", "title": "Austria" }, { "value": "AZ", "title": "Azerbaijan" }, { "value": "BS", "title": "Bahamas, The" }, { "value": "BH", "title": "Bahrain" }, { "value": "BD", "title": "Bangladesh" }, { "value": "BB", "title": "Barbados" }, { "value": "BY", "title": "Belarus" }, { "value": "BE", "title": "Belgium" }, { "value": "BZ", "title": "Belize" }, { "value": "BJ", "title": "Benin" }, { "value": "BM", "title": "Bermuda" }, { "value": "BT", "title": "Bhutan" }, { "value": "BT", "title": "Bolivia" }, { "value": "BO", "title": "Bonaire, Saint Eustatius and Saba" }, { "value": "BA", "title": "Bosnia and Herzegovina" }, { "value": "BW", "title": "Botswana" }, { "value": "BV", "title": "Bouvet Island" }, { "value": "BR", "title": "Brazil" }, { "value": "IO", "title": "British Indian Ocean Territory" }, { "value": "IO", "title": "Brunei" }, { "value": "BG", "title": "Bulgaria" }, { "value": "BF", "title": "Burkina Faso" }, { "value": "BI", "title": "Burundi" }, { "value": "CV", "title": "Cabo Verde" }, { "value": "KH", "title": "Cambodia" }, { "value": "CM", "title": "Cameroon" }, { "value": "CA", "title": "Canada" }, { "value": "KY", "title": "Cayman Islands" }, { "value": "CF", "title": "Central African Republic" }, { "value": "TD", "title": "Chad" }, { "value": "CL", "title": "Chile" }, { "value": "CN", "title": "China" }, { "value": "CX", "title": "Christmas Island" }, { "value": "CC", "title": "Cocos (Keeling) Islands" }, { "value": "CO", "title": "Colombia" }, { "value": "KM", "title": "Comoros" }, { "value": "CG", "title": "Congo" }, { "value": "CG", "title": "Congo (DRC)" }, { "value": "CK", "title": "Cook Islands" }, { "value": "CR", "title": "Costa Rica" }, { "value": "CR", "title": "C\u00f4te d\u2019Ivoire" }, { "value": "HR", "title": "Croatia" }, { "value": "CW", "title": "Cura\u00e7ao" }, { "value": "CY", "title": "Cyprus" }, { "value": "CY", "title": "Czech Republic" }, { "value": "DK", "title": "Denmark" }, { "value": "DJ", "title": "Djibouti" }, { "value": "DM", "title": "Dominica" }, { "value": "DO", "title": "Dominican Republic" }, { "value": "EC", "title": "Ecuador" }, { "value": "EG", "title": "Egypt" }, { "value": "SV", "title": "El Salvador" }, { "value": "GQ", "title": "Equatorial Guinea" }, { "value": "ER", "title": "Eritrea" }, { "value": "EE", "title": "Estonia" }, { "value": "ET", "title": "Ethiopia" }, { "value": "ET", "title": "Falkland Islands (Islas Malvinas)" }, { "value": "FO", "title": "Faroe Islands" }, { "value": "FJ", "title": "Fiji Islands" }, { "value": "FI", "title": "Finland" }, { "value": "FR", "title": "France" }, { "value": "GF", "title": "French Guiana" }, { "value": "PF", "title": "French Polynesia" }, { "value": "PF", "title": "French Southern and Antarctic Lands" }, { "value": "GA", "title": "Gabon" }, { "value": "GM", "title": "Gambia, The" }, { "value": "GE", "title": "Georgia" }, { "value": "DE", "title": "Germany" }, { "value": "GH", "title": "Ghana" }, { "value": "GI", "title": "Gibraltar" }, { "value": "GR", "title": "Greece" }, { "value": "GL", "title": "Greenland" }, { "value": "GD", "title": "Grenada" }, { "value": "GP", "title": "Guadeloupe" }, { "value": "GU", "title": "Guam" }, { "value": "GT", "title": "Guatemala" }, { "value": "GG", "title": "Guernsey" }, { "value": "GN", "title": "Guinea" }, { "value": "GW", "title": "Guinea-Bissau" }, { "value": "GY", "title": "Guyana" }, { "value": "HT", "title": "Haiti" }, { "value": "HM", "title": "Heard Island and McDonald Islands" }, { "value": "VA", "title": "Holy See (Vatican City State)" }, { "value": "HN", "title": "Honduras" }, { "value": "HK", "title": "Hong Kong SAR" }, { "value": "HU", "title": "Hungary" }, { "value": "IS", "title": "Iceland" }, { "value": "IN", "title": "India" }, { "value": "ID", "title": "Indonesia" }, { "value": "IQ", "title": "Iraq" }, { "value": "IE", "title": "Ireland" }, { "value": "IM", "title": "Isle of Man" }, { "value": "IL", "title": "Israel" }, { "value": "IT", "title": "Italy" }, { "value": "JM", "title": "Jamaica" }, { "value": "JP", "title": "Japan" }, { "value": "JE", "title": "Jersey" }, { "value": "JO", "title": "Jordan" }, { "value": "KZ", "title": "Kazakhstan" }, { "value": "KE", "title": "Kenya" }, { "value": "KI", "title": "Kiribati" }, { "value": "KR", "title": "Korea, Republic of" }, { "value": "KW", "title": "Kuwait" }, { "value": "KG", "title": "Kyrgyzstan" }, { "value": "LA", "title": "Laos" }, { "value": "LV", "title": "Latvia" }, { "value": "LB", "title": "Lebanon" }, { "value": "LS", "title": "Lesotho" }, { "value": "LR", "title": "Liberia" }, { "value": "LY", "title": "Libya" }, { "value": "LI", "title": "Liechtenstein" }, { "value": "LT", "title": "Lithuania" }, { "value": "LU", "title": "Luxembourg" }, { "value": "MO", "title": "Macao SAR" }, { "value": "MO", "title": "Macedonia, Former Yugoslav Republic of" }, { "value": "MG", "title": "Madagascar" }, { "value": "MW", "title": "Malawi" }, { "value": "MY", "title": "Malaysia" }, { "value": "MV", "title": "Maldives" }, { "value": "ML", "title": "Mali" }, { "value": "MT", "title": "Malta" }, { "value": "MH", "title": "Marshall Islands" }, { "value": "MQ", "title": "Martinique" }, { "value": "MR", "title": "Mauritania" }, { "value": "MU", "title": "Mauritius" }, { "value": "YT", "title": "Mayotte" }, { "value": "MX", "title": "Mexico" }, { "value": "MX", "title": "Micronesia" }, { "value": "FM", "title": "Moldova" }, { "value": "MC", "title": "Monaco" }, { "value": "MN", "title": "Mongolia" }, { "value": "ME", "title": "Montenegro" }, { "value": "MS", "title": "Montserrat" }, { "value": "MA", "title": "Morocco" }, { "value": "MZ", "title": "Mozambique" }, { "value": "MM", "title": "Myanmar" }, { "value": "NA", "title": "Namibia" }, { "value": "NR", "title": "Nauru" }, { "value": "NP", "title": "Nepal" }, { "value": "NP", "title": "Netherlands" }, { "value": "NP", "title": "Netherlands Antilles (Former)" }, { "value": "NC", "title": "New Caledonia" }, { "value": "NZ", "title": "New Zealand" }, { "value": "NI", "title": "Nicaragua" }, { "value": "NE", "title": "Niger" }, { "value": "NG", "title": "Nigeria" }, { "value": "NU", "title": "Niue" }, { "value": "NF", "title": "Norfolk Island" }, { "value": "MP", "title": "Northern Mariana Islands" }, { "value": "NO", "title": "Norway" }, { "value": "OM", "title": "Oman" }, { "value": "PK", "title": "Pakistan" }, { "value": "PW", "title": "Palau" }, { "value": "PS", "title": "Palestinian Authority" }, { "value": "PA", "title": "Panama" }, { "value": "PG", "title": "Papua New Guinea" }, { "value": "PY", "title": "Paraguay" }, { "value": "PE", "title": "Peru" }, { "value": "PH", "title": "Philippines" }, { "value": "PN", "title": "Pitcairn Islands" }, { "value": "PL", "title": "Poland" }, { "value": "PT", "title": "Portugal" }, { "value": "PR", "title": "Puerto Rico" }, { "value": "QA", "title": "Qatar" }, { "value": "QA", "title": "Reunion" }, { "value": "RO", "title": "Romania" }, { "value": "RO", "title": "Russia" }, { "value": "RW", "title": "Rwanda" }, { "value": "BL", "title": "Saint Barth\u00e9lemy" }, { "value": "SH", "title": "Saint Helena, Ascension and Tristan da Cunha" }, { "value": "KN", "title": "Saint Kitts and Nevis" }, { "value": "LC", "title": "Saint Lucia" }, { "value": "LC", "title": "Saint Martin" }, { "value": "PM", "title": "Saint Pierre and Miquelon" }, { "value": "VC", "title": "Saint Vincent and the Grenadines" }, { "value": "WS", "title": "Samoa" }, { "value": "SM", "title": "San Marino" }, { "value": "ST", "title": "S\u00e3o Tom\u00e9 and Pr\u00edncipe" }, { "value": "SA", "title": "Saudi Arabia" }, { "value": "SN", "title": "Senegal" }, { "value": "RS", "title": "Serbia" }, { "value": "SC", "title": "Seychelles" }, { "value": "SL", "title": "Sierra Leone" }, { "value": "SG", "title": "Singapore" }, { "value": "SG", "title": "Sint Maarten" }, { "value": "SK", "title": "Slovakia" }, { "value": "SI", "title": "Slovenia" }, { "value": "SB", "title": "Solomon Islands" }, { "value": "SO", "title": "Somalia" }, { "value": "ZA", "title": "South Africa" }, { "value": "GS", "title": "South Georgia and the South Sandwich Islands" }, { "value": "SS", "title": "South Sudan" }, { "value": "ES", "title": "Spain" }, { "value": "LK", "title": "Sri Lanka" }, { "value": "SR", "title": "Suriname" }, { "value": "SJ", "title": "Svalbard and Jan Mayen Island" }, { "value": "SZ", "title": "Swaziland" }, { "value": "SE", "title": "Sweden" }, { "value": "CH", "title": "Switzerland" }, { "value": "SY", "title": "Taiwan" }, { "value": "TJ", "title": "Tajikistan" }, { "value": "TJ", "title": "Tanzania" }, { "value": "TH", "title": "Thailand" }, { "value": "TL", "title": "Timor-Leste" }, { "value": "TG", "title": "Togo" }, { "value": "TK", "title": "Tokelau" }, { "value": "TO", "title": "Tonga" }, { "value": "TT", "title": "Trinidad and Tobago" }, { "value": "TN", "title": "Tunisia" }, { "value": "TR", "title": "Turkey" }, { "value": "TM", "title": "Turkmenistan" }, { "value": "TC", "title": "Turks and Caicos Islands" }, { "value": "TV", "title": "Tuvalu" }, { "value": "TV", "title": "U.S. Minor Outlying Islands" }, { "value": "UG", "title": "Uganda" }, { "value": "UA", "title": "Ukraine" }, { "value": "AE", "title": "United Arab Emirates" }, { "value": "GB", "title": "United Kingdom" }, { "value": "US", "title": "United States" }, { "value": "UY", "title": "Uruguay" }, { "value": "UZ", "title": "Uzbekistan" }, { "value": "VU", "title": "Vanuatu" }, { "value": "VU", "title": "Venezuela" }, { "value": "VN", "title": "Vietnam" }, { "value": "VG", "title": "Virgin Islands, British" }, { "value": "VI", "title": "Virgin Islands, U.S." }, { "value": "WF", "title": "Wallis and Futuna" }, { "value": "EH", "title": "Western Sahara" }, { "value": "YE", "title": "Yemen" }, { "value": "ZM", "title": "Zambia" }, { "value": "ZW", "title": "Zimbabwe" } ], "type": "string", "name": "IsoCountryCode", "title": "ISO Country Code" }, "Numberext": { "readonly": true, "type": "string", "name": "Numberext", "title": "Number Extension" }, "NumberType": { "readonly": true, "choices": [ { "value": "DirectRouting", "title": "Direct Routing" }, { "value": "CallingPlan", "title": "Calling Plan" }, { "value": "OperatorConnect", "title": "Operator Connect" } ], "type": "string", "name": "NumberType", "title": "Number Type" }, "Numbertel": { "readonly": true, "type": "string", "name": "Numbertel", "title": "Number Base" }, "Number": { "readonly": true, "type": "string", "name": "Number", "title": "Number" }, "CivicAddressId": { "target": "/api/device/msteamsonline/CsOnlineLisCivicAddress/choices/?field=CompanyName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Civic Address", "convert_to_primary_key": true, "choices": [], "target_attr": "CompanyName", "readonly": true, "target_model_type": "device/msteamsonline/CsOnlineLisCivicAddress", "type": "string", "name": "CivicAddressId" }, "Assigned": { "readonly": true, "type": "boolean", "name": "Assigned", "title": "Assigned" }, "LocationId": { "target": "/api/device/msteamsonline/CsOnlineLisLocation/choices/?field=Location&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Location", "convert_to_primary_key": true, "choices": [], "target_attr": "Location", "readonly": true, "target_model_type": "device/msteamsonline/CsOnlineLisLocation", "type": "string", "name": "LocationId" }, "PstnAssignmentStatus": { "readonly": true, "choices": [ { "value": "Unassigned", "title": "Unassigned" }, { "value": "UserAssigned", "title": "User Assigned" }, { "value": "ConferenceAssigned", "title": "Conference Assigned" }, { "value": "VoiceApplicationAssigned", "title": "Voice Application Assigned" }, { "value": "ThirdPartyAppAssigned", "title": "Third Party App Assigned" } ], "type": "string", "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, "PortInOrderStatus": { "readonly": true, "type": "string", "name": "PortInOrderStatus", "title": "Port In Order Status" }, "ActivationState": { "readonly": true, "choices": [ { "value": "Activated", "title": "Activated" }, { "value": "AssignmentPending", "title": "Assignment Pending" }, { "value": "AssignmentFailed", "title": "Assignment Failed" }, { "value": "UpdatePending", "title": "Update Pending" }, { "value": "UpdateFailed", "title": "Update Failed" } ], "type": "string", "name": "ActivationState", "title": "Activation State" }, "PstnPartnerName": { "readonly": true, "type": "string", "name": "PstnPartnerName", "title": "PSTN Partner Name" }, "AssignedPstnTargetId": { "readonly": true, "type": "string", "name": "AssignedPstnTargetId", "title": "Assigned PSTN Target ID" }, "PstnPartnerId": { "readonly": true, "type": "string", "name": "PstnPartnerId", "title": "PSTN Partner ID" } }, "schema_version": "2019.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/msteamsonline/Number/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/msteamsonline/Number/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/msteamsonline/Number/[pkid1]", "/api/v0/device/msteamsonline/Number/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/msteamsonline/Number/?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/Number |
|
{"hrefs": ["/api/device/msteamsonline/Number/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/msteamsonline/Number |
|
{"hrefs": ["/api/device/msteamsonline/Number/[pkid1]", "/api/device/msteamsonline/Number/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/msteamsonline/Number; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/msteamsonline/Number/export/ |
|
{ "hrefs":["/api/device/msteamsonline/Number/[pkid1]", "/api/device/msteamsonline/Number/[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/Number and the JSON format can be used to import instances of device/msteamsonline/Number.
GET http://[host-proxy]/api/device/msteamsonline/Number/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/msteamsonline/Number | POST | /api/device/msteamsonline/Number/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/Number/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/Number/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/Number/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/msteamsonline/Number/ |
|
The device/msteamsonline/Number schema and all instances as JSON. |
(The list will return 0 to 3 device/msteamsonline/Number instances)
{ "operations": [ "list" ], "pagination": { "direction": "asc", "order_by": "Number", "maximum_limit": 2000, "skip": 0, "current": "/api/device/msteamsonline/Number/?skip=0&limit=3&order_by=Number&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 14 }, "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": [ { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/msteamsonline/Number/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/Number", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/Number/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/Number/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/Number/+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/Number/+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/Number/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/msteamsonline/Number/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/device/msteamsonline/Number/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/msteamsonline/Number/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/Number/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/Number/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/device/msteamsonline/Number/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "device/msteamsonline/Number", "model_specific_actions": [ "list", "get", "move", "clone", "export", "export_bulkload_template", "bulk_update_form", "configuration_template", "field_display_policy", "help", "migration", "transform", "tag", "tag_version" ], "summary_attrs": [ { "name": "Number", "title": "Number" }, { "name": "Numbertel", "title": "Number Base" }, { "name": "Numberext", "title": "Number Extension" }, { "name": "NumberType", "title": "Number Type" }, { "name": "Assigned", "title": "Assigned" }, { "name": "ActivationState", "title": "Activation State" }, { "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, { "name": "Capability", "title": "Capabilities" }, { "name": "IsoCountryCode", "title": "ISO Country Code" }, { "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": "655efea140d96fe47c256770", "meta": { "tags": [], "cached": true, "title": "+18671100013", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "655efaa040d96fe47c23f48e", "href": "/api/v0/data/MSTeamsOnline/655efaa040d96fe47c23f48e" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "655efea140d96fe47c256770", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/" } ], "parent": [ { "pkid": "655ef9d340d96fe47c238be3", "href": "/api/data/HierarchyNode/655ef9d340d96fe47c238be3" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "class": "clone", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/655efea140d96fe47c256770/?model_type=device/msteamsonline/Number", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/msteamsonline/Number", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "655ef9d340d96fe47c238be3", "655efea140d96fe47c256770" ], "summary_attrs": [ { "name": "Number", "title": "Number" }, { "name": "Numbertel", "title": "Number Base" }, { "name": "Numberext", "title": "Number Extension" }, { "name": "NumberType", "title": "Number Type" }, { "name": "Assigned", "title": "Assigned" }, { "name": "ActivationState", "title": "Activation State" }, { "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, { "name": "Capability", "title": "Capabilities" }, { "name": "IsoCountryCode", "title": "ISO Country Code" }, { "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": { "Numberext": "", "LocationUpdateSupported": true, "hierarchy": "655ef9d340d96fe47c238be3", "NumberType": "DirectRouting", "Numbertel": "\\+18671100013", "Number": "+18671100013", "Capability": [ "ConferenceAssignment", "VoiceApplicationAssignment", "UserAssignment" ], "Assigned": true, "PstnAssignmentStatus": "UserAssigned", "ActivationState": "Activated", "hierarchy_friendly_name": "VossAutoBuild (Customer)", "summary_device": "Connection parameters for Microsoft TeamsOnline Auto Build Tenant, Auto Build Tenant, hcs.CS-P.CS-NB.VossAutoBuild", "AssignedPstnTargetId": "94341ae7-07f4-47a7-81fc-3536d8b094d5", "hierarchy_path": "sys.hcs.CS-P.CS-NB.VossAutoBuild" } }, { "pkid": "655efea140d96fe47c256784", "meta": { "tags": [], "cached": true, "title": "+18671100095", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "655efaa040d96fe47c23f48e", "href": "/api/v0/data/MSTeamsOnline/655efaa040d96fe47c23f48e" } ], "self": [ { "pkid": "655efea140d96fe47c256784", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/" } ], "parent": [ { "pkid": "655ef9d340d96fe47c238be3", "href": "/api/data/HierarchyNode/655ef9d340d96fe47c238be3" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/655efea140d96fe47c256784/?model_type=device/msteamsonline/Number", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/help", "title": "Help", "class": "help", "method": "GET" } }, { "purge": { "support_async": false, "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256784/purge/", "title": "Purge", "class": "purge", "method": "POST" } } ], "model_type": "device/msteamsonline/Number", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "655ef9d340d96fe47c238be3", "655efea140d96fe47c256784" ], "summary_attrs": [ { "name": "Number", "title": "Number" }, { "name": "Numbertel", "title": "Number Base" }, { "name": "Numberext", "title": "Number Extension" }, { "name": "NumberType", "title": "Number Type" }, { "name": "Assigned", "title": "Assigned" }, { "name": "ActivationState", "title": "Activation State" }, { "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, { "name": "Capability", "title": "Capabilities" }, { "name": "IsoCountryCode", "title": "ISO Country Code" }, { "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": { "Numberext": "", "LocationUpdateSupported": true, "hierarchy": "655ef9d340d96fe47c238be3", "NumberType": "DirectRouting", "Numbertel": "\\+18671100095", "Number": "+18671100095", "Capability": [ "ConferenceAssignment", "VoiceApplicationAssignment", "UserAssignment" ], "Assigned": false, "PstnAssignmentStatus": "Unassigned", "ActivationState": "Activated", "hierarchy_friendly_name": "VossAutoBuild (Customer)", "summary_device": "Connection parameters for Microsoft TeamsOnline Auto Build Tenant, Auto Build Tenant, hcs.CS-P.CS-NB.VossAutoBuild", "hierarchy_path": "sys.hcs.CS-P.CS-NB.VossAutoBuild" } }, { "pkid": "655efea140d96fe47c256776", "meta": { "tags": [], "cached": true, "title": "+18683300001", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "655efaa040d96fe47c23f48e", "href": "/api/v0/data/MSTeamsOnline/655efaa040d96fe47c23f48e" } ], "self": [ { "pkid": "655efea140d96fe47c256776", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/" } ], "parent": [ { "pkid": "655ef9d340d96fe47c238be3", "href": "/api/data/HierarchyNode/655ef9d340d96fe47c238be3" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "method": "GET", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/655efea140d96fe47c256776/?model_type=device/msteamsonline/Number", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/help", "class": "help", "title": "Help" } }, { "purge": { "support_async": false, "method": "POST", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256776/purge/", "class": "purge", "title": "Purge" } } ], "model_type": "device/msteamsonline/Number", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "655ef9d340d96fe47c238be3", "655efea140d96fe47c256776" ], "summary_attrs": [ { "name": "Number", "title": "Number" }, { "name": "Numbertel", "title": "Number Base" }, { "name": "Numberext", "title": "Number Extension" }, { "name": "NumberType", "title": "Number Type" }, { "name": "Assigned", "title": "Assigned" }, { "name": "ActivationState", "title": "Activation State" }, { "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, { "name": "Capability", "title": "Capabilities" }, { "name": "IsoCountryCode", "title": "ISO Country Code" }, { "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": { "Numberext": "", "LocationUpdateSupported": true, "hierarchy": "655ef9d340d96fe47c238be3", "NumberType": "DirectRouting", "Numbertel": "\\+18683300001", "Number": "+18683300001", "Capability": [ "ConferenceAssignment", "VoiceApplicationAssignment", "UserAssignment" ], "Assigned": true, "PstnAssignmentStatus": "UserAssigned", "ActivationState": "Activated", "hierarchy_friendly_name": "VossAutoBuild (Customer)", "summary_device": "Connection parameters for Microsoft TeamsOnline Auto Build Tenant, Auto Build Tenant, hcs.CS-P.CS-NB.VossAutoBuild", "AssignedPstnTargetId": "8a7a9b36-42f1-4ea4-8b06-11424baf9870", "hierarchy_path": "sys.hcs.CS-P.CS-NB.VossAutoBuild" } } ] }
(Show the first instance)
{ "pkid": "655efea140d96fe47c256770", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "+18671100013", "business_key": {}, "schema_version": "", "references": { "parent": [ { "pkid": "655ef9d340d96fe47c238be3", "href": "/api/data/HierarchyNode/655ef9d340d96fe47c238be3" } ], "self": [ { "pkid": "655efea140d96fe47c256770", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/" } ], "foreign_key": [], "device": [ { "pkid": "655efaa040d96fe47c23f48e", "href": "/api/v0/data/MSTeamsOnline/655efaa040d96fe47c23f48e" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "clone": { "support_async": false, "class": "clone", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/655efea140d96fe47c256770/?hierarchy=[hierarchy]&model_type=device/msteamsonline/Number", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/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/Number/655efea140d96fe47c256770/+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/Number/655efea140d96fe47c256770/+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/Number/655efea140d96fe47c256770/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/msteamsonline/Number/655efea140d96fe47c256770/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/msteamsonline/Number", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "655ef9d340d96fe47c238be3", "655efea140d96fe47c256770" ], "summary_attrs": [ { "name": "Number", "title": "Number" }, { "name": "Numbertel", "title": "Number Base" }, { "name": "Numberext", "title": "Number Extension" }, { "name": "NumberType", "title": "Number Type" }, { "name": "Assigned", "title": "Assigned" }, { "name": "ActivationState", "title": "Activation State" }, { "name": "PstnAssignmentStatus", "title": "PSTN Assignment Status" }, { "name": "Capability", "title": "Capabilities" }, { "name": "IsoCountryCode", "title": "ISO Country Code" }, { "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": { "Numberext": "", "LocationUpdateSupported": true, "hierarchy": "655ef9d340d96fe47c238be3", "NumberType": "DirectRouting", "Numbertel": "\\+18671100013", "Number": "+18671100013", "Capability": [ "ConferenceAssignment", "VoiceApplicationAssignment", "UserAssignment" ], "Assigned": true, "PstnAssignmentStatus": "UserAssigned", "ActivationState": "Activated", "AssignedPstnTargetId": "94341ae7-07f4-47a7-81fc-3536d8b094d5" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/msteamsonline/Number. | GET | /api/device/msteamsonline/Number/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/msteamsonline/Number as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/msteamsonline/Number/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/msteamsonline/Number/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/msteamsonline/Number | 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/Number; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/msteamsonline/Number/[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/Number and the JSON format can be used to import instances of device/msteamsonline/Number.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/device/msteamsonline/Number/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/msteamsonline/Number/[pkid] | hierarchy=[hierarchy] | The device/msteamsonline/Number instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/msteamsonline/Number/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/msteamsonline/Number. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/msteamsonline/Number/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |