[Index]
Model ref.: device/skypeforbusiness/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": true, "__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": { "target_attr": "Identity", "name": "MobilityPolicy", "format": "uri", "title": "MobilityPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsMobilityPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsMobilityPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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": { "target_attr": "Identity", "name": "VoicePolicy", "format": "uri", "title": "VoicePolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsVoicePolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsVoicePolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "PinPolicy": { "target_attr": "Identity", "name": "PinPolicy", "format": "uri", "title": "PinPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsPinPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsPinPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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": { "target_attr": "Identity", "name": "PersistentChatPolicy", "format": "uri", "title": "PersistentChatPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsPersistentChatPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsPersistentChatPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ConferencingPolicy": { "target_attr": "Identity", "name": "ConferencingPolicy", "format": "uri", "title": "ConferencingPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsConferencingPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsConferencingPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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": { "target_attr": "Identity", "name": "VoiceRoutingPolicy", "format": "uri", "title": "VoiceRoutingPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsVoiceRoutingPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsVoiceRoutingPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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": { "target_attr": "Identity", "name": "ClientPolicy", "format": "uri", "title": "ClientPolicy", "required": false, "choices": [], "target_title": "Identity", "readonly": false, "target_model_type": "device/skypeforbusiness/CsClientPolicy", "type": "string", "target": "/api/device/skypeforbusiness/CsClientPolicy/choices/?choice_title=Identity&field=Identity&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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/skypeforbusiness/CsCommonAreaPhone/add/ |
|
The GUI Add form of device/skypeforbusiness/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/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/skypeforbusiness/CsCommonAreaPhone/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/skypeforbusiness/CsCommonAreaPhone/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/skypeforbusiness/CsCommonAreaPhone/[pkid1]", "/api/v0/device/skypeforbusiness/CsCommonAreaPhone/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone |
|
{"hrefs": ["/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/skypeforbusiness/CsCommonAreaPhone |
|
{"hrefs": ["/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/skypeforbusiness/CsCommonAreaPhone; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/skypeforbusiness/CsCommonAreaPhone/export/ |
|
{ "hrefs":["/api/device/skypeforbusiness/CsCommonAreaPhone/[pkid1]", "/api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone and the JSON format can be used to import instances of device/skypeforbusiness/CsCommonAreaPhone.
GET http://[host-proxy]/api/device/skypeforbusiness/CsCommonAreaPhone/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/skypeforbusiness/CsCommonAreaPhone | POST | /api/device/skypeforbusiness/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/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/ |
|
The device/skypeforbusiness/CsCommonAreaPhone schema and all instances as JSON. |
(The list will return 0 to 3 device/skypeforbusiness/CsCommonAreaPhone instances)
{ "operations": [ "move" ], "pagination": { "direction": "asc", "order_by": "DisplayName", "maximum_limit": 2000, "skip": 0, "current": "/api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/skypeforbusiness/CsCommonAreaPhone/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/skypeforbusiness/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": "21.2", "tagged_versions": [] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/skypeforbusiness/CsCommonAreaPhone. | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/skypeforbusiness/CsCommonAreaPhone as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/skypeforbusiness/CsCommonAreaPhone/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/skypeforbusiness/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/skypeforbusiness/CsCommonAreaPhone and the JSON format can be used to import instances of device/skypeforbusiness/CsCommonAreaPhone.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]/ | hierarchy=[hierarchy] | The device/skypeforbusiness/CsCommonAreaPhone instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/skypeforbusiness/CsCommonAreaPhone. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Powershell Move | POST | /api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]/+powershell_move/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/skypeforbusiness/CsCommonAreaPhone/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |