Send SMS, method: /api/send-sms/
Example:
№ | Field | Type | Description | Required or not | Comment |
1 | login | string | Login in BOX system | Required field. | |
2 | password | string | Password in md5 format | Required field. | Contact tech support and we will give you a hash for the API |
3 | phone | string | Phone number to send to | Required field. | |
4 | content | string | Message content | Required field. | |
5 | orderid | integer | Business process identifier for binding message | Optional field. | |
6 | ordercode1c | string | External business process identifier for message binding | Optional field. | |
7 | nosend | boolean | Fake SMS sending | Optional field. | If the parameter value is true, it is produced" fictitious" send SMS by creating dispatch record in events and process, but without delivery to end user |
Send EMAIL, method: /api/send-email/
Example:
№ | Field | Type | Description | Required or not | Comment |
1 | login | string | Login in BOX system | Required field. | |
2 | password | string | Password in md5 format | Required field. | Contact tech support and we will give you a hash for the API |
3 | emailfrom | string | Email from which to send | Required field. | |
4 | emailto | string | Email to send to | Required field. | |
5 | subject | string | Message subject | Optional field. | |
6 | content | string | Message content | Optional field. | |
7 | type | string | Message type | Optional field. | (text or html) |
8 | template | boolean | Whether to wrap in a template? | Optional field. | 1 or 0 |
9 | cdate | datetime | The date and time the message was sent | Optional field. |