POST api/Accounting/MoneyExchangeTransactionList

Request Information

URI Parameters

None.

Body Parameters

MoneyExchangeTransactionListCriteriaViewModel
NameDescriptionTypeAdditional information
Money_Exchange_ID

integer

None.

From_Exchange_Date

string

None.

To_Exchange_Date

string

None.

Customer_ID

integer

None.

Customer_Code

string

None.

Customer_Name

string

None.

From_Currency_ID

integer

None.

To_Currency_ID

integer

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Money_Exchange_ID": 1,
  "From_Exchange_Date": "sample string 2",
  "To_Exchange_Date": "sample string 3",
  "Customer_ID": 4,
  "Customer_Code": "sample string 5",
  "Customer_Name": "sample string 6",
  "From_Currency_ID": 7,
  "To_Currency_ID": 8,
  "Notes": "sample string 9"
}

application/xml, text/xml

Sample:
<MoneyExchangeTransactionListCriteriaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels">
  <Customer_Code>sample string 5</Customer_Code>
  <Customer_ID>4</Customer_ID>
  <Customer_Name>sample string 6</Customer_Name>
  <From_Currency_ID>7</From_Currency_ID>
  <From_Exchange_Date>sample string 2</From_Exchange_Date>
  <Money_Exchange_ID>1</Money_Exchange_ID>
  <Notes>sample string 9</Notes>
  <To_Currency_ID>8</To_Currency_ID>
  <To_Exchange_Date>sample string 3</To_Exchange_Date>
</MoneyExchangeTransactionListCriteriaViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MoneyExchangeTransactionListCriteriaViewModel'.

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional 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>