POST api/Accounting/TaxInvoice/CreateNoVatNoPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
m_CreateNoVATNoPurchaseOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| cust_id | integer |
None. |
|
| lists | Collection of m_CreateNoVATNoPurchaseOrder_List |
None. |
|
| totalPrice | decimal number |
None. |
|
| totalAmount | decimal number |
None. |
|
| discount | string |
None. |
|
| discountAmount | integer |
None. |
|
| remark | string |
String length: inclusive between 0 and 4000 |
Request Formats
application/json, text/json
Sample:
{
"cust_id": 1,
"lists": [
{
"taxInvoiceDeliveryNoteListId": 1,
"listName": "sample string 1",
"quantity": 1,
"price": 2.0
},
{
"taxInvoiceDeliveryNoteListId": 1,
"listName": "sample string 1",
"quantity": 1,
"price": 2.0
}
],
"totalPrice": 1.0,
"totalAmount": 1.0,
"discount": "sample string 2",
"discountAmount": 3,
"remark": "sample string 4"
}
application/xml, text/xml
Sample:
<m_CreateNoVATNoPurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
<cust_id>1</cust_id>
<discount>sample string 2</discount>
<discountAmount>3</discountAmount>
<lists>
<m_CreateNoVATNoPurchaseOrder_List>
<listName>sample string 1</listName>
<price>2</price>
<quantity>1</quantity>
<taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
</m_CreateNoVATNoPurchaseOrder_List>
<m_CreateNoVATNoPurchaseOrder_List>
<listName>sample string 1</listName>
<price>2</price>
<quantity>1</quantity>
<taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
</m_CreateNoVATNoPurchaseOrder_List>
</lists>
<remark>sample string 4</remark>
<totalAmount>1</totalAmount>
<totalPrice>1</totalPrice>
</m_CreateNoVATNoPurchaseOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.