POST api/SMS/SendMassiveSMS
Request Information
URI Parameters
None.
Body Parameters
SMSTwilioRequestMassiveDTOName | Description | Type | Additional information |
---|---|---|---|
IdUser | integer |
None. |
|
ToPhoneNumbers | Collection of string |
None. |
|
Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdUser": 1, "ToPhoneNumbers": [ "sample string 1", "sample string 2" ], "Message": "sample string 2" }
text/html
Sample:
{"IdUser":1,"ToPhoneNumbers":["sample string 1","sample string 2"],"Message":"sample string 2"}
application/xml, text/xml
Sample:
<SMSTwilioRequestMassiveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <IdUser>1</IdUser> <Message>sample string 2</Message> <ToPhoneNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ToPhoneNumbers> </SMSTwilioRequestMassiveDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SMSTwilioResponseDTOName | Description | Type | Additional information |
---|---|---|---|
code | string |
None. |
|
description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "description": "sample string 2" }
text/html
Sample:
{"code":"sample string 1","description":"sample string 2"}
application/xml, text/xml
Sample:
<SMSTwilioResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <code>sample string 1</code> <description>sample string 2</description> </SMSTwilioResponseDTO>