POST public-api/attachments/getAttachmentmetadataByAssociatedTag
Get Attachments By Associated Tag given the associated tag of item and the form name and returns the attachments related to that item nested in the form. Requires the Allow permission of the form you are attempting to retrieve attachments for, Role Site and Asset Type permissions are enforced when relevant In response , HasSuccessWithMoreDataRemaining and BatchNumber are not required .
Request Information
URI Parameters
None.
Body Parameters
AttachmentsSearchByAssociatedTagModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AssociatedTag | string |
None. |
|
| FormName | string |
None. |
Request Formats
application/json
Sample:
{
"AssociatedTag": "sample string 1",
"FormName": "sample string 2"
}
Response Information
Resource Description
WaspResultOfListOfAttachmentMetadata| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of AttachmentMetadata |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": [
{
"AttachmentId": 1,
"FormId": 2,
"AssociationId": 3,
"AttachmentFileName": "sample string 4",
"AttachmentDataType": "sample string 5",
"AttachmentGuid": "sample string 6",
"AttachmentDataSize": 1,
"AttachmentUploadedDate": "2026-09-09T12:33:30.347532+00:00",
"AttachmentUploadedBy": "419dc79d-d4ed-487c-8736-324af24d7dd8",
"UserName": "sample string 7",
"AttachmentUriPath": "sample string 8",
"AttachmentIsDefault": true,
"AttachmentIsReadOnly": true,
"HasAttachment": true,
"AttachmentMobileDownload": true,
"ApplicationId": 12
},
{
"AttachmentId": 1,
"FormId": 2,
"AssociationId": 3,
"AttachmentFileName": "sample string 4",
"AttachmentDataType": "sample string 5",
"AttachmentGuid": "sample string 6",
"AttachmentDataSize": 1,
"AttachmentUploadedDate": "2026-09-09T12:33:30.347532+00:00",
"AttachmentUploadedBy": "419dc79d-d4ed-487c-8736-324af24d7dd8",
"UserName": "sample string 7",
"AttachmentUriPath": "sample string 8",
"AttachmentIsDefault": true,
"AttachmentIsReadOnly": true,
"HasAttachment": true,
"AttachmentMobileDownload": true,
"ApplicationId": 12
}
],
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}