<back to all web services
FindWorkOrder
The following routes are available for this service:| All Verbs | /FindWorkOrder | | |
|---|
FindWorkOrder Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| UserID | query | string | No | |
| SearchCriteriaCollection | query | List<SearchParam> | No | |
| take | query | int | No | |
| skip | query | int | No | |
| sort | query | IEnumerable<Sort> | No | |
| filter | query | Filter | No | |
SearchParam Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| FieldID | body | string | No | |
| FieldName | body | string | No | |
| FieldValue | body | Object | No | |
| Operator | body | string | No | |
| FieldType | body | short | No | |
| UseMultiSelect | body | bool | No | |
| IsSearchAsTextbox | body | bool | No | |
| IsTransactionDetailSearch | body | bool | No | |
| IsSubTransactionDetailSearch | body | bool | No | |
| SecondDateRangeValue | body | string | No | |
Sort Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Field | body | string | No | |
| Dir | body | string | No | |
Filter Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Field | body | string | No | |
| Operator | body | string | No | |
| Value | body | Object | No | |
| Logic | body | string | No | |
| Filters | body | IEnumerable<Filter> | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/oneway/FindWorkOrder HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<FindWorkOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<SearchCriteriaCollection xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.MaintenanceManagement">
<d2p1:SearchParam>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:FieldValue />
<d2p1:Operator>String</d2p1:Operator>
</d2p1:SearchParam>
</SearchCriteriaCollection>
<UserID>String</UserID>
<filter xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kendo.DynamicLinq">
<d2p1:field>String</d2p1:field>
<d2p1:filters i:nil="true" />
<d2p1:logic>String</d2p1:logic>
<d2p1:operator>String</d2p1:operator>
<d2p1:value />
</filter>
<skip>0</skip>
<sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kendo.DynamicLinq" i:nil="true" />
<take>0</take>
</FindWorkOrder>