POST api/Sms/GetMessageStatus

Получить информацию по сообщениям

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SmsDetail
NameDescriptionTypeAdditional information
Id

ID сообщения

integer

None.

Created

Время создания сообщения

string

None.

Phone

Номер телефона

string

None.

Message

Сообщение

string

None.

Server

ID сервиса

integer

None.

MessageId

ID сообщения SMPP сервера

string

None.

Sended

Время отправки сообщения(без MessageId указывает, что агент забрал на отправку)

string

None.

DelivrdTime

Время отчета о доставке

string

None.

DelivrdStatus

Статус доставки

string

None.

Type

ID сервера

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Created": "sample string 2",
    "Phone": "sample string 3",
    "Message": "sample string 4",
    "Server": 5,
    "MessageId": "sample string 6",
    "Sended": "sample string 7",
    "DelivrdTime": "sample string 8",
    "DelivrdStatus": "sample string 9",
    "Type": 10
  },
  {
    "Id": 1,
    "Created": "sample string 2",
    "Phone": "sample string 3",
    "Message": "sample string 4",
    "Server": 5,
    "MessageId": "sample string 6",
    "Sended": "sample string 7",
    "DelivrdTime": "sample string 8",
    "DelivrdStatus": "sample string 9",
    "Type": 10
  }
]

application/xml, text/xml

Sample:
<ArrayOfSmsDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto">
  <SmsDetail>
    <Created>sample string 2</Created>
    <DelivrdStatus>sample string 9</DelivrdStatus>
    <DelivrdTime>sample string 8</DelivrdTime>
    <Id>1</Id>
    <Message>sample string 4</Message>
    <MessageId>sample string 6</MessageId>
    <Phone>sample string 3</Phone>
    <Sended>sample string 7</Sended>
    <Server>5</Server>
    <Type>10</Type>
  </SmsDetail>
  <SmsDetail>
    <Created>sample string 2</Created>
    <DelivrdStatus>sample string 9</DelivrdStatus>
    <DelivrdTime>sample string 8</DelivrdTime>
    <Id>1</Id>
    <Message>sample string 4</Message>
    <MessageId>sample string 6</MessageId>
    <Phone>sample string 3</Phone>
    <Sended>sample string 7</Sended>
    <Server>5</Server>
    <Type>10</Type>
  </SmsDetail>
</ArrayOfSmsDetail>