POST api/client/ChangeLog

Получение лога изменения данных клиента

Request Information

URI Parameters

None.

Body Parameters

ChangeLogRequest
NameDescriptionTypeAdditional information
PosCode

Код торговой точки

string

None.

Client

Идентификатор клиента

integer

None.

BegDate

Условие: начальная дата периода регистрации клиентов

date

None.

EndDate

Условие: конечная дата периода регистрации клиентов

date

None.

Operator

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

integer

None.

Token

Токен пользователя, который инициирует данный запрос

integer

None.

SiteCode

Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PosCode": "sample string 1",
  "Client": 1,
  "BegDate": "2024-12-14T05:58:26.8042794+03:00",
  "EndDate": "2024-12-14T05:58:26.8042794+03:00",
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 2"
}

application/xml, text/xml

Sample:
<ChangeLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request">
  <Operator xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Operator>
  <SiteCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 2</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <BegDate>2024-12-14T05:58:26.8042794+03:00</BegDate>
  <Client>1</Client>
  <EndDate>2024-12-14T05:58:26.8042794+03:00</EndDate>
  <PosCode>sample string 1</PosCode>
</ChangeLogRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ChangeLogResponse
NameDescriptionTypeAdditional information
ClientData

Массив ClientData

Collection of ChangeLogClientDataRow

None.

PhoneData

Массив PhoneData

Collection of ChangeLogPhoneDataRow

None.

CardData

Массив CardData

Collection of ChangeLogCardDataRow

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClientData": [
    {
      "Id": 1,
      "Description": "sample string 1",
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "Name": "sample string 2",
      "Surname": "sample string 3",
      "Patronymic": "sample string 4",
      "Email": "sample string 5",
      "BirthDate": "2024-12-14T05:58:27.0230323+03:00",
      "AllowEmail": true,
      "AllowPush": true,
      "AllowSms": true
    },
    {
      "Id": 1,
      "Description": "sample string 1",
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "Name": "sample string 2",
      "Surname": "sample string 3",
      "Patronymic": "sample string 4",
      "Email": "sample string 5",
      "BirthDate": "2024-12-14T05:58:27.0230323+03:00",
      "AllowEmail": true,
      "AllowPush": true,
      "AllowSms": true
    }
  ],
  "PhoneData": [
    {
      "Id": 1,
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "OldPhone": 1,
      "NewPhone": 1,
      "ChangeInitiator": "sample string 1"
    },
    {
      "Id": 1,
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "OldPhone": 1,
      "NewPhone": 1,
      "ChangeInitiator": "sample string 1"
    }
  ],
  "CardData": [
    {
      "Id": 1,
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "OldCard": 1,
      "NewCard": 1,
      "ChangeInitiator": "sample string 1"
    },
    {
      "Id": 1,
      "ProcTime": "2024-12-14T05:58:27.0230323+03:00",
      "OldCard": 1,
      "NewCard": 1,
      "ChangeInitiator": "sample string 1"
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ChangeLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</ErrorCode>
  <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 2</Message>
  <CardData>
    <ChangeLogResponse.ChangeLogCardDataRow>
      <ChangeInitiator>sample string 1</ChangeInitiator>
      <Id>1</Id>
      <NewCard>1</NewCard>
      <OldCard>1</OldCard>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
    </ChangeLogResponse.ChangeLogCardDataRow>
    <ChangeLogResponse.ChangeLogCardDataRow>
      <ChangeInitiator>sample string 1</ChangeInitiator>
      <Id>1</Id>
      <NewCard>1</NewCard>
      <OldCard>1</OldCard>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
    </ChangeLogResponse.ChangeLogCardDataRow>
  </CardData>
  <ClientData>
    <ChangeLogResponse.ChangeLogClientDataRow>
      <AllowEmail>true</AllowEmail>
      <AllowPush>true</AllowPush>
      <AllowSms>true</AllowSms>
      <BirthDate>2024-12-14T05:58:27.0230323+03:00</BirthDate>
      <Description>sample string 1</Description>
      <Email>sample string 5</Email>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Patronymic>sample string 4</Patronymic>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
      <Surname>sample string 3</Surname>
    </ChangeLogResponse.ChangeLogClientDataRow>
    <ChangeLogResponse.ChangeLogClientDataRow>
      <AllowEmail>true</AllowEmail>
      <AllowPush>true</AllowPush>
      <AllowSms>true</AllowSms>
      <BirthDate>2024-12-14T05:58:27.0230323+03:00</BirthDate>
      <Description>sample string 1</Description>
      <Email>sample string 5</Email>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Patronymic>sample string 4</Patronymic>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
      <Surname>sample string 3</Surname>
    </ChangeLogResponse.ChangeLogClientDataRow>
  </ClientData>
  <PhoneData>
    <ChangeLogResponse.ChangeLogPhoneDataRow>
      <ChangeInitiator>sample string 1</ChangeInitiator>
      <Id>1</Id>
      <NewPhone>1</NewPhone>
      <OldPhone>1</OldPhone>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
    </ChangeLogResponse.ChangeLogPhoneDataRow>
    <ChangeLogResponse.ChangeLogPhoneDataRow>
      <ChangeInitiator>sample string 1</ChangeInitiator>
      <Id>1</Id>
      <NewPhone>1</NewPhone>
      <OldPhone>1</OldPhone>
      <ProcTime>2024-12-14T05:58:27.0230323+03:00</ProcTime>
    </ChangeLogResponse.ChangeLogPhoneDataRow>
  </PhoneData>
</ChangeLogResponse>