GET api/Sms/GetAgentsStatus

Возвращает статус работы SMPP клиентов

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AgentsStatus
NameDescriptionTypeAdditional information
Id

integer

None.

Ip

string

None.

LastChange

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Ip": "sample string 2",
    "LastChange": "sample string 3"
  },
  {
    "Id": 1,
    "Ip": "sample string 2",
    "LastChange": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgentsStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto">
  <AgentsStatus>
    <Id>1</Id>
    <Ip>sample string 2</Ip>
    <LastChange>sample string 3</LastChange>
  </AgentsStatus>
  <AgentsStatus>
    <Id>1</Id>
    <Ip>sample string 2</Ip>
    <LastChange>sample string 3</LastChange>
  </AgentsStatus>
</ArrayOfAgentsStatus>