POST api/Notification/SendSms
Request Information
URI Parameters
None.
Body Parameters
SendSmsRequestDtoName | Description | Type | Additional information |
---|---|---|---|
GsmNumber | string |
None. |
|
Message | string |
None. |
|
Type | SmsType |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "GsmNumber": "sample string 1", "Message": "sample string 2", "Type": 24, "UserId": "4297d266-2009-4b4d-b6a3-29d635594e51" }
application/xml, text/xml
Sample:
<SendSmsRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <GsmNumber>sample string 1</GsmNumber> <Message>sample string 2</Message> <Type>Checkout</Type> <UserId>4297d266-2009-4b4d-b6a3-29d635594e51</UserId> </SendSmsRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendSmsResponseDtoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
IsGsmValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorMessage": "sample string 2", "IsGsmValid": true }
application/xml, text/xml
Sample:
<SendSmsResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <ErrorMessage>sample string 2</ErrorMessage> <IsGsmValid>true</IsGsmValid> <Success>true</Success> </SendSmsResponseDto>