POST fruitsapi/saveorupdatesales
Request Information
URI Parameters
None.
Body Parameters
Sales| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
|
| PartyId | string |
None. |
|
| ProdId | string |
None. |
|
| Qty | decimal number |
None. |
|
| Weight | decimal number |
None. |
|
| NetWeight | decimal number |
None. |
|
| SelRate | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Cancel | string |
None. |
|
| OrderReceived | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"BranchId": 3,
"PartyId": "sample string 4",
"ProdId": "sample string 5",
"Qty": 6.0,
"Weight": 7.0,
"NetWeight": 8.0,
"SelRate": 9.0,
"Amount": 10.0,
"Cancel": "sample string 11",
"OrderReceived": "sample string 12"
}
text/html
Sample:
{"Id":1,"CompanyId":2,"BranchId":3,"PartyId":"sample string 4","ProdId":"sample string 5","Qty":6.0,"Weight":7.0,"NetWeight":8.0,"SelRate":9.0,"Amount":10.0,"Cancel":"sample string 11","OrderReceived":"sample string 12"}
application/xml, text/xml
Sample:
<Sales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FruitsApi.Models"> <Amount>10</Amount> <BranchId>3</BranchId> <Cancel>sample string 11</Cancel> <CompanyId>2</CompanyId> <Id>1</Id> <NetWeight>8</NetWeight> <OrderReceived>sample string 12</OrderReceived> <PartyId>sample string 4</PartyId> <ProdId>sample string 5</ProdId> <Qty>6</Qty> <SelRate>9</SelRate> <Weight>7</Weight> </Sales>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.