[Index]
Model ref.: view/LyncQuickSubscriber
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": { "username": { "required": true, "type": "string", "title": "Username" }, "entitlement_profile": { "required": false, "type": "string", "title": "Entitlement Profile" }, "firstname": { "required": false, "type": "string", "title": "First Name" }, "lastname": { "required": true, "type": "string", "title": "Last Name" }, "email": { "format": "email", "pattern": "^([^.@]+)(\\.[^.@]+)*@([^.@]+\\.)+([^.@]+)$", "required": false, "title": "Email Address", "type": "string" }, "password": { "is_password": true, "description": "The corresponding CUCM, CUC and WebEx user password will be set with this password", "title": "Password", "required": false, "type": "string" }, "pin": { "is_password": true, "description": "The corresponding CUCM and CUC user PIN will be set with this PIN", "title": "PIN", "required": false, "type": "string" }, "manager": { "required": false, "type": "string", "title": "Manager" }, "department": { "required": false, "type": "string", "title": "Department" }, "telephoneNumber": { "required": false, "type": "string", "title": "Telephone Number" }, "title": { "required": false, "type": "string", "title": "Title" }, "homeNumber": { "required": false, "type": "string", "title": "Home Number" }, "mobileNumber": { "required": false, "type": "string", "title": "User's Mobile Number" }, "directoryUri": { "required": false, "type": "string", "title": "Directory URI" }, "qagroup_name": { "target": "/api/data/LyncQuickAddGroups-Teams/choices/?field=group_name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "default": "default", "required": true, "target_attr": "group_name", "title": "Quick Add Group", "type": "string", "target_model_type": "data/LyncQuickAddGroups-Teams", "choices": [] }, "existing": { "type": "object", "title": "Existing Services", "properties": { "phones": { "type": "string", "title": "Phones" }, "ext_mobilities": { "type": "string", "title": "Extension Mobility Profiles" }, "voicemail": { "type": "string", "title": "Voicemail Extension" }, "webex": { "type": "string", "title": "WebEx" }, "lync_id": { "type": "string", "title": "SfB Id" }, "ExchangeUM_id": { "type": "integer", "title": "Exchange UM ID" }, "sip_address": { "type": "string", "title": "SIP Address" }, "snr": { "type": "string", "title": "Single Number Reach" } } }, "user_status": { "type": "string", "title": "User status" }, "lines": { "items": { "type": "object", "properties": { "directory_number": { "type": "string", "title": "Directory Number" } } }, "required": false, "type": "array", "title": "Lines" }, "voice": { "type": "boolean", "title": "Voice" }, "phones": { "items": { "type": "object", "properties": { "phone_name": { "description": "Name of phone to provision for e.g. SEPABCDEFABCDEF", "format": "uri", "title": "Phone Name", "target_attr": "name", "type": "string", "target": "/api/device/cucm/Phone/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "device/cucm/Phone", "choices": [] } } }, "type": "array", "title": "Phones" }, "mobility": { "type": "boolean", "title": "Extension Mobility" }, "voicemail": { "type": "boolean", "title": "Voicemail" }, "online_voicemail": { "type": "boolean", "title": "Online Mailbox/Voicemail" }, "webex": { "type": "boolean", "title": "WebEx" }, "lync": { "type": "boolean", "title": "SfB Enabled" }, "online_sfb": { "type": "boolean", "title": "Online Skype for Business" }, "lync_details": { "type": "object", "properties": { "sip_address": { "type": "string", "title": "SIP Address" }, "phone_number": { "type": "string", "title": "Phone Number" }, "ext": { "type": "string", "title": "Extension" }, "id": { "type": "string", "title": "Id" } } }, "office365": { "type": "boolean", "title": "Office365 Enabled" }, "ms_teams": { "type": "boolean", "title": "Microsoft Teams" }, "snr": { "type": "boolean", "title": "Single Number Reach" }, "mobile_number": { "required": false, "type": "string", "title": "SNR Mobile Number" }, "jabber": { "type": "boolean", "description": "When adding a Jabber device also specify a line to be associated. The first line specified will be used for any Jabber device added here.", "title": "Jabber Device" }, "jabber_agent": { "choices": [ { "value": "android", "title": "Android" }, { "value": "csf", "title": "CSF" }, { "value": "ipad", "title": "iPad" }, { "value": "iphone", "title": "iPhone" } ], "type": "string", "title": "Jabber Agent" }, "jabber_devices": { "items": { "type": "object", "properties": { "jabber_agent": { "choices": [ { "value": "android", "title": "Android" }, { "value": "csf", "title": "CSF" }, { "value": "ipad", "title": "iPad" }, { "value": "iphone", "title": "iPhone" } ], "type": "string", "title": "Jabber Agent" }, "device_name": { "type": "string", "title": "Device Name" }, "mobile_identity": { "type": "boolean", "title": "Mobile Identity" }, "mobile_identity_destination": { "type": "string", "title": "Destination" } } }, "type": "array", "title": "Jabber Devices" }, "self_service_id": { "type": "boolean", "title": "Enable Self Provisioning" }, "self_provisioning_profile": { "required": false, "type": "string", "title": "Self Provisioning User Profile" }, "ldap_user": { "type": "string", "title": "LDAP User" }, "normalized_user": { "type": "string", "title": "Normalized User" }, "cucm_user": { "type": "string", "title": "CUCM User" }, "cucm_user_ldapDirectoryName": { "type": "string", "title": "CUCM User LDAP Directory Name" }, "phone_template": { "type": "string", "title": "Phone Template" }, "phone_type": { "type": "string", "title": "Phone Type" }, "phone_protocol": { "type": "string", "title": "Phone Protocol" }, "usage_location": { "description": "Location used for Microsoft Licensing", "title": "Usage Location", "required": false, "readonly": true, "type": "string" } }, "schema_version": "1.5" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/view/LyncQuickSubscriber/add/ |
|
The GUI Add form of view/LyncQuickSubscriber as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Create | POST | /api/view/LyncQuickSubscriber | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]shows the View resource has no instance pkid, because a view model stores no instances.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for view/LyncQuickSubscriber | POST | /api/view/LyncQuickSubscriber/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/view/LyncQuickSubscriber/ |
|
The view/LyncQuickSubscriber schema and all instances as JSON. |
(The list will return 0 to 3 view/LyncQuickSubscriber instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": null, "direction": "asc", "current": "/api/view/LyncQuickSubscriber/?skip=0&limit=3&order_by=None&direction=asc&traversal=down" }, "operations": [ "add", "help", "configuration_template", "field_display_policy", "export_bulkload_template", "transform" ], "meta": { "model_type": "view/LyncQuickSubscriber", "summary_attrs": [ { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add" ], "schema_version": "1.5", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/view/LyncQuickSubscriber/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/view/LyncQuickSubscriber/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/view/LyncQuickSubscriber/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/view/LyncQuickSubscriber/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for view/LyncQuickSubscriber. | GET | /api/view/LyncQuickSubscriber/help | hierarchy=[hierarchy] | On-line help of Model ref.: view/LyncQuickSubscriber as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/view/LyncQuickSubscriber/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for view/LyncQuickSubscriber. |