POST api/Sms/AgentSetSended

Метод для агентов. Установить статус отправлено

Request Information

URI Parameters

None.

Body Parameters

UpdSended
NameDescriptionTypeAdditional information
Id

ID сообщения

integer

None.

MessageId

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

string

None.

ServerId

ID сервера

integer

None.

Error

Описание ошибки при отправке. Если пусто - ошибок не было

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MessageId": "sample string 2",
  "ServerId": 3,
  "Error": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdSended xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto">
  <Error>sample string 4</Error>
  <Id>1</Id>
  <MessageId>sample string 2</MessageId>
  <ServerId>3</ServerId>
</UpdSended>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>