POST api/Send/SMS

This is the API for incoming order data save into 800degrees database

Request Information

URI Parameters

None.

Body Parameters

The model.

SendSMSModel
NameDescriptionTypeAdditional information
PhoneNumber

string

Required

TemplateKey

string

Required

RequestDate

date

Required

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "TemplateKey": "sample string 2",
  "RequestDate": "2024-07-02T01:41:21.4371486+00:00"
}

application/xml, text/xml

Sample:
<SendSMSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObject.ViewModel">
  <PhoneNumber>sample string 1</PhoneNumber>
  <RequestDate>2024-07-02T01:41:21.4371486+00:00</RequestDate>
  <TemplateKey>sample string 2</TemplateKey>
</SendSMSModel>

Response Information

Resource Description

APIResponseBaseOfString
NameDescriptionTypeAdditional information
StatusCode

integer

None.

IsSuccess

boolean

None.

Message

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "IsSuccess": true,
  "Message": "sample string 3",
  "Result": "sample string 4"
}

application/xml, text/xml

Sample:
<APIResponseBaseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObject.Other">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <Result>sample string 4</Result>
  <StatusCode>1</StatusCode>
</APIResponseBaseOfstring>