Table of Contents |
---|
...
name | description | example value | validation rules |
---|---|---|---|
username | username of the user to be created. | 1212412@testReseller | required, can't contain spaces |
password | Password | password | required |
resellerName | Name of reseller | resellerName | required, can't contain spaces and '@'. Reseller with given name must exist |
resellerPassword | Reseller password | password | required for authentication |
customerId | ID of the customer | 5a4e96a030046095c7ef280f | must be a valid Mongo ObjectId, the customer with the given ID has to exist |
User's e-mail. | john@doe.com | required, must be a valid e-mail | |
phoneNumber | Phone number to contact with user | 999444111 | required, can contain only +, " " and digits, no other validation |
finalStatusPush | Push notification type for final message statuses | {"type": "URL", "data": {"url": "http://push.example.com"}} | optional, if present - must be a valid JSON with a
|
swappingSourceAddressAllowed | Flag indicating whether the source address can be swapped | true | optional, value must be either "true" or "false", case insensitive, default: "false" |
sourceAddress | Source address to be used when the sender is absent from the original message | 48123456789 | optional, if present must be either of:
|
...
name | description | example value | validation rules |
---|---|---|---|
name | name of the customer to be created | test-customer | required, can't contain spaces. Customer with given name must not exist. |
resellerName | Name of reseller | resellerName | required, can't contain spaces and '@'. Reseller with given name must exist |
resellerPassword | Reseller password | password | required for authentication |
integrationId | ID of the integration | integrationId | Required |
rotationAlgorithm | Rotation algoritgm | MAX_ROTATION | optional, if present - must be one of: CONVERSATION , MAX_ROTATION ; default: MAX_ROTATION |
billingType | Billing type | PRE_PAID | optional, if present - must be one of: PRE_PAID , POST_PAID ; default: POST_PAID even is reseller Default billing type is Pre-Paid |
moCharge | MO charge | 0 | optional, if present - must be a valid integer; default: 0 |
sourceAddress | Source address to be used when the sender is absent from the original message and no source address is defined for the user sending the message | 48123456789 | optional, if present must be either of:
|
Response
Reponse will be sent as a JSON with single value. Example:
...