POST api/Works/InProgress
Create an In Progress Work Order
Request Information
URI Parameters
None.
Body Parameters
InProgressWOName | Description | Type | Additional information |
---|---|---|---|
Description |
|
string |
Required |
Series |
This may be required, depending on ManWinWin preferences |
string |
None. |
MaintenanceRequest |
Maintenance Request code |
string |
None. |
Allocation |
|
AllocationAsset |
Required |
System |
Ignored if the Allocation.Type is Item |
string |
None. |
WorkType |
|
string |
Required |
ScheduledStart |
|
date |
Required |
Start |
|
date |
Required |
Manager |
This may be required, depending on ManWinWin preferences |
string |
None. |
Planned |
|
string |
None. |
Performed |
|
string |
None. |
Component |
|
integer |
None. |
Symptom |
This may be required, depending on ManWinWin preferences |
string |
None. |
Cause |
This may be required, depending on ManWinWin preferences |
string |
None. |
Urgency |
If empty equals to Normal |
Urgency |
None. |
TM |
|
decimal number |
Equal or above: 0 |
MaintenancePlan |
|
string |
None. |
UserCode01 |
|
string |
Max length: 50 |
UserCode02 |
|
string |
Max length: 50 |
Request Formats
Sample:
{ "Description": "sample string 1", "Series": "sample string 2", "MaintenanceRequest": "sample string 3", "Allocation": { "Type": "Item", "Code": "sample string 1" }, "System": "sample string 4", "WorkType": "sample string 5", "ScheduledStart": "2024-11-14T16:23:02.9694128+00:00", "Start": "2024-11-14T16:23:02.9694128+00:00", "Manager": "sample string 8", "Planned": "sample string 9", "Performed": "sample string 10", "Component": 1, "Symptom": "sample string 11", "Cause": "sample string 12", "Urgency": 0, "TM": 13.1, "MaintenancePlan": "sample string 14", "UserCode01": "sample string 15", "UserCode02": "sample string 16" }
Sample:
<InProgressWO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Trabalhos"> <Allocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Type>Item</d2p1:Type> </Allocation> <Cause>sample string 12</Cause> <Component>1</Component> <Description>sample string 1</Description> <MaintenancePlan>sample string 14</MaintenancePlan> <MaintenanceRequest>sample string 3</MaintenanceRequest> <Manager>sample string 8</Manager> <Performed>sample string 10</Performed> <Planned>sample string 9</Planned> <ScheduledStart>2024-11-14T16:23:02.9694128+00:00</ScheduledStart> <Series>sample string 2</Series> <Start>2024-11-14T16:23:02.9694128+00:00</Start> <Symptom>sample string 11</Symptom> <System>sample string 4</System> <TM>13.1</TM> <Urgency>Critical</Urgency> <UserCode01>sample string 15</UserCode01> <UserCode02>sample string 16</UserCode02> <WorkType>sample string 5</WorkType> </InProgressWO>
Sample:
Sample not available.
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Description" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Series" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="MaintenanceRequest" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Allocation.Type" Item --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Allocation.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="System" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkType" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ScheduledStart" 2024-11-14T16:23:02.9694128+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Start" 2024-11-14T16:23:02.9694128+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Manager" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Planned" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Performed" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Component" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Symptom" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Cause" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Urgency" Critical --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TM" 13.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="MaintenancePlan" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UserCode01" sample string 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UserCode02" sample string 16 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
stringResponse Formats
Sample:
"sample string 1"
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--