POST api/SaleInvoice_DetailsAPI
Request Information
URI Parameters
None.
Body Parameters
SaleInvoice_DetailsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Header_Id | integer |
None. |
|
Item_Id | integer |
None. |
|
ItemName | string |
None. |
|
Price | decimal number |
None. |
|
BuyPrice | decimal number |
None. |
|
Qty | integer |
None. |
|
Total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Header_Id": 2, "Item_Id": 3, "ItemName": "sample string 4", "Price": 5.1, "BuyPrice": 6.1, "Qty": 7, "Total": 8.1 }
application/xml, text/xml
Sample:
<SaleInvoice_Details xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <BuyPrice>6.1</BuyPrice> <Header_Id>2</Header_Id> <Id>1</Id> <ItemName>sample string 4</ItemName> <Item_Id>3</Item_Id> <Price>5.1</Price> <Qty>7</Qty> <Total>8.1</Total> </SaleInvoice_Details>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaleInvoice_DetailsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Header_Id | integer |
None. |
|
Item_Id | integer |
None. |
|
ItemName | string |
None. |
|
Price | decimal number |
None. |
|
BuyPrice | decimal number |
None. |
|
Qty | integer |
None. |
|
Total | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Header_Id": 2, "Item_Id": 3, "ItemName": "sample string 4", "Price": 5.1, "BuyPrice": 6.1, "Qty": 7, "Total": 8.1 }
application/xml, text/xml
Sample:
<SaleInvoice_Details xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <BuyPrice>6.1</BuyPrice> <Header_Id>2</Header_Id> <Id>1</Id> <ItemName>sample string 4</ItemName> <Item_Id>3</Item_Id> <Price>5.1</Price> <Qty>7</Qty> <Total>8.1</Total> </SaleInvoice_Details>