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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/GetExportTemplateData HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/jsv
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: text/jsv
Content-Length: length

{
	Name: String
}