[Index]
Model ref.: device/skypeforbusinesshybrid/CsCommonAreaPhone
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": { "DN": { "__type_requested": "ADObjectId", "required": false, "description": "Enables you to associate an existing Active Directory contact object with the new common area phone. If you have a contact object you want to associate with a common area phone, use the DN parameter followed by the distinguished name of that contact. For example: -DN \"cn=Building 14 Lobby,dc=litwareinc,dc=com\". Note that your command will fail if the specified contact does not exist. Your command will also fail if the specified contact has already been enabled for Skype for Business Server 2015. In that case, you must first disable the contact using the Disable-CsUser and cmdlet then run the New-CsCommonAreaPhone cmdlet.\nThe DN parameter is particularly useful in organizations that have already created contact objects for conference rooms and other entities. These contacts are often used for scheduling purposes. By using the DN parameter you can create a new common area phone using one of these pre-existing contact objects.\nYou cannot use the OU and the DN parameters in the same command.", "title": "DN", "__type_mapping_type": "Unknown", "readonly": false, "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string", "type": "string", "name": "DN" }, "DistinguishedName": { "__type_requested": "string", "required": false, "name": "DistinguishedName", "title": "DistinguishedName", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "DisplayName": { "__type_requested": "String", "required": false, "description": "Enables you to set the Active Directory display name of the common area phone.", "title": "DisplayName", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "DisplayName" }, "TargetServerIfMoving": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.ADObjectId", "required": false, "name": "TargetServerIfMoving", "title": "TargetServerIfMoving", "__type_mapping_type": "AutoForeignReference", "readonly": true, "type": "string" }, "HostingProvider": { "__type_requested": "string", "required": false, "name": "HostingProvider", "title": "HostingProvider", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "LineURI": { "required": true, "type": "string", "name": "LineURI", "title": "LineURI" }, "UserServicesPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "UserServicesPolicy", "title": "UserServicesPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "TenantId": { "__type_requested": "guid", "required": false, "name": "TenantId", "title": "TenantId", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "EnabledForInternetAccess": { "__type_requested": "bool", "required": false, "name": "EnabledForInternetAccess", "title": "EnabledForInternetAccess", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "MobilityPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "MobilityPolicy", "title": "MobilityPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "DisplayNumber": { "__type_requested": "String", "required": false, "description": "Phone number as displayed in Skype for Business. The DisplayNumber property can be formatted any way you prefer; for example 1-800-555-1234; 1-(800)-555-1234; 1.800.555.1234; and so on. When choosing a display number, keep in mind that this number will be shown on the display screen of the common area phone only if the number can be normalized. (Normalization is the process of translating number strings into a standard phone number format.) If a normalization rule does not exist for the phone number format used when configuring the display number, the display screen of the common area phone will show the value of the LineUri property rather than the value of the DisplayNumber property.", "title": "DisplayNumber", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "DisplayNumber" }, "UserRoutingGroupId": { "__type_requested": "guid", "required": false, "name": "UserRoutingGroupId", "title": "UserRoutingGroupId", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "ExternalAccessPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ExternalAccessPolicy", "title": "ExternalAccessPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "Guid": { "__type_requested": "guid", "required": false, "name": "Guid", "title": "Guid", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "Description": { "__type_requested": "String", "required": false, "description": "Enables you to set the Active Directory Description attribute for the common area phone. In turn, this provides a way for you to supply additional information about the phone; for example, you might want to provide details about who to contact in case of problems with the phone.", "title": "Description", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "Description" }, "EnterpriseVoiceEnabled": { "__type_requested": "bool", "required": false, "name": "EnterpriseVoiceEnabled", "title": "EnterpriseVoiceEnabled", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean", "description": "Indicates whether the contact object for the common area phone has been enabled for Enterprise Voice, the Voice over Internet Protocol (VoIP) solution offered by Microsoft. With Enterprise Voice, telephone calls can be made using the Internet rather than using the standard telephone network." }, "ObjectClass": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.MultiValuedProperty[string]", "required": false, "name": "ObjectClass", "title": "ObjectClass", "items": { "type": "string" }, "__type_mapping_type": "String[]", "readonly": true, "type": "array" }, "ClientVersionPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ClientVersionPolicy", "title": "ClientVersionPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "Created": { "__type_requested": "bool", "required": false, "name": "Created", "title": "Created", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "EnabledForRichPresence": { "__type_requested": "bool", "required": false, "name": "EnabledForRichPresence", "title": "EnabledForRichPresence", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "VoicePolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "VoicePolicy", "title": "VoicePolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "PinPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "PinPolicy", "title": "PinPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ThirdPartyVideoSystemPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ThirdPartyVideoSystemPolicy", "title": "ThirdPartyVideoSystemPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "SipAddress": { "__type_requested": "String", "required": false, "description": "Unique identifier that allows the common area phone to communicate with SIP devices such as Skype for Business. The SIP address must be prefaced by the prefix \"sip:\" and must include a valid SIP domain. For example: sip:[email protected].", "title": "SipAddress", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "SipAddress" }, "PersistentChatPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "PersistentChatPolicy", "title": "PersistentChatPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ConferencingPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ConferencingPolicy", "title": "ConferencingPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "LocationPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "LocationPolicy", "title": "LocationPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ArchivingPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ArchivingPolicy", "title": "ArchivingPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "VoiceRoutingPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "VoiceRoutingPolicy", "title": "VoiceRoutingPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "OriginatingServer": { "__type_requested": "string", "required": false, "name": "OriginatingServer", "title": "OriginatingServer", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "Name": { "__type_requested": "string", "required": false, "name": "Name", "title": "Name", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "ObjectId": { "__type_requested": "guid", "required": false, "name": "ObjectId", "title": "ObjectId", "__type_mapping_type": "String", "readonly": true, "type": "string" }, "EnabledForFederation": { "__type_requested": "bool", "required": false, "name": "EnabledForFederation", "title": "EnabledForFederation", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "Enabled": { "__type_requested": "bool", "required": false, "name": "Enabled", "title": "Enabled", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean", "description": "Indicates whether or not the contact object for the common area phone has been enabled for Skype for Business Server 2015.\nIf you disable a contact by using the Enabled parameter, the information associated with that account (including assigned policies and whether or not the contact is enabled for Enterprise Voice, remote call control, and/or voice mail integration) is retained. If you later re-enable the account by using the Enabled parameter, the associated account information will be restored." }, "ExperiencePolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ExperiencePolicy", "title": "ExperiencePolicy", "__type_mapping_type": "Unknown", "readonly": true, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ExchangeArchivingPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.ExchangeArchivingPolicyOptionsEnum", "required": false, "name": "ExchangeArchivingPolicy", "title": "ExchangeArchivingPolicy", "__type_mapping_type": "Complex.ExchangeArchivingPolicy", "choices": [ [ "0", "Uninitialized" ], [ "1", "Use Lync Archiving Policy" ], [ "2", "Archiving To Exchange" ], [ "3", "No Archiving" ] ], "readonly": true, "type": "integer", "description": "Indicates where the contact's instant messaging sessions are archived. Allowed values are:\nUninitialized\nUseLyncArchivingPolicy\nArchivingToExchange\nNoArchiving" }, "WhenCreated": { "__type_requested": "datetime", "__type_mapping_type": "DateTime", "name": "WhenCreated", "title": "WhenCreated", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "TargetRegistrarPool": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "TargetRegistrarPool", "title": "TargetRegistrarPool", "__type_mapping_type": "Unknown", "readonly": true, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "RegistrarPool": { "__type_requested": "Fqdn", "required": true, "description": "Fully qualified domain name (FQDN) of the Registrar pool where the contact object should be homed. For example: -RegistrarPool \"atl-cs-001.litwareinc.com\".", "title": "RegistrarPool", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "RegistrarPool" }, "IsByPassValidation": { "__type_requested": "bool", "required": false, "name": "IsByPassValidation", "title": "IsByPassValidation", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "AddressBookPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "AddressBookPolicy", "title": "AddressBookPolicy", "__type_mapping_type": "Unknown", "readonly": true, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ClientPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "ClientPolicy", "title": "ClientPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "HostedVoicemailPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "HostedVoicemailPolicy", "title": "HostedVoicemailPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "PublicNetworkEnabled": { "__type_requested": "bool", "required": false, "name": "PublicNetworkEnabled", "title": "PublicNetworkEnabled", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "ObjectCategory": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.ADObjectId", "required": false, "name": "ObjectCategory", "title": "ObjectCategory", "__type_mapping_type": "AutoForeignReference", "readonly": true, "type": "string" }, "WhenChanged": { "__type_requested": "datetime", "__type_mapping_type": "DateTime", "name": "WhenChanged", "title": "WhenChanged", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "PresencePolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "PresencePolicy", "title": "PresencePolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "GraphPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "GraphPolicy", "title": "GraphPolicy", "__type_mapping_type": "Unknown", "readonly": true, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "ProxyAddresses": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.MultiValuedProperty[string]", "required": false, "name": "ProxyAddresses", "title": "ProxyAddresses", "items": { "type": "string" }, "__type_mapping_type": "String[]", "readonly": true, "type": "array" }, "ObjectState": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Interface.ObjectState", "required": false, "name": "ObjectState", "title": "ObjectState", "__type_mapping_type": "Integer", "readonly": true, "type": "integer" }, "Identity": { "__type_requested": "UserIdParameter", "required": false, "description": "Unique identifier for the common area phone. Common area phones are identified using the Active Directory distinguished name (DN) of the associated contact object. By default, common area phones use a globally unique identifier (GUID) as their common name, which means phones will typically have an Identity similar to this: CN={ce84964a-c4da-4622-ad34-c54ff3ed361f},OU=Redmond,DC=Litwareinc,DC=com.", "title": "Identity", "__type_mapping_type": "Unknown", "readonly": true, "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string", "type": "string", "name": "Identity" }, "IsValid": { "__type_requested": "bool", "required": false, "name": "IsValid", "title": "IsValid", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" }, "OU": { "__type_requested": "OUIdParameter", "required": false, "description": "Distinguished name of the Active Directory organizational unit (OU) where the contact object should be located. For example: -OU \"ou=Redmond,dc=litwareinc,dc=com\".\nIf you include the OU parameter, a new contact will be created in the specified OU, and the contact will automatically be assigned a globally unique identifier (GUID) as its common name. As a result, the contact object will have a name similar to this: {ce84964a-c4da-4622-ad34-c54ff3ed361f}.", "title": "OU", "__type_mapping_type": "String", "readonly": false, "type": "string", "name": "OU" }, "DialPlan": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "DialPlan", "title": "DialPlan", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "CallViaWorkPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "CallViaWorkPolicy", "title": "CallViaWorkPolicy", "__type_mapping_type": "Unknown", "readonly": false, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "LegalInterceptPolicy": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy", "required": false, "name": "LegalInterceptPolicy", "title": "LegalInterceptPolicy", "__type_mapping_type": "Unknown", "readonly": true, "type": "string", "__WARNING": "Unhandled and unknown upstream type, this attribute forced into a readonly string" }, "HomeServer": { "__type_requested": "Microsoft.Rtc.Management.ADConnect.Core.ADObjectId", "required": false, "name": "HomeServer", "title": "HomeServer", "__type_mapping_type": "AutoForeignReference", "readonly": true, "type": "string" }, "ExUmEnabled": { "__type_requested": "bool", "required": false, "name": "ExUmEnabled", "title": "ExUmEnabled", "__type_mapping_type": "Boolean", "readonly": true, "type": "boolean" } }, "schema_version": "1150" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/add/ |
|
The GUI Add form of device/skypeforbusinesshybrid/CsCommonAreaPhone 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/skypeforbusinesshybrid/CsCommonAreaPhone/ | 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/skypeforbusinesshybrid/CsCommonAreaPhone/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid1]", "/api/v0/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/skypeforbusinesshybrid/CsCommonAreaPhone |
|
{"hrefs": ["/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/skypeforbusinesshybrid/CsCommonAreaPhone |
|
{"hrefs": ["/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/skypeforbusinesshybrid/CsCommonAreaPhone; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/export/ |
|
{ "hrefs":["/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[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/skypeforbusinesshybrid/CsCommonAreaPhone and the JSON format can be used to import instances of device/skypeforbusinesshybrid/CsCommonAreaPhone.
GET http://[host-proxy]/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/skypeforbusinesshybrid/CsCommonAreaPhone | POST | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/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/skypeforbusinesshybrid/CsCommonAreaPhone/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/ |
|
The device/skypeforbusinesshybrid/CsCommonAreaPhone schema and all instances as JSON. |
(The list will return 0 to 3 device/skypeforbusinesshybrid/CsCommonAreaPhone instances)
{ "operations": [ "move" ], "pagination": { "direction": "asc", "order_by": "DisplayName", "maximum_limit": 2000, "skip": 0, "current": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?skip=0&limit=3&order_by=DisplayName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 0 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "1150", "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/skypeforbusinesshybrid/CsCommonAreaPhone/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/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/skypeforbusinesshybrid/CsCommonAreaPhone", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/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/skypeforbusinesshybrid/CsCommonAreaPhone/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/skypeforbusinesshybrid/CsCommonAreaPhone", "model_specific_actions": [ "get", "list", "powershell_move", "add", "remove", "update", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "help", "move" ], "summary_attrs": [ { "name": "DisplayName", "title": "DisplayName" }, { "name": "Description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/skypeforbusinesshybrid/CsCommonAreaPhone. | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/skypeforbusinesshybrid/CsCommonAreaPhone as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/skypeforbusinesshybrid/CsCommonAreaPhone/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/skypeforbusinesshybrid/CsCommonAreaPhone | 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/skypeforbusinesshybrid/CsCommonAreaPhone; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[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/skypeforbusinesshybrid/CsCommonAreaPhone and the JSON format can be used to import instances of device/skypeforbusinesshybrid/CsCommonAreaPhone.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/ | hierarchy=[hierarchy] | The device/skypeforbusinesshybrid/CsCommonAreaPhone instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/skypeforbusinesshybrid/CsCommonAreaPhone. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Powershell Move | POST | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/+powershell_move/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/skypeforbusinesshybrid/CsCommonAreaPhone/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |