GET api/Currencies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CurrencyViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Description

string

None.

InvoiceEnabled

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Description": "sample string 2",
    "InvoiceEnabled": true
  },
  {
    "Id": "sample string 1",
    "Description": "sample string 2",
    "InvoiceEnabled": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCurrencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CurrencyViewModel>
    <Description>sample string 2</Description>
    <Id>sample string 1</Id>
    <InvoiceEnabled>true</InvoiceEnabled>
  </CurrencyViewModel>
  <CurrencyViewModel>
    <Description>sample string 2</Description>
    <Id>sample string 1</Id>
    <InvoiceEnabled>true</InvoiceEnabled>
  </CurrencyViewModel>
</ArrayOfCurrencyViewModel>