[Index]
Model ref.: view/GS_FMCv2_QuickSubscriber_VIEW
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": true,
"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/QuickAddGroups/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/QuickAddGroups",
"choices": []
},
"device_pool": {
"required": false,
"type": "string",
"title": "Device Pools"
},
"class_of_service": {
"required": false,
"type": "string",
"description": "Select to apply CSS's to lines and devices as defined in the selected Class of Service definition.",
"title": "Class of Service"
},
"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"
},
"snr": {
"type": "string",
"title": "Single Number Reach"
},
"spark": {
"type": "string",
"title": "Spark"
}
}
},
"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"
},
"webex": {
"type": "boolean",
"title": "WebEx"
},
"snr": {
"type": "boolean",
"title": "Single Number Reach"
},
"spark": {
"type": "boolean",
"title": "Spark"
},
"spark_template": {
"type": "string",
"title": "Spark Template"
},
"emcc": {
"type": "boolean",
"title": "EMCC"
},
"mobile_number": {
"required": false,
"type": "string",
"title": "SNR Mobile Number"
},
"hidden_mobile_number_pattern": {
"required": false,
"type": "string",
"title": "SNR Mobile Number"
},
"fmc_checkbox": {
"type": "boolean",
"title": "Fixed Mobile Convergence"
},
"fmc": {
"type": "object",
"title": "FMC",
"properties": {
"fmc_extension": {
"type": "string",
"title": "FMC Extension"
},
"mobile_make": {
"type": "string",
"title": "Mobile Make"
},
"data_option": {
"type": "string",
"title": "Data Option"
},
"roaming_option": {
"type": "string",
"title": "Roaming Option"
}
}
},
"fmcv2": {
"type": "boolean",
"description": "FMC using Carrier Integrated Mobile",
"title": "FMC v2"
},
"FMCnumber": {
"type": "string",
"title": "FMC number"
},
"dn": {
"type": "string",
"description": "Line to use for FMC. Leave Blank to use first line above.",
"title": "FMC associated line"
},
"option_mobile_make_display": {
"target": "/api/data/GS_FMCv2_MobileMake_DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"format": "uri",
"title": "Mobile Make",
"type": "string",
"description": "Mobile Make",
"target_model_type": "data/GS_FMCv2_MobileMake_DAT",
"choices": []
},
"option_data_display": {
"target": "/api/data/GS_FMCv2_DataOption_DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"format": "uri",
"title": "Data Option",
"type": "string",
"description": "Data Option",
"target_model_type": "data/GS_FMCv2_DataOption_DAT",
"choices": []
},
"option_roaming_display": {
"target": "/api/data/GS_FMCv2_RoamingOption_DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"format": "uri",
"title": "Roaming Option",
"type": "string",
"description": "Roaming Option",
"target_model_type": "data/GS_FMCv2_RoamingOption_DAT",
"choices": []
},
"templateName": {
"type": "string",
"description": "Time Of Day template name",
"title": "Time Of Day template name"
},
"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 / Dual-Mode 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 / Dual-Mode 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 and Dual-Mode 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"
},
"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"
}
},
"schema_version": "1.5.4002.1"
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the GUI Add form. | GET | /api/view/GS_FMCv2_QuickSubscriber_VIEW/add/ |
|
The GUI Add form of view/GS_FMCv2_QuickSubscriber_VIEW 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/GS_FMCv2_QuickSubscriber_VIEW | 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/GS_FMCv2_QuickSubscriber_VIEW | POST | /api/view/GS_FMCv2_QuickSubscriber_VIEW/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| List | GET | /api/view/GS_FMCv2_QuickSubscriber_VIEW/ |
|
The view/GS_FMCv2_QuickSubscriber_VIEW schema and all instances as JSON. |
(The list will return 0 to 3 view/GS_FMCv2_QuickSubscriber_VIEW instances)
{
"pagination": {
"skip": 0,
"limit": 3,
"maximum_limit": 2000,
"total": 0,
"total_limit": null,
"order_by": null,
"direction": "asc",
"current": "/api/view/GS_FMCv2_QuickSubscriber_VIEW/?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/GS_FMCv2_QuickSubscriber_VIEW",
"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.4002.1",
"actions": [
{
"add": {
"method": "GET",
"class": "add",
"href": "/api/view/GS_FMCv2_QuickSubscriber_VIEW/add/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Add"
}
},
{
"export_bulkload_template": {
"method": "POST",
"class": "bulkload_template",
"href": "/api/view/GS_FMCv2_QuickSubscriber_VIEW/export_bulkload_template/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Export Bulk Load Template"
}
},
{
"list": {
"method": "GET",
"class": "list",
"href": "/api/view/GS_FMCv2_QuickSubscriber_VIEW/?hierarchy=[hierarchy]",
"support_async": false,
"title": "List"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/view/GS_FMCv2_QuickSubscriber_VIEW/help?hierarchy=[hierarchy]",
"support_async": false,
"title": "Help"
}
}
]
},
"resources": []
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the on-line Help for view/GS_FMCv2_QuickSubscriber_VIEW. | GET | /api/view/GS_FMCv2_QuickSubscriber_VIEW/help | hierarchy=[hierarchy] | On-line help of Model ref.: view/GS_FMCv2_QuickSubscriber_VIEW as HTML |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Help | GET | /api/view/GS_FMCv2_QuickSubscriber_VIEW/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for view/GS_FMCv2_QuickSubscriber_VIEW. |