POST SaveStockAPI?databaseKey={databaseKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| databaseKey | string |
Required |
Body Parameters
SaveStockAPIBO| Name | Description | Type | Additional information |
|---|---|---|---|
| Vid | integer |
None. |
|
| SessionId | string |
None. |
|
| User | string |
None. |
|
| OrderDate | string |
None. |
|
| Itemid | integer |
None. |
|
| Qty | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| ThisPoId | integer |
None. |
|
| Notes | string |
None. |
|
| DiscPer | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Vid": 1,
"SessionId": "sample string 2",
"User": "sample string 3",
"OrderDate": "sample string 4",
"Itemid": 5,
"Qty": 6.0,
"Rate": 7.0,
"Amount": 8.0,
"ThisPoId": 9,
"Notes": "sample string 10",
"DiscPer": 11.0
}
application/xml, text/xml
Sample:
<OnlineCreatePO_BO.SaveStockAPIBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrackerService2.Controllers"> <Amount>8</Amount> <DiscPer>11</DiscPer> <Itemid>5</Itemid> <Notes>sample string 10</Notes> <OrderDate>sample string 4</OrderDate> <Qty>6</Qty> <Rate>7</Rate> <SessionId>sample string 2</SessionId> <ThisPoId>9</ThisPoId> <User>sample string 3</User> <Vid>1</Vid> </OnlineCreatePO_BO.SaveStockAPIBO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.