POST api/hero/oemequipmentdowntime/close

Request Information

URI Parameters

None.

Body Parameters

HeroAppOemEquipmentDowntimeCloseViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

ReasonCodeDescription

string

None.

TimeZone

TimeZoneType

None.

StartDate

date

None.

StartComments

string

None.

EndComments

string

None.

EndDate

date

None.

UserLogin

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReasonCodeDescription": "sample string 2",
  "TimeZone": 0,
  "StartDate": "2025-06-21T08:23:12.0891117-04:00",
  "StartComments": "sample string 4",
  "EndComments": "sample string 5",
  "EndDate": "2025-06-21T08:23:12.0891117-04:00",
  "UserLogin": "sample string 7"
}

application/xml, text/xml

Sample:
<HeroAppOemEquipmentDowntimeCloseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Hero.Wtec.Application.Oem.Equipments.DowntimeLog.ViewModels">
  <EndComments>sample string 5</EndComments>
  <EndDate>2025-06-21T08:23:12.0891117-04:00</EndDate>
  <Id>1</Id>
  <ReasonCodeDescription>sample string 2</ReasonCodeDescription>
  <StartComments>sample string 4</StartComments>
  <StartDate>2025-06-21T08:23:12.0891117-04:00</StartDate>
  <TimeZone>CST</TimeZone>
  <UserLogin>sample string 7</UserLogin>
</HeroAppOemEquipmentDowntimeCloseViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.