POST api/DispatchApi/GetCurrencyTypes
Request Information
URI Parameters
None.
Body Parameters
CommonApiPara| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId | integer |
None. |
|
| DeviceId | string |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverId": 1,
"DeviceId": "sample string 2",
"CompanyId": 3
}
text/html
Sample:
{"DriverId":1,"DeviceId":"sample string 2","CompanyId":3}
application/xml, text/xml
Sample:
<CommonApiPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models"> <CompanyId>3</CompanyId> <DeviceId>sample string 2</DeviceId> <DriverId>1</DriverId> </CommonApiPara>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomReturnOfCurrencyTypeApiR| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | CurrencyTypeApiR |
None. |
|
| lstData | Collection of CurrencyTypeApiR |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": {
"CurrencyTypeApi": [
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
},
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
}
]
},
"lstData": [
{
"CurrencyTypeApi": [
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
},
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
}
]
},
{
"CurrencyTypeApi": [
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
},
{
"CurrencyId": 1,
"CurrencyName": "sample string 2"
}
]
}
]
}
text/html
Sample:
{"Status":true,"Message":"sample string 2","Data":{"CurrencyTypeApi":[{"CurrencyId":1,"CurrencyName":"sample string 2"},{"CurrencyId":1,"CurrencyName":"sample string 2"}]},"lstData":[{"CurrencyTypeApi":[{"CurrencyId":1,"CurrencyName":"sample string 2"},{"CurrencyId":1,"CurrencyName":"sample string 2"}]},{"CurrencyTypeApi":[{"CurrencyId":1,"CurrencyName":"sample string 2"},{"CurrencyId":1,"CurrencyName":"sample string 2"}]}]}
application/xml, text/xml
Sample:
<CustomReturnOfCurrencyTypeApiRkdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
<Data>
<CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
</CurrencyTypeApi>
</Data>
<Message>sample string 2</Message>
<Status>true</Status>
<lstData>
<CurrencyTypeApiR>
<CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
</CurrencyTypeApi>
</CurrencyTypeApiR>
<CurrencyTypeApiR>
<CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
<CurrencyTypeApi>
<CurrencyId>1</CurrencyId>
<CurrencyName>sample string 2</CurrencyName>
</CurrencyTypeApi>
</CurrencyTypeApi>
</CurrencyTypeApiR>
</lstData>
</CustomReturnOfCurrencyTypeApiRkdKmGoqn>