POST api/Accounting/EditPurchaseInvoice
Request Information
URI Parameters
None.
Body Parameters
Edit_Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| DailyTransId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| CurrencyId | integer |
None. |
|
| CurrencyRate | decimal number |
None. |
|
| InvoiceDate | string |
None. |
|
| Details | string |
None. |
|
| User_Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DailyTransId": 1,
"InvoiceId": 2,
"CustomerId": 3,
"Amount": 4.1,
"CurrencyId": 5,
"CurrencyRate": 6.1,
"InvoiceDate": "sample string 7",
"Details": "sample string 8",
"User_Name": "sample string 9"
}
application/xml, text/xml
Sample:
<Edit_Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels"> <Amount>4.1</Amount> <CurrencyId>5</CurrencyId> <CurrencyRate>6.1</CurrencyRate> <CustomerId>3</CustomerId> <DailyTransId>1</DailyTransId> <Details>sample string 8</Details> <InvoiceDate>sample string 7</InvoiceDate> <InvoiceId>2</InvoiceId> <User_Name>sample string 9</User_Name> </Edit_Invoice>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>