Request Information

Method returns currency by Id.

Example URL:
v2.0/Currencies/{id}
NameDescriptionTypeAdditional information
id

Currency Id

integer

Required

id

Currency Id

integer

Required

None.

Response Information

CurrencyApiModel
NameDescriptionTypeAdditional information
Code

string

None.

Country

string

None.

Id

Resource identifier

integer

Readonly

Name

string

None.

Priority

integer

None.

Symbol

string

None.

Sample:
{
  "Code": "sample string 1",
  "Country": "sample string 2",
  "Name": "sample string 3",
  "Priority": 4,
  "Symbol": "sample string 5",
  "Id": 6
}
Sample:
<CurrencyApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.ReadOnlyEntites">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">6</Id>
  <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Links>
  <Code>sample string 1</Code>
  <Country>sample string 2</Country>
  <Name>sample string 3</Name>
  <Priority>4</Priority>
  <Symbol>sample string 5</Symbol>
</CurrencyApiModel>