GET http://[host-proxy]/api/view/AddRemoveDeviceAppUser/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"userid": {
"title": "Application User",
"description": "Filters a list of Application Users.",
"type": "string",
"format": "uri",
"required": true,
"target": "/api/device/cucm/AppUser/choices/?field=userid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "userid",
"target_model_type": "device/cucm/AppUser",
"choices": []
},
"device_action": {
"title": "Action",
"description": "Select Action to display a filtered list of devices to associate or disassociate to the Application User.",
"type": "string",
"required": true,
"choices": [
{
"value": "add",
"title": "Associate Devices"
},
{
"value": "remove",
"title": "Disassociate Devices"
},
{
"value": "",
"title": ""
}
]
},
"filterDevices": {
"title": "Filter Devices",
"description": "Use this to filter Devices which contain.",
"type": "string",
"required": false
},
"devices": {
"title": "Phones to Associate or Disassociate",
"description": "A filtered list of Phones and CTI Route Points depending on the Application User and Action selected.",
"type": "array",
"minItems": 1,
"required": false,
"target": "device/cucm/Phone",
"items": {
"type": "string"
}
},
"filterDeviceProfiles": {
"title": "Filter Device Profiles",
"description": "Use this to filter Device Profiles which contain.",
"type": "string",
"required": false
},
"deviceProfile": {
"title": "Device Profiles to Associate or Disassociate",
"description": "A filtered list of Device Profiles depending on the Application User and Action selected",
"type": "array",
"minItems": 1,
"required": false,
"items": {
"type": "string"
}
}
},
"schema_version": "1.0"
}