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"
},
"pin": {
"required": false,
"is_password": true,
"type": "string",
"description": "The corresponding CUCM and CUC user PIN will be set with this PIN",
"title": "PIN"
},
"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"
},
"subscriber_profile": {
"required": true,
"type": "string",
"description": "The profile to use for subscriber configuration.",
"title": "Subscriber Profile"
},
"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"
},
"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"
},
"phone_name": {
"type": "string",
"description": "Name to be used when provisioning a phone for e.g. SEPAABBCCDDEEFF. The specific format is dependent on the phone type specified in the profile configuration. This is only applicable if the selected Subscriber Profile has the Voice service enabled.",
"title": "Phone Name"
},
"cucm_bkey": {
"required": false,
"type": "string",
"description": "Business Key of the CUCM.",
"title": "CUCM bkey"
},
"generate_phone_name": {
"default": "true",
"type": "boolean",
"description": "A random phone name will be generated by the system. This is only applicable if the selected Subscriber Profile has the Voice service enabled.",
"title": "Use generated phone name"
}
}
},
"type": "array",
"title": "Subscribers"
}
},
"schema_version": "0.2"
}