GET api/CurrencyRates/operator?from={from}&to={to}&currencyId={currencyId}&partnerId={partnerId}&gateCode={gateCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

string

Required

to

string

Required

currencyId

integer

Required

partnerId

integer

Required

gateCode

string

None.

Body Parameters

None.

Response Information

Resource Description

ListInternalCoursesApiResponse
NameDescriptionTypeAdditional information
Courses

Collection of InternalCourse

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "Courses": [
    {
      "Id": 1,
      "Date": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "CurrencyID": 2,
      "CurrencyName": "sample string 3",
      "PartnerID": 4,
      "PartnerName": "sample string 5",
      "Value": 6.0,
      "ValueCB": 7.0
    },
    {
      "Id": 1,
      "Date": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "CurrencyID": 2,
      "CurrencyName": "sample string 3",
      "PartnerID": 4,
      "PartnerName": "sample string 5",
      "Value": 6.0,
      "ValueCB": 7.0
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T17:43:37.1931266+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<ListInternalCoursesApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.GetAll">
  <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-23T17:43:37.1931266+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <Courses xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.Entities">
    <d2p1:InternalCourse>
      <d2p1:CurrencyID>2</d2p1:CurrencyID>
      <d2p1:CurrencyName>sample string 3</d2p1:CurrencyName>
      <d2p1:Date xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:Date>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PartnerID>4</d2p1:PartnerID>
      <d2p1:PartnerName>sample string 5</d2p1:PartnerName>
      <d2p1:Value>6</d2p1:Value>
      <d2p1:ValueCB>7</d2p1:ValueCB>
    </d2p1:InternalCourse>
    <d2p1:InternalCourse>
      <d2p1:CurrencyID>2</d2p1:CurrencyID>
      <d2p1:CurrencyName>sample string 3</d2p1:CurrencyName>
      <d2p1:Date xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:Date>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PartnerID>4</d2p1:PartnerID>
      <d2p1:PartnerName>sample string 5</d2p1:PartnerName>
      <d2p1:Value>6</d2p1:Value>
      <d2p1:ValueCB>7</d2p1:ValueCB>
    </d2p1:InternalCourse>
  </Courses>
</ListInternalCoursesApiResponse>