GET api/additionalvalues/{tableId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tableId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetAdditionalValuesResponse
NameDescriptionTypeAdditional information
AdditionalValues

Collection of AdditionalValueInfo

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "AdditionalValues": [
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    },
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-05-19T16:36:14.4662281+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<GetAdditionalValuesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.AdditionalValues">
  <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-05-19T16:36:14.4662281+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <AdditionalValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Client.Contract">
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
  </AdditionalValues>
</GetAdditionalValuesResponse>