[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": {
"self_provisioning_profile": {
"required": false,
"type": "string",
"title": "Self Provisioning User Profile"
},
"ms_teams": {
"type": "boolean",
"title": "Microsoft Teams"
},
"directoryUri": {
"required": false,
"type": "string",
"title": "Directory URI"
},
"pin": {
"required": false,
"is_password": true,
"type": "string",
"description": "The corresponding CUCM and CUC user PIN will be set with this PIN",
"title": "PIN"
},
"mobility": {
"type": "boolean",
"title": "Extension Mobility"
},
"homeNumber": {
"required": false,
"type": "string",
"title": "Home Number"
},
"phones": {
"items": {
"type": "object",
"properties": {
"phone_name": {
"target": "/api/device/cucm/Phone/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"format": "uri",
"title": "Phone Name",
"choices": [],
"target_attr": "name",
"target_model_type": "device/cucm/Phone",
"type": "string",
"description": "Name of phone to provision for e.g. SEPABCDEFABCDEF"
}
}
},
"type": "array",
"title": "Phones"
},
"existing": {
"type": "object",
"properties": {
"ExchangeUM_id": {
"type": "integer",
"title": "Exchange UM ID"
},
"phones": {
"type": "string",
"title": "Phones"
},
"voicemail": {
"type": "string",
"title": "Voicemail Extension"
},
"sip_address": {
"type": "string",
"title": "SIP Address"
},
"ext_mobilities": {
"type": "string",
"title": "Extension Mobility Profiles"
},
"webex": {
"type": "string",
"title": "WebEx"
},
"lync_id": {
"type": "string",
"title": "SfB Id"
},
"snr": {
"type": "string",
"title": "Single Number Reach"
}
},
"title": "Existing Services"
},
"manager": {
"required": false,
"type": "string",
"title": "Manager"
},
"lync_details": {
"type": "object",
"properties": {
"phone_number": {
"type": "string",
"title": "Phone Number"
},
"sip_address": {
"type": "string",
"title": "SIP Address"
},
"ext": {
"type": "string",
"title": "Extension"
},
"id": {
"type": "string",
"title": "Id"
}
}
},
"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"
},
"online_voicemail": {
"type": "boolean",
"title": "Online Mailbox/Voicemail"
},
"user_status": {
"type": "string",
"title": "User status"
},
"usage_location": {
"readonly": true,
"required": false,
"type": "string",
"description": "Location used for Microsoft Licensing",
"title": "Usage Location"
},
"title": {
"required": false,
"type": "string",
"title": "Title"
},
"lync": {
"type": "boolean",
"title": "SfB Enabled"
},
"entitlement_profile": {
"required": false,
"type": "string",
"title": "Entitlement Profile"
},
"office365": {
"type": "boolean",
"title": "Office365 Enabled"
},
"webex": {
"type": "boolean",
"title": "WebEx"
},
"department": {
"required": false,
"type": "string",
"title": "Department"
},
"cucm_user_ldapDirectoryName": {
"type": "string",
"title": "CUCM User LDAP Directory Name"
},
"jabber_agent": {
"choices": [
{
"value": "android",
"title": "Android"
},
{
"value": "csf",
"title": "CSF"
},
{
"value": "ipad",
"title": "iPad"
},
{
"value": "iphone",
"title": "iPhone"
}
],
"type": "string",
"title": "Jabber Agent"
},
"email": {
"pattern": "^([^.@]+)(\\.[^.@]+)*@([^.@]+\\.)+([^.@]+)$",
"type": "string",
"format": "email",
"required": false,
"title": "Email Address"
},
"username": {
"required": true,
"type": "string",
"title": "Username"
},
"online_sfb": {
"type": "boolean",
"title": "Online Skype for Business"
},
"phone_protocol": {
"type": "string",
"title": "Phone Protocol"
},
"firstname": {
"required": false,
"type": "string",
"title": "First Name"
},
"normalized_user": {
"type": "string",
"title": "Normalized User"
},
"lastname": {
"required": true,
"type": "string",
"title": "Last Name"
},
"snr": {
"type": "boolean",
"title": "Single Number Reach"
},
"mobile_number": {
"required": false,
"type": "string",
"title": "SNR Mobile Number"
},
"password": {
"required": false,
"is_password": true,
"type": "string",
"description": "The corresponding CUCM, CUC and WebEx user password will be set with this password",
"title": "Password"
},
"ldap_user": {
"type": "string",
"title": "LDAP User"
},
"telephoneNumber": {
"required": false,
"type": "string",
"title": "Telephone Number"
},
"mobileNumber": {
"required": false,
"type": "string",
"title": "User's Mobile Number"
},
"phone_template": {
"type": "string",
"title": "Phone Template"
},
"voicemail": {
"type": "boolean",
"title": "Voicemail"
},
"lines": {
"items": {
"type": "object",
"properties": {
"directory_number": {
"type": "string",
"title": "Directory Number"
}
}
},
"required": false,
"type": "array",
"title": "Lines"
},
"qagroup_name": {
"target": "/api/data/LyncQuickAddGroups-Teams/choices/?field=group_name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"format": "uri",
"default": "default",
"required": true,
"choices": [],
"target_attr": "group_name",
"target_model_type": "data/LyncQuickAddGroups-Teams",
"title": "Quick Add Group",
"type": "string"
},
"self_service_id": {
"type": "boolean",
"title": "Enable Self Provisioning"
},
"cucm_user": {
"type": "string",
"title": "CUCM User"
},
"jabber_devices": {
"items": {
"type": "object",
"properties": {
"mobile_identity_destination": {
"type": "string",
"title": "Destination"
},
"mobile_identity": {
"type": "boolean",
"title": "Mobile Identity"
},
"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"
}
}
},
"type": "array",
"title": "Jabber Devices"
},
"voice": {
"type": "boolean",
"title": "Voice"
},
"phone_type": {
"type": "string",
"title": "Phone Type"
}
},
"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)
{
"operations": [
"add",
"help",
"configuration_template",
"field_display_policy",
"export_bulkload_template",
"transform"
],
"pagination": {
"direction": "asc",
"order_by": null,
"maximum_limit": 2000,
"skip": 0,
"current": "/api/view/LyncQuickSubscriber/?skip=0&limit=3&order_by=None&direction=asc&traversal=default",
"limit": 3,
"total_limit": null,
"total": 0
},
"meta": {
"tags": [],
"cached": true,
"title": "",
"business_key": {},
"schema_version": "1.5",
"references": {
"device": [
{
"pkid": "",
"href": ""
}
],
"children": [],
"parent": [
{
"pkid": "6t0ggef2c0deab00hb595101",
"href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101"
}
],
"foreign_key": []
},
"actions": [
{
"add": {
"support_async": false,
"class": "add",
"href": "/api/view/LyncQuickSubscriber/add/?hierarchy=[hierarchy]",
"method": "GET",
"title": "Add"
}
},
{
"export_bulkload_template": {
"support_async": false,
"class": "bulkload_template",
"href": "/api/view/LyncQuickSubscriber/export_bulkload_template/?hierarchy=[hierarchy]",
"method": "POST",
"title": "Export Bulk Load Template"
}
},
{
"list": {
"support_async": false,
"class": "list",
"href": "/api/view/LyncQuickSubscriber/?hierarchy=[hierarchy]",
"method": "GET",
"title": "List"
}
},
{
"help": {
"support_async": false,
"class": "help",
"href": "/api/view/LyncQuickSubscriber/help?hierarchy=[hierarchy]",
"method": "GET",
"title": "Help"
}
}
],
"model_type": "view/LyncQuickSubscriber",
"model_specific_actions": [
"add"
],
"summary_attrs": [
{
"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 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. |