POST api/values/OperatorClients

Статистика по клиентам Оператора

Request Information

URI Parameters

None.

Body Parameters

OperatorClientRequest
NameDescriptionTypeAdditional information
Operator

идентификатор Оператора программы лояльности

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": 1
}

application/xml, text/xml

Sample:
<OperatorClientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Operator>1</Operator>
</OperatorClientRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperatorClientResponse
NameDescriptionTypeAdditional information
Clients

Collection of OperatorClient

None.

ErrorCode

код ошибки

integer

None.

Message

сообщение об ошибке

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Clients": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Surname": "sample string 3",
      "Patronymic": "sample string 4",
      "Phone": 5
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Surname": "sample string 3",
      "Patronymic": "sample string 4",
      "Phone": 5
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<OperatorClientResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Clients>
    <OperatorClient>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Patronymic>sample string 4</Patronymic>
      <Phone>5</Phone>
      <Surname>sample string 3</Surname>
    </OperatorClient>
    <OperatorClient>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Patronymic>sample string 4</Patronymic>
      <Phone>5</Phone>
      <Surname>sample string 3</Surname>
    </OperatorClient>
  </Clients>
  <ErrorCode>1</ErrorCode>
  <Message>sample string 2</Message>
</OperatorClientResponse>