GET api/partner/accounts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

WebPartnersResponse
NameDescriptionTypeAdditional information
WebPartners

Учетки партнёров

Collection of WebAgencyInfo

None.

ItemsLegend

Поля

Collection of ListItemLegend

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "WebPartners": [
    {
      "OperatorCode": "sample string 1",
      "OperatorName": "sample string 2",
      "Login": "sample string 3",
      "ImportOn": true,
      "SearchOn": true,
      "IsActive": true,
      "PartnerName": "sample string 5"
    },
    {
      "OperatorCode": "sample string 1",
      "OperatorName": "sample string 2",
      "Login": "sample string 3",
      "ImportOn": true,
      "SearchOn": true,
      "IsActive": true,
      "PartnerName": "sample string 5"
    }
  ],
  "ItemsLegend": [
    {
      "ColumnIndex": 1,
      "CatalogNameField": "sample string 3",
      "CatalogIdField": "sample string 4",
      "CatalogFilter": "sample string 5",
      "Values": [
        "sample string 1",
        "sample string 2"
      ],
      "Name": "sample string 6",
      "FieldName": "sample string 7",
      "ArrayName": "sample string 8",
      "ArrayIndex": "sample string 9",
      "IsVisible": true,
      "CanVisible": true,
      "Type": "sample string 12",
      "MaxLength": 13,
      "IsFixed": true,
      "ColumnWidth": 15,
      "AlwaysEditable": true
    },
    {
      "ColumnIndex": 1,
      "CatalogNameField": "sample string 3",
      "CatalogIdField": "sample string 4",
      "CatalogFilter": "sample string 5",
      "Values": [
        "sample string 1",
        "sample string 2"
      ],
      "Name": "sample string 6",
      "FieldName": "sample string 7",
      "ArrayName": "sample string 8",
      "ArrayIndex": "sample string 9",
      "IsVisible": true,
      "CanVisible": true,
      "Type": "sample string 12",
      "MaxLength": 13,
      "IsFixed": true,
      "ColumnWidth": 15,
      "AlwaysEditable": true
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T16:48:20.7075769+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<WebPartnersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T16:48:20.7075769+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <ItemsLegend xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Legend">
    <d2p1:ListItemLegend>
      <d2p1:AlwaysEditable>true</d2p1:AlwaysEditable>
      <d2p1:ArrayIndex>sample string 9</d2p1:ArrayIndex>
      <d2p1:ArrayName>sample string 8</d2p1:ArrayName>
      <d2p1:CanVisible>true</d2p1:CanVisible>
      <d2p1:ColumnWidth>15</d2p1:ColumnWidth>
      <d2p1:FieldName>sample string 7</d2p1:FieldName>
      <d2p1:IsFixed>true</d2p1:IsFixed>
      <d2p1:IsVisible>true</d2p1:IsVisible>
      <d2p1:MaxLength>13</d2p1:MaxLength>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:Type>sample string 12</d2p1:Type>
      <d2p1:CatalogFilter>sample string 5</d2p1:CatalogFilter>
      <d2p1:CatalogIdField>sample string 4</d2p1:CatalogIdField>
      <d2p1:CatalogNameField>sample string 3</d2p1:CatalogNameField>
      <d2p1:ColumnIndex>1</d2p1:ColumnIndex>
      <d2p1:ItemsUrl i:nil="true" />
      <d2p1:Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:Values>
    </d2p1:ListItemLegend>
    <d2p1:ListItemLegend>
      <d2p1:AlwaysEditable>true</d2p1:AlwaysEditable>
      <d2p1:ArrayIndex>sample string 9</d2p1:ArrayIndex>
      <d2p1:ArrayName>sample string 8</d2p1:ArrayName>
      <d2p1:CanVisible>true</d2p1:CanVisible>
      <d2p1:ColumnWidth>15</d2p1:ColumnWidth>
      <d2p1:FieldName>sample string 7</d2p1:FieldName>
      <d2p1:IsFixed>true</d2p1:IsFixed>
      <d2p1:IsVisible>true</d2p1:IsVisible>
      <d2p1:MaxLength>13</d2p1:MaxLength>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:Type>sample string 12</d2p1:Type>
      <d2p1:CatalogFilter>sample string 5</d2p1:CatalogFilter>
      <d2p1:CatalogIdField>sample string 4</d2p1:CatalogIdField>
      <d2p1:CatalogNameField>sample string 3</d2p1:CatalogNameField>
      <d2p1:ColumnIndex>1</d2p1:ColumnIndex>
      <d2p1:ItemsUrl i:nil="true" />
      <d2p1:Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:Values>
    </d2p1:ListItemLegend>
  </ItemsLegend>
  <WebPartners xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.Entities">
    <d2p1:WebAgencyInfo>
      <d2p1:ImportOn>true</d2p1:ImportOn>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Login>sample string 3</d2p1:Login>
      <d2p1:OperatorCode>sample string 1</d2p1:OperatorCode>
      <d2p1:OperatorName>sample string 2</d2p1:OperatorName>
      <d2p1:PartnerName>sample string 5</d2p1:PartnerName>
      <d2p1:SearchOn>true</d2p1:SearchOn>
    </d2p1:WebAgencyInfo>
    <d2p1:WebAgencyInfo>
      <d2p1:ImportOn>true</d2p1:ImportOn>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Login>sample string 3</d2p1:Login>
      <d2p1:OperatorCode>sample string 1</d2p1:OperatorCode>
      <d2p1:OperatorName>sample string 2</d2p1:OperatorName>
      <d2p1:PartnerName>sample string 5</d2p1:PartnerName>
      <d2p1:SearchOn>true</d2p1:SearchOn>
    </d2p1:WebAgencyInfo>
  </WebPartners>
</WebPartnersResponse>