eQuipAPI

<back to all web services

GetExportTemplateData

Returns matching Work Orders; Requires a valid user to complete this request. Returns a list of LegacyWorkOrders.

The following routes are available for this service:
POST/maintenancemanagement/legacyworkorders/fileReturns matching work ordersWe used POST in lieu of GET as the request can exceed the allowable GET size threshold.
GetExportTemplateData Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe UserID that authorizes the caller to complete the request. Contact your eQuip admin.
holdingTableIDbodyintNo
tableNamebodystringNo
SearchParamCollectionbodyList<SearchParam>No
RefineFilterbodystringNo
SearchParam Parameters:
NameParameterData TypeRequiredDescription
FieldIDbodystringNo
FieldNamebodystringNo
FieldValuebodyObjectNo
OperatorbodystringNo
FieldTypebodyshortNo
FieldTextbodystringNo
UseMultiSelectbodyboolNo
IsSearchAsTextboxbodyboolNo
FileDownloadDto Parameters:
NameParameterData TypeRequiredDescription
NamepathstringNoFile name

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetExportTemplateData HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: application/json
Content-Length: length

{"UserID":"String","holdingTableID":0,"tableName":"String","SearchParamCollection":[{"FieldID":"String","FieldName":"String","FieldValue":{},"Operator":"String","FieldType":0,"FieldText":"String","UseMultiSelect":false,"IsSearchAsTextbox":false}],"RefineFilter":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Name":"String"}