POST api/client/ClientInfoMobile

Получение информации о наличии у клиента моб. приложения и его активности в нём

Request Information

URI Parameters

None.

Body Parameters

ClientInfoMobileRequest
NameDescriptionTypeAdditional information
Client

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

integer

None.

Operator

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

integer

None.

Token

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

integer

None.

SiteCode

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Client": 1,
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 1"
}

application/xml, text/xml

Sample:
<ClientInfoMobileRequest 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 1</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <Client>1</Client>
</ClientInfoMobileRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClientInfoMobileResponse
NameDescriptionTypeAdditional information
VersionMobile

Версия моб. приложения

string

None.

LastMobileLogin

Дата последней покупки

date

None.

DaysNoLogin

Количество дней без логина в приложении

integer

None.

AppRegistrator

Операционная система устройства

string

None.

AllowPush

Разрешение на коммуникацию по apppush

boolean

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VersionMobile": "sample string 1",
  "LastMobileLogin": "2024-10-22T09:25:20.8912977+03:00",
  "DaysNoLogin": 1,
  "AppRegistrator": "sample string 2",
  "AllowPush": true,
  "ErrorCode": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ClientInfoMobileResponse 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">3</ErrorCode>
  <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 4</Message>
  <AllowPush>true</AllowPush>
  <AppRegistrator>sample string 2</AppRegistrator>
  <DaysNoLogin>1</DaysNoLogin>
  <LastMobileLogin>2024-10-22T09:25:20.8912977+03:00</LastMobileLogin>
  <VersionMobile>sample string 1</VersionMobile>
</ClientInfoMobileResponse>