POST api/hero/equipmentdowntime/approvereject
Request Information
URI Parameters
None.
Body Parameters
HeroAppEquipmentDowntimeApproveRejectViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IsApproved | boolean |
None. |
|
ApprovedComments | string |
None. |
|
ApprovedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "IsApproved": true, "ApprovedComments": "sample string 3", "ApprovedUser": "sample string 4" }
application/xml, text/xml
Sample:
<HeroAppEquipmentDowntimeApproveRejectViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Hero.Gulf.Application.Equipments.DowntimeLog.ViewModels"> <ApprovedComments>sample string 3</ApprovedComments> <ApprovedUser>sample string 4</ApprovedUser> <Id>1</Id> <IsApproved>true</IsApproved> </HeroAppEquipmentDowntimeApproveRejectViewModel>
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.