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": {
"cucm_bkey": {
"required": false,
"type": "string",
"description": "Business Key of the CUCM.",
"title": "CUCM bkey"
},
"username": {
"required": true,
"type": "string",
"description": "Username of the subscriber.",
"title": "Username"
},
"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": {
"description": "Email address of the subscriber.",
"title": "Email Address",
"pattern": "^([^.@]+)(\\.[^.@]+)*@([^.@]+\\.)+([^.@]+)$",
"required": false,
"type": "string"
},
"mobile_number": {
"type": "string",
"description": "Mobile number of the subscriber.",
"title": "Mobile Number"
},
"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"
},
"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"
},
"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"
},
"automatic_line": {
"type": "boolean",
"description": "Use the next available line from the inventory.",
"title": "Use next available line"
},
"line": {
"type": "string",
"description": "The line number to use for this subscriber.",
"title": "Line"
},
"subscriber_profile": {
"required": true,
"type": "string",
"description": "The profile to use for subscriber configuration.",
"title": "Subscriber Profile"
}
}
},
"type": "array",
"title": "Subscribers"
}
},
"schema_version": "0.3"
}