POST api/CompanyCurrency/Create
Request Information
URI Parameters
None.
Body Parameters
CompanyCurrencyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Currencies | integer |
None. |
|
| CurrencyExchangeGain | integer |
None. |
|
| CurrencyExchangeLoss | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Currencies": 2,
"CurrencyExchangeGain": 3,
"CurrencyExchangeLoss": 4
}
application/xml, text/xml
Sample:
<CompanyCurrencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizFramework.Web.Services.Areas.Accounting.ViewModel"> <Currencies>2</Currencies> <CurrencyExchangeGain>3</CurrencyExchangeGain> <CurrencyExchangeLoss>4</CurrencyExchangeLoss> <ID>1</ID> </CompanyCurrencyViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>