POST api/Accounting/EditMoneyExchange
Request Information
URI Parameters
None.
Body Parameters
EditMoneyExchangeTransactionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Money_Exchange_ID | integer |
None. |
|
| Exchange_Date | string |
None. |
|
| Customer_ID | integer |
None. |
|
| Amount_To_Exchange | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| From_Currency_ID | integer |
None. |
|
| To_Currency_ID | integer |
None. |
|
| Currency_Rate | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| Notes | string |
None. |
|
| User_Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Money_Exchange_ID": 1,
"Exchange_Date": "sample string 2",
"Customer_ID": 3,
"Amount_To_Exchange": 4.1,
"Amount": 5.1,
"From_Currency_ID": 6,
"To_Currency_ID": 7,
"Currency_Rate": 8.1,
"IsActive": true,
"Notes": "sample string 10",
"User_Name": "sample string 11"
}
application/xml, text/xml
Sample:
<EditMoneyExchangeTransactionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels"> <Amount>5.1</Amount> <Amount_To_Exchange>4.1</Amount_To_Exchange> <Currency_Rate>8.1</Currency_Rate> <Customer_ID>3</Customer_ID> <Exchange_Date>sample string 2</Exchange_Date> <From_Currency_ID>6</From_Currency_ID> <IsActive>true</IsActive> <Money_Exchange_ID>1</Money_Exchange_ID> <Notes>sample string 10</Notes> <To_Currency_ID>7</To_Currency_ID> <User_Name>sample string 11</User_Name> </EditMoneyExchangeTransactionViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | string |
None. |
|
| ErrorText | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": "sample string 1",
"ErrorText": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models"> <Data /> <ErrorText>sample string 2</ErrorText> <Success>sample string 1</Success> </ResultModel>