POST api/marketing/CommunicationPriorityListAction

Создание, изменение, получение информации о списке приоритетов коммуникаций

Request Information

URI Parameters

None.

Body Parameters

CommunicationPriorityListActionRequest
NameDescriptionTypeAdditional information
CommunicationPriorityListId

Идентификатор списка для обновления\получения информации

integer

None.

Name

Наименование списка товаров (для Create и Update)

string

None.

ActionType

Тип действия, которое необходимо произвести (Create, Update, Info)

string

None.

Operator

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

integer

None.

Token

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

integer

None.

SiteCode

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CommunicationPriorityListId": 1,
  "Name": "sample string 1",
  "ActionType": "sample string 2",
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 3"
}

application/xml, text/xml

Sample:
<CommunicationPriorityListActionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.MarketingRequest">
  <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 3</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <ActionType>sample string 2</ActionType>
  <CommunicationPriorityListId>1</CommunicationPriorityListId>
  <Name>sample string 1</Name>
</CommunicationPriorityListActionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommunicationPriorityListActionResponse
NameDescriptionTypeAdditional information
CommunicationPriorityList

Идентификатор созданного списка

integer

None.

Data

Массив данных

Collection of CommunicationPriorityListActionDataRow

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CommunicationPriorityList": 1,
  "Data": [
    {
      "Id": 1,
      "Operator": 1,
      "ProcTime": "2025-12-22T09:18:25.3450907+03:00",
      "Name": "sample string 1"
    },
    {
      "Id": 1,
      "Operator": 1,
      "ProcTime": "2025-12-22T09:18:25.3450907+03:00",
      "Name": "sample string 1"
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CommunicationPriorityListActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.MarketingResponse">
  <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>
  <CommunicationPriorityList>1</CommunicationPriorityList>
  <Data>
    <CommunicationPriorityListActionResponse.CommunicationPriorityListActionDataRow>
      <Id>1</Id>
      <Name>sample string 1</Name>
      <Operator>1</Operator>
      <ProcTime>2025-12-22T09:18:25.3450907+03:00</ProcTime>
    </CommunicationPriorityListActionResponse.CommunicationPriorityListActionDataRow>
    <CommunicationPriorityListActionResponse.CommunicationPriorityListActionDataRow>
      <Id>1</Id>
      <Name>sample string 1</Name>
      <Operator>1</Operator>
      <ProcTime>2025-12-22T09:18:25.3450907+03:00</ProcTime>
    </CommunicationPriorityListActionResponse.CommunicationPriorityListActionDataRow>
  </Data>
</CommunicationPriorityListActionResponse>