eQuipAPI

<back to all web services

AssociateTransactionAttachmentsToAssets

Associates transaction's attachments to the assets. Requires a valid userid to authorize the caller to complete this request.

The following routes are available for this service:
POST/workflows/{WorkflowID}/transactions/{TransactionID}/assets/associate-attachmentsAssociates transaction's attachments to the assets.
AssociateTransactionAttachmentsToAssets Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe Api key that authorizes the caller to complete the request. Contact your eQuip admin.
WorkflowIDpathGuidYesThe workflowid uses to check the configuration for `Associate an attachment to assets within a transaction`.
TransactionIDpathintYesThe transactionid uses to get the assets and its attachments.
TransactionTableIDqueryintYesThe transactiontableid uses to associate transaction attachments to the assets.
TransactionTableNamequerystringYesThe transactiontablename uses to get the assets from transaction detail.

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/AssociateTransactionAttachmentsToAssets HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: application/json
Content-Length: length

{"UserID":"String","WorkflowID":"String","TransactionID":0,"TransactionTableID":0,"TransactionTableName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

false