POST api/ExchangeRate/Update
Request Information
URI Parameters
None.
Body Parameters
ExchangeRate| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CurrencyId | integer |
None. |
|
| Rate | decimal number |
None. |
|
| Date | date |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUserId | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedUserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CurrencyId": 2,
"Rate": 3.0,
"Date": "2026-06-13T05:20:56.5616639+06:30",
"Month": 5,
"Year": 6,
"CreatedDate": "2026-06-13T05:20:56.5616639+06:30",
"CreatedUserId": 8,
"UpdatedDate": "2026-06-13T05:20:56.5616639+06:30",
"UpdatedUserId": 1
}
application/xml, text/xml
Sample:
<ExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Entity"> <CreatedDate>2026-06-13T05:20:56.5616639+06:30</CreatedDate> <CreatedUserId>8</CreatedUserId> <CurrencyId>2</CurrencyId> <Date>2026-06-13T05:20:56.5616639+06:30</Date> <Id>1</Id> <Month>5</Month> <Rate>3</Rate> <UpdatedDate>2026-06-13T05:20:56.5616639+06:30</UpdatedDate> <UpdatedUserId>1</UpdatedUserId> <Year>6</Year> </ExchangeRate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| ReferenceNo | string |
None. |
|
| WholeSaleRegistrationId | string |
None. |
|
| MessageType | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"ReferenceNo": "sample string 2",
"WholeSaleRegistrationId": "sample string 3",
"MessageType": 4,
"Message": "sample string 5"
},
{
"Id": "sample string 1",
"ReferenceNo": "sample string 2",
"WholeSaleRegistrationId": "sample string 3",
"MessageType": 4,
"Message": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<ResponseMessage>
<Id>sample string 1</Id>
<Message>sample string 5</Message>
<MessageType>4</MessageType>
<ReferenceNo>sample string 2</ReferenceNo>
<WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
</ResponseMessage>
<ResponseMessage>
<Id>sample string 1</Id>
<Message>sample string 5</Message>
<MessageType>4</MessageType>
<ReferenceNo>sample string 2</ReferenceNo>
<WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
</ResponseMessage>
</ArrayOfResponseMessage>