POST api/pos/SaveOperatorPosList

Сохранение списка магазинов

Request Information

URI Parameters

None.

Body Parameters

OperatorPosListCreateRequest
NameDescriptionTypeAdditional information
Operator

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

integer

None.

PosListName

Наименование создаваемого списка

string

None.

PosList

Перечень ID ТТ для списка

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": 1,
  "PosListName": "sample string 2",
  "PosList": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<OperatorPosListCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request">
  <Operator>1</Operator>
  <PosList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PosList>
  <PosListName>sample string 2</PosListName>
</OperatorPosListCreateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperatorPosListResponse
NameDescriptionTypeAdditional information
Poses

Collection of Pos

None.

PosLists

Списки ТТ

Collection of OperatorPosList

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Poses": [
    {
      "Id": 1,
      "PosCode": "sample string 2",
      "Region": "sample string 3",
      "City": "sample string 4",
      "Address": "sample string 5",
      "Phone": "sample string 6",
      "Mapposition": "sample string 7",
      "ShowOnSite": true,
      "GivesCard": true,
      "PartnerName": "sample string 10",
      "PosName": "sample string 11",
      "Landmark": "sample string 12",
      "Clientdistance": 1,
      "Description": "sample string 13",
      "Workdescription": "sample string 14",
      "Clostime": "00:00:00.1234567",
      "Imagemain": "sample string 15",
      "Imagepreview": "sample string 16",
      "Imagearray": "sample string 17",
      "Opentime": "00:00:00.1234567"
    },
    {
      "Id": 1,
      "PosCode": "sample string 2",
      "Region": "sample string 3",
      "City": "sample string 4",
      "Address": "sample string 5",
      "Phone": "sample string 6",
      "Mapposition": "sample string 7",
      "ShowOnSite": true,
      "GivesCard": true,
      "PartnerName": "sample string 10",
      "PosName": "sample string 11",
      "Landmark": "sample string 12",
      "Clientdistance": 1,
      "Description": "sample string 13",
      "Workdescription": "sample string 14",
      "Clostime": "00:00:00.1234567",
      "Imagemain": "sample string 15",
      "Imagepreview": "sample string 16",
      "Imagearray": "sample string 17",
      "Opentime": "00:00:00.1234567"
    }
  ],
  "PosLists": [
    {
      "Id": 1,
      "Caption": "sample string 2",
      "Operator": 3,
      "Poses": [
        {
          "Id": 1,
          "PosCode": "sample string 2",
          "Region": "sample string 3",
          "City": "sample string 4",
          "Address": "sample string 5",
          "Phone": "sample string 6",
          "Mapposition": "sample string 7",
          "ShowOnSite": true,
          "GivesCard": true,
          "PartnerName": "sample string 10",
          "PosName": "sample string 11",
          "Landmark": "sample string 12",
          "Clientdistance": 1,
          "Description": "sample string 13",
          "Workdescription": "sample string 14",
          "Clostime": "00:00:00.1234567",
          "Imagemain": "sample string 15",
          "Imagepreview": "sample string 16",
          "Imagearray": "sample string 17",
          "Opentime": "00:00:00.1234567"
        },
        {
          "Id": 1,
          "PosCode": "sample string 2",
          "Region": "sample string 3",
          "City": "sample string 4",
          "Address": "sample string 5",
          "Phone": "sample string 6",
          "Mapposition": "sample string 7",
          "ShowOnSite": true,
          "GivesCard": true,
          "PartnerName": "sample string 10",
          "PosName": "sample string 11",
          "Landmark": "sample string 12",
          "Clientdistance": 1,
          "Description": "sample string 13",
          "Workdescription": "sample string 14",
          "Clostime": "00:00:00.1234567",
          "Imagemain": "sample string 15",
          "Imagepreview": "sample string 16",
          "Imagearray": "sample string 17",
          "Opentime": "00:00:00.1234567"
        }
      ]
    },
    {
      "Id": 1,
      "Caption": "sample string 2",
      "Operator": 3,
      "Poses": [
        {
          "Id": 1,
          "PosCode": "sample string 2",
          "Region": "sample string 3",
          "City": "sample string 4",
          "Address": "sample string 5",
          "Phone": "sample string 6",
          "Mapposition": "sample string 7",
          "ShowOnSite": true,
          "GivesCard": true,
          "PartnerName": "sample string 10",
          "PosName": "sample string 11",
          "Landmark": "sample string 12",
          "Clientdistance": 1,
          "Description": "sample string 13",
          "Workdescription": "sample string 14",
          "Clostime": "00:00:00.1234567",
          "Imagemain": "sample string 15",
          "Imagepreview": "sample string 16",
          "Imagearray": "sample string 17",
          "Opentime": "00:00:00.1234567"
        },
        {
          "Id": 1,
          "PosCode": "sample string 2",
          "Region": "sample string 3",
          "City": "sample string 4",
          "Address": "sample string 5",
          "Phone": "sample string 6",
          "Mapposition": "sample string 7",
          "ShowOnSite": true,
          "GivesCard": true,
          "PartnerName": "sample string 10",
          "PosName": "sample string 11",
          "Landmark": "sample string 12",
          "Clientdistance": 1,
          "Description": "sample string 13",
          "Workdescription": "sample string 14",
          "Clostime": "00:00:00.1234567",
          "Imagemain": "sample string 15",
          "Imagepreview": "sample string 16",
          "Imagearray": "sample string 17",
          "Opentime": "00:00:00.1234567"
        }
      ]
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<OperatorPosListResponse 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>
  <PosLists xmlns:d2p1="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Data">
    <d2p1:OperatorPosList>
      <d2p1:Caption>sample string 2</d2p1:Caption>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Operator>3</d2p1:Operator>
      <d2p1:Poses>
        <d2p1:Pos>
          <d2p1:Address>sample string 5</d2p1:Address>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:Clientdistance>1</d2p1:Clientdistance>
          <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
          <d2p1:Description>sample string 13</d2p1:Description>
          <d2p1:GivesCard>true</d2p1:GivesCard>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
          <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
          <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
          <d2p1:Landmark>sample string 12</d2p1:Landmark>
          <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
          <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
          <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
          <d2p1:Phone>sample string 6</d2p1:Phone>
          <d2p1:PosCode>sample string 2</d2p1:PosCode>
          <d2p1:PosName>sample string 11</d2p1:PosName>
          <d2p1:Region>sample string 3</d2p1:Region>
          <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
          <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
        </d2p1:Pos>
        <d2p1:Pos>
          <d2p1:Address>sample string 5</d2p1:Address>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:Clientdistance>1</d2p1:Clientdistance>
          <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
          <d2p1:Description>sample string 13</d2p1:Description>
          <d2p1:GivesCard>true</d2p1:GivesCard>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
          <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
          <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
          <d2p1:Landmark>sample string 12</d2p1:Landmark>
          <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
          <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
          <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
          <d2p1:Phone>sample string 6</d2p1:Phone>
          <d2p1:PosCode>sample string 2</d2p1:PosCode>
          <d2p1:PosName>sample string 11</d2p1:PosName>
          <d2p1:Region>sample string 3</d2p1:Region>
          <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
          <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
        </d2p1:Pos>
      </d2p1:Poses>
    </d2p1:OperatorPosList>
    <d2p1:OperatorPosList>
      <d2p1:Caption>sample string 2</d2p1:Caption>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Operator>3</d2p1:Operator>
      <d2p1:Poses>
        <d2p1:Pos>
          <d2p1:Address>sample string 5</d2p1:Address>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:Clientdistance>1</d2p1:Clientdistance>
          <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
          <d2p1:Description>sample string 13</d2p1:Description>
          <d2p1:GivesCard>true</d2p1:GivesCard>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
          <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
          <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
          <d2p1:Landmark>sample string 12</d2p1:Landmark>
          <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
          <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
          <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
          <d2p1:Phone>sample string 6</d2p1:Phone>
          <d2p1:PosCode>sample string 2</d2p1:PosCode>
          <d2p1:PosName>sample string 11</d2p1:PosName>
          <d2p1:Region>sample string 3</d2p1:Region>
          <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
          <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
        </d2p1:Pos>
        <d2p1:Pos>
          <d2p1:Address>sample string 5</d2p1:Address>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:Clientdistance>1</d2p1:Clientdistance>
          <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
          <d2p1:Description>sample string 13</d2p1:Description>
          <d2p1:GivesCard>true</d2p1:GivesCard>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
          <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
          <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
          <d2p1:Landmark>sample string 12</d2p1:Landmark>
          <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
          <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
          <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
          <d2p1:Phone>sample string 6</d2p1:Phone>
          <d2p1:PosCode>sample string 2</d2p1:PosCode>
          <d2p1:PosName>sample string 11</d2p1:PosName>
          <d2p1:Region>sample string 3</d2p1:Region>
          <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
          <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
        </d2p1:Pos>
      </d2p1:Poses>
    </d2p1:OperatorPosList>
  </PosLists>
  <Poses xmlns:d2p1="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Data">
    <d2p1:Pos>
      <d2p1:Address>sample string 5</d2p1:Address>
      <d2p1:City>sample string 4</d2p1:City>
      <d2p1:Clientdistance>1</d2p1:Clientdistance>
      <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
      <d2p1:Description>sample string 13</d2p1:Description>
      <d2p1:GivesCard>true</d2p1:GivesCard>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
      <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
      <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
      <d2p1:Landmark>sample string 12</d2p1:Landmark>
      <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
      <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Phone>sample string 6</d2p1:Phone>
      <d2p1:PosCode>sample string 2</d2p1:PosCode>
      <d2p1:PosName>sample string 11</d2p1:PosName>
      <d2p1:Region>sample string 3</d2p1:Region>
      <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
      <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
    </d2p1:Pos>
    <d2p1:Pos>
      <d2p1:Address>sample string 5</d2p1:Address>
      <d2p1:City>sample string 4</d2p1:City>
      <d2p1:Clientdistance>1</d2p1:Clientdistance>
      <d2p1:Clostime>PT0.1234567S</d2p1:Clostime>
      <d2p1:Description>sample string 13</d2p1:Description>
      <d2p1:GivesCard>true</d2p1:GivesCard>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Imagearray>sample string 17</d2p1:Imagearray>
      <d2p1:Imagemain>sample string 15</d2p1:Imagemain>
      <d2p1:Imagepreview>sample string 16</d2p1:Imagepreview>
      <d2p1:Landmark>sample string 12</d2p1:Landmark>
      <d2p1:Mapposition>sample string 7</d2p1:Mapposition>
      <d2p1:Opentime>PT0.1234567S</d2p1:Opentime>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Phone>sample string 6</d2p1:Phone>
      <d2p1:PosCode>sample string 2</d2p1:PosCode>
      <d2p1:PosName>sample string 11</d2p1:PosName>
      <d2p1:Region>sample string 3</d2p1:Region>
      <d2p1:ShowOnSite>true</d2p1:ShowOnSite>
      <d2p1:Workdescription>sample string 14</d2p1:Workdescription>
    </d2p1:Pos>
  </Poses>
</OperatorPosListResponse>