POST api/values/UserInfo

Информация об операторе

Request Information

URI Parameters

None.

Body Parameters

OperatorInfoRequest
NameDescriptionTypeAdditional information
Operator

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

integer

None.

Partner

идентификатор партнера

integer

None.

Pos

идентификатор точки

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": 1,
  "Partner": 2,
  "Pos": 3
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperatorInfoResponse
NameDescriptionTypeAdditional information
OperatorName

имя оператора

string

None.

PartnerName

имя партнера

string

None.

PosName

имя точки

string

None.

ErrorCode

код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OperatorName": "sample string 1",
  "PartnerName": "sample string 2",
  "PosName": "sample string 3",
  "ErrorCode": 4,
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<OperatorInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ErrorCode>4</ErrorCode>
  <Message>sample string 5</Message>
  <OperatorName>sample string 1</OperatorName>
  <PartnerName>sample string 2</PartnerName>
  <PosName>sample string 3</PosName>
</OperatorInfoResponse>