POST api/Shifts
Request Information
URI Parameters
None.
Body Parameters
ShiftsClose| Name | Description | Type | Additional information |
|---|---|---|---|
| sales_emp | integer |
None. |
|
| branch | integer |
None. |
|
| trans_no | integer |
None. |
|
| saleTotal | decimal number |
None. |
|
| stockTotal | decimal number |
None. |
|
| acc_close | integer |
None. |
|
| acc_plus | integer |
None. |
|
| acc_minus | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"sales_emp": 1,
"branch": 2,
"trans_no": 3,
"saleTotal": 4.1,
"stockTotal": 5.1,
"acc_close": 6,
"acc_plus": 7,
"acc_minus": 8
}
application/xml, text/xml
Sample:
<ShiftsController.ShiftsClose xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Controllers.InvViews"> <acc_close>6</acc_close> <acc_minus>8</acc_minus> <acc_plus>7</acc_plus> <branch>2</branch> <saleTotal>4.1</saleTotal> <sales_emp>1</sales_emp> <stockTotal>5.1</stockTotal> <trans_no>3</trans_no> </ShiftsController.ShiftsClose>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |