PUT api/Records/RealTimeManHours

Add a new real time Man-Hour record

Request Information

URI Parameters

None.

Body Parameters

RealTimeManHoursRecordNew
NameDescriptionTypeAdditional information
Employee

The employee code

string

Required

WorkOrder

Where this record should be allocated

string

Required

Date

Start date and time

date

Required

Request Formats

Sample:
{
  "Employee": "sample string 1",
  "WorkOrder": "sample string 2",
  "Date": "2024-11-14T16:26:36.282931+00:00"
}
Sample:
<RealTimeManHoursRecordNew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Apontamentos">
  <Date>2024-11-14T16:26:36.282931+00:00</Date>
  <Employee>sample string 1</Employee>
  <WorkOrder>sample string 2</WorkOrder>
</RealTimeManHoursRecordNew>
Sample:

Sample not available.

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Employee"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrder"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Date"

2024-11-14T16:26:36.2829310+00:00
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Status code: 201 (Created)

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.