eQuipAPI

<back to all web services

GetPMTemplateAttachmentLog

Gets PM Template Attachments History.

The following routes are available for this service:
POST/PMTemplates/{PMTemplateID}/attachmentshistoryGets PM Template Attachments History.
GetPMTemplateAttachmentLog Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe Api key that authorizes the user to complete the request. Contact your eQuip admin.
PMTemplateIDpathstringYesPM Template ID.
takequeryintNoThe number of logs to return. 0 returns all entries;Used only by Telerik UI components
skipqueryintNoThe page offset to start retrieving data. 0 returns first page entries;Used only by Telerik UI components
AttachmentResponse Parameters:
NameParameterData TypeRequiredDescription
AttachmentDatabodyList<Dictionary>No
ColumnCollectionbodyList<Column>No
Column Parameters:
NameParameterData TypeRequiredDescription
fieldbodystringNo
commandbodystringNo
selectablebodyboolNo
titlebodystringNo
templatebodystringNo
formatbodystringNo
decimalsbodyintNo
headerTemplatebodystringNo
lockedbodyboolNo
lockablebodyboolNo
sortablebodyboolNo
IsInlineEditWFbodyboolNo
filterablebodyboolNo
valueListbodyboolNo
UseMultiSelectbodyboolNo
DisablebodyboolNo
RequiredbodyboolNo
editorbodystringNo
typebodystringNo
TableTypebodystringNo
widthbodyintNo
FieldDataSourcebodyList<Dictionary>No
expandablebodyboolNo
FieldIdbodyintNo
ValueListTypebodyintNo
IsEditablebodyboolNo
AssetMappedFieldIDbodyintNo
IsMaxLengthbodyboolNo
MaxLengthCountbodyintNo
TextLengthbodyintNo

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/GetPMTemplateAttachmentLog HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: text/jsv
Content-Length: length

{
	UserID: String,
	PMTemplateID: String,
	take: 0,
	skip: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AttachmentData: 
	[
		{
			String: {}
		}
	],
	ColumnCollection: 
	[
		{
			field: String,
			command: String,
			selectable: False,
			title: String,
			template: String,
			format: String,
			decimals: 0,
			headerTemplate: String,
			locked: False,
			lockable: False,
			sortable: False,
			IsInlineEditWF: False,
			filterable: False,
			valueList: False,
			UseMultiSelect: False,
			Disable: False,
			Required: False,
			editor: String,
			type: String,
			TableType: String,
			width: 200,
			FieldDataSource: 
			[
				{
					String: {}
				}
			],
			expandable: False,
			FieldId: 0,
			ValueListType: 0,
			IsEditable: False,
			AssetMappedFieldID: 0,
			IsMaxLength: False,
			MaxLengthCount: 0,
			TextLength: 0
		}
	]
}