POST api/FM/SaveFMWorkOrdersGrid?Direction={Direction}&TNId={TNId}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| WorkOrder | No documentation available. |
Define this parameter in the request body. |
| Direction | No documentation available. |
Define this parameter in the request URI. |
| TNId | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"WorkOrderNumber": "sample string 2",
"MaintenanceId": 1,
"TaskId": 3,
"MaintenanceTypeId": 4,
"StatusId": 5,
"IssueDate": "2025-12-20T22:42:44.3548226+02:00",
"scheduledStartDate": "2025-12-20T22:42:44.3548226+02:00",
"WOStartDate": "2025-12-20T22:42:44.3548226+02:00",
"Description": "sample string 8",
"WorkRequestId": 1,
"FMTechnicianId": "sample string 9",
"TaskName": "sample string 10",
"MaintenanceTypeName": "sample string 11",
"StatusName": "sample string 12",
"ScheduledEndDate": "2025-12-20T22:42:44.3548226+02:00",
"TaskDuration": 13,
"ContractorId": 1,
"FailureReasonId": 1,
"DivideCostByEqual": true,
"EquipmentCostId": 1,
"prevStatusId": 1,
"CompletionDate": "2025-12-20T22:42:44.3548226+02:00",
"PriceListId": 1,
"Price": 1.0,
"CheckStatus": 1,
"RejectionComment": "sample string 14",
"ProjectId": 1,
"VendorName": "sample string 15",
"FailureReason": "sample string 16",
"TaskNumber": "sample string 17",
"EquipmentName": "sample string 18",
"EquipmentNumber": "sample string 19",
"SerialNumber": "sample string 20",
"SubThreeName": "sample string 21",
"SubTwoName": "sample string 22",
"SubOneName": "sample string 23",
"ProjName": "sample string 24",
"WorkRequestName": "sample string 25",
"WorkOrderMaintenance": "sample string 26",
"ExchangePermissionIdsList": "sample string 27",
"PriorityName": "sample string 28",
"ClientName": "sample string 29",
"Name": "sample string 30",
"Phone": "sample string 31",
"EquipmentId": "sample string 32",
"PriorityId": 1,
"Address": "sample string 33",
"Email": "sample string 34",
"Mobile": "sample string 35",
"Comment": "sample string 36",
"ActualWorkTime": "sample string 37",
"WorkOrderTypeId": 1,
"WorkOrderPeriodId": 1,
"Type": 1,
"UnitId": 1,
"ServiceCategoryId": 1,
"IsFromWR": true,
"ServerIP": "sample string 39",
"TNId": "sample string 40",
"SubServiceDetails": [
{
"SubServiceId": 1,
"WorkOrderId": 2,
"Quantity": 1,
"CostServiceType": 1,
"TotalPrice": 1,
"ServiceName": "sample string 3",
"SubServiceName": "sample string 4",
"WorkRequestId": 1,
"CreatedEmpId": 1,
"CreatedDate": "2025-12-20T22:42:44.3548226+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-12-20T22:42:44.3548226+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-12-20T22:42:44.3548226+02:00",
"IsDeleted": true,
"Id": 6
},
{
"SubServiceId": 1,
"WorkOrderId": 2,
"Quantity": 1,
"CostServiceType": 1,
"TotalPrice": 1,
"ServiceName": "sample string 3",
"SubServiceName": "sample string 4",
"WorkRequestId": 1,
"CreatedEmpId": 1,
"CreatedDate": "2025-12-20T22:42:44.3548226+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-12-20T22:42:44.3548226+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-12-20T22:42:44.3548226+02:00",
"IsDeleted": true,
"Id": 6
},
{
"SubServiceId": 1,
"WorkOrderId": 2,
"Quantity": 1,
"CostServiceType": 1,
"TotalPrice": 1,
"ServiceName": "sample string 3",
"SubServiceName": "sample string 4",
"WorkRequestId": 1,
"CreatedEmpId": 1,
"CreatedDate": "2025-12-20T22:42:44.3548226+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-12-20T22:42:44.3548226+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-12-20T22:42:44.3548226+02:00",
"IsDeleted": true,
"Id": 6
}
]
}
application/xml, text/xml
Sample:
<FM_VM_WorkOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
<ActualWorkTime>sample string 37</ActualWorkTime>
<Address>sample string 33</Address>
<CheckStatus>1</CheckStatus>
<ClientName>sample string 29</ClientName>
<Comment>sample string 36</Comment>
<CompletionDate>2025-12-20T22:42:44.3548226+02:00</CompletionDate>
<ContractorId>1</ContractorId>
<Description>sample string 8</Description>
<DivideCostByEqual>true</DivideCostByEqual>
<Email>sample string 34</Email>
<EquipmentCostId>1</EquipmentCostId>
<EquipmentId>sample string 32</EquipmentId>
<EquipmentName>sample string 18</EquipmentName>
<EquipmentNumber>sample string 19</EquipmentNumber>
<ExchangePermissionIdsList>sample string 27</ExchangePermissionIdsList>
<FMTechnicianId>sample string 9</FMTechnicianId>
<FailureReason>sample string 16</FailureReason>
<FailureReasonId>1</FailureReasonId>
<Id>1</Id>
<IsFromWR>true</IsFromWR>
<IssueDate>2025-12-20T22:42:44.3548226+02:00</IssueDate>
<MaintenanceId>1</MaintenanceId>
<MaintenanceTypeId>4</MaintenanceTypeId>
<MaintenanceTypeName>sample string 11</MaintenanceTypeName>
<Mobile>sample string 35</Mobile>
<Name>sample string 30</Name>
<Phone>sample string 31</Phone>
<Price>1</Price>
<PriceListId>1</PriceListId>
<PriorityId>1</PriorityId>
<PriorityName>sample string 28</PriorityName>
<ProjName>sample string 24</ProjName>
<ProjectId>1</ProjectId>
<RejectionComment>sample string 14</RejectionComment>
<ScheduledEndDate>2025-12-20T22:42:44.3548226+02:00</ScheduledEndDate>
<SerialNumber>sample string 20</SerialNumber>
<ServerIP>sample string 39</ServerIP>
<ServiceCategoryId>1</ServiceCategoryId>
<StatusId>5</StatusId>
<StatusName>sample string 12</StatusName>
<SubOneName>sample string 23</SubOneName>
<SubServiceDetails>
<FM_UnitsWorkOrderSubServices>
<Id>6</Id>
<CreatedDate>2025-12-20T22:42:44.3548226+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-12-20T22:42:44.3548226+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-12-20T22:42:44.3548226+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<CostServiceType>1</CostServiceType>
<Quantity>1</Quantity>
<ServiceName>sample string 3</ServiceName>
<SubServiceId>1</SubServiceId>
<SubServiceName>sample string 4</SubServiceName>
<TotalPrice>1</TotalPrice>
<WorkOrderId>2</WorkOrderId>
<WorkRequestId>1</WorkRequestId>
</FM_UnitsWorkOrderSubServices>
<FM_UnitsWorkOrderSubServices>
<Id>6</Id>
<CreatedDate>2025-12-20T22:42:44.3548226+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-12-20T22:42:44.3548226+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-12-20T22:42:44.3548226+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<CostServiceType>1</CostServiceType>
<Quantity>1</Quantity>
<ServiceName>sample string 3</ServiceName>
<SubServiceId>1</SubServiceId>
<SubServiceName>sample string 4</SubServiceName>
<TotalPrice>1</TotalPrice>
<WorkOrderId>2</WorkOrderId>
<WorkRequestId>1</WorkRequestId>
</FM_UnitsWorkOrderSubServices>
<FM_UnitsWorkOrderSubServices>
<Id>6</Id>
<CreatedDate>2025-12-20T22:42:44.3548226+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-12-20T22:42:44.3548226+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-12-20T22:42:44.3548226+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<CostServiceType>1</CostServiceType>
<Quantity>1</Quantity>
<ServiceName>sample string 3</ServiceName>
<SubServiceId>1</SubServiceId>
<SubServiceName>sample string 4</SubServiceName>
<TotalPrice>1</TotalPrice>
<WorkOrderId>2</WorkOrderId>
<WorkRequestId>1</WorkRequestId>
</FM_UnitsWorkOrderSubServices>
</SubServiceDetails>
<SubThreeName>sample string 21</SubThreeName>
<SubTwoName>sample string 22</SubTwoName>
<TNId>sample string 40</TNId>
<TaskDuration>13</TaskDuration>
<TaskId>3</TaskId>
<TaskName>sample string 10</TaskName>
<TaskNumber>sample string 17</TaskNumber>
<Type>1</Type>
<UnitId>1</UnitId>
<VendorName>sample string 15</VendorName>
<WOStartDate>2025-12-20T22:42:44.3548226+02:00</WOStartDate>
<WorkOrderMaintenance>sample string 26</WorkOrderMaintenance>
<WorkOrderNumber>sample string 2</WorkOrderNumber>
<WorkOrderPeriodId>1</WorkOrderPeriodId>
<WorkOrderTypeId>1</WorkOrderTypeId>
<WorkRequestId>1</WorkRequestId>
<WorkRequestName>sample string 25</WorkRequestName>
<prevStatusId>1</prevStatusId>
<scheduledStartDate>2025-12-20T22:42:44.3548226+02:00</scheduledStartDate>
</FM_VM_WorkOrder>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>