View to add multiple Subscribers using a Service Profile.
GET http://[host-proxy]/api/view/BulkAddSubscriberFromProfile/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"subscribers": {
"items": {
"type": "object",
"properties": {
"username": {
"required": true,
"type": "string",
"description": "Username of the subscriber.",
"title": "Username"
},
"subscriber_profile": {
"required": true,
"type": "string",
"description": "The profile to use for subscriber configuration.",
"title": "Subscriber Profile"
},
"firstname": {
"type": "string",
"description": "First name of the subscriber.",
"title": "First Name"
},
"lastname": {
"required": true,
"type": "string",
"description": "Last name of the subscriber.",
"title": "Last Name"
},
"email": {
"pattern": "^([^.@]+)(\\.[^.@]+)*@([^.@]+\\.)+([^.@]+)$",
"required": true,
"type": "string",
"description": "Email address of the subscriber.",
"title": "Email Address"
},
"automatic_line": {
"type": "boolean",
"description": "Use the next available line from the inventory.",
"title": "Use next available line"
},
"mobile_number": {
"type": "string",
"description": "Mobile number of the subscriber.",
"title": "Mobile Number"
},
"line": {
"type": "string",
"description": "The line number to use for this subscriber.",
"title": "Line"
},
"cucm_bkey": {
"required": false,
"type": "string",
"description": "Business Key of the CUCM.",
"title": "CUCM bkey"
}
}
},
"type": "array",
"title": "Subscribers"
}
}
}