GET api/Currencies/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CurrencyViewModel| Name | Description | Type | Additional 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
}
application/xml, text/xml
Sample:
<CurrencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Description>sample string 2</Description> <Id>sample string 1</Id> <InvoiceEnabled>true</InvoiceEnabled> </CurrencyViewModel>