POST sample/calculateoilhrs
Request Information
URI Parameters
None.
Body Parameters
CompHrsParams| Name | Description | Type | Additional information |
|---|---|---|---|
| CompartmentID | integer |
None. |
|
| SamplingDate | string |
None. |
|
| CurrentMachineHours | decimal number |
None. |
|
| OilAdded | boolean |
None. |
|
| OilChanged | boolean |
None. |
|
| CompartmentChanged | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompartmentID": 1,
"SamplingDate": "sample string 2",
"CurrentMachineHours": 3.1,
"OilAdded": true,
"OilChanged": true,
"CompartmentChanged": true
}
application/xml, text/xml
Sample:
<CompHrsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LimsPortalModels"> <CompartmentChanged>true</CompartmentChanged> <CompartmentID>1</CompartmentID> <CurrentMachineHours>3.1</CurrentMachineHours> <OilAdded>true</OilAdded> <OilChanged>true</OilChanged> <SamplingDate>sample string 2</SamplingDate> </CompHrsParams>
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.