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

HTTP + CSV

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

POST /csv/reply/GetPMTemplateAttachmentLog HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/csv
Content-Length: length

{"UserID":"String","PMTemplateID":"String","take":0,"skip":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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}]}