POST api/MachinePowerGet
Request Information
URI Parameters
None.
Body Parameters
MachinePowerHeaderName | Description | Type | Additional information |
---|---|---|---|
WorkOrderNo | string |
None. |
|
WorkReportNo | string |
None. |
|
MachineNo | string |
None. |
|
MachineName | string |
None. |
|
PowerId | string |
None. |
|
ProcessCode | string |
None. |
|
ProcessName | string |
None. |
|
CheckInTime | string |
None. |
|
CheckOutTime | string |
None. |
|
Details | Collection of MachinePowerDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "WorkOrderNo": "sample string 1", "WorkReportNo": "sample string 2", "MachineNo": "sample string 3", "MachineName": "sample string 4", "PowerId": "sample string 5", "ProcessCode": "sample string 6", "ProcessName": "sample string 7", "CheckInTime": "sample string 8", "CheckOutTime": "sample string 9", "Details": [ { "WorkOrderNo": "sample string 1", "WorkReportNo": "sample string 2", "OrderNo": "sample string 3", "Seq": "sample string 4", "ItemNo": "sample string 5", "Qty": "sample string 6", "Brand": "sample string 7" }, { "WorkOrderNo": "sample string 1", "WorkReportNo": "sample string 2", "OrderNo": "sample string 3", "Seq": "sample string 4", "ItemNo": "sample string 5", "Qty": "sample string 6", "Brand": "sample string 7" } ] }
application/xml, text/xml
Sample:
<MachinePowerHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EOMModel"> <CheckInTime>sample string 8</CheckInTime> <CheckOutTime>sample string 9</CheckOutTime> <Details> <MachinePowerDetail> <Brand>sample string 7</Brand> <ItemNo>sample string 5</ItemNo> <OrderNo>sample string 3</OrderNo> <Qty>sample string 6</Qty> <Seq>sample string 4</Seq> <WorkOrderNo>sample string 1</WorkOrderNo> <WorkReportNo>sample string 2</WorkReportNo> </MachinePowerDetail> <MachinePowerDetail> <Brand>sample string 7</Brand> <ItemNo>sample string 5</ItemNo> <OrderNo>sample string 3</OrderNo> <Qty>sample string 6</Qty> <Seq>sample string 4</Seq> <WorkOrderNo>sample string 1</WorkOrderNo> <WorkReportNo>sample string 2</WorkReportNo> </MachinePowerDetail> </Details> <MachineName>sample string 4</MachineName> <MachineNo>sample string 3</MachineNo> <PowerId>sample string 5</PowerId> <ProcessCode>sample string 6</ProcessCode> <ProcessName>sample string 7</ProcessName> <WorkOrderNo>sample string 1</WorkOrderNo> <WorkReportNo>sample string 2</WorkReportNo> </MachinePowerHeader>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |