POST api/EmployeeScheduleReport/Post

Request Information

URI Parameters

None.

Body Parameters

ScheduleReportParams
NameDescriptionTypeAdditional information
LotName

string

None.

DepartmentId

integer

None.

ByShift

boolean

None.

ByEmployee

boolean

None.

AllowDetail

boolean

None.

Shifts

Collection of integer

None.

EmployeeId

integer

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LotName": "sample string 1",
  "DepartmentId": 2,
  "ByShift": true,
  "ByEmployee": true,
  "AllowDetail": true,
  "Shifts": [
    1,
    2
  ],
  "EmployeeId": 1,
  "StartDate": "2025-10-27T17:32:05.0450035+00:00",
  "EndDate": "2025-10-27T17:32:05.0450035+00:00"
}

application/xml, text/xml

Sample:
<ScheduleReportParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.MPI.Business.Entities">
  <AllowDetail>true</AllowDetail>
  <ByEmployee>true</ByEmployee>
  <ByShift>true</ByShift>
  <DepartmentId>2</DepartmentId>
  <EmployeeId>1</EmployeeId>
  <EndDate>2025-10-27T17:32:05.0450035+00:00</EndDate>
  <LotName>sample string 1</LotName>
  <Shifts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Shifts>
  <StartDate>2025-10-27T17:32:05.0450035+00:00</StartDate>
</ScheduleReportParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.