GET Attachments?attachmentId={attachmentId}
Retrieves an attachment by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
attachmentId |
Id of the attachment |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Attachment |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AttachmentId": "5a426409-e33b-4c7f-9708-3686065fb4d0", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "19ce9526-5f3f-420f-b4de-683656d8f3fb", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "6970f322-6050-499d-ac1a-fcb1fa6c1ab4", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "0862ecc0-653b-42b1-bf82-491d8b54e9be", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b7e437b2-2608-4520-82dc-fd0c6dd37bc0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7475176e-c232-42c3-90ab-2cc0b768d9b7", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c608726f-3f61-4ccd-9d56-c8a16cdbc038", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T07:01:26.163029-08:00", "MeasurementValueNeededDate": "2024-12-21T07:01:26.163029-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ef1697ae-f3ba-47dd-b9cb-5a42fc415554", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5564c7cb-0591-4aae-b162-127480601b2c", "EffectiveDate": "2024-12-21T07:01:26.163029-08:00", "StateType": { "StateTypeId": "1eeae2ba-a7af-4456-9b28-14dd4b978b52", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b7e437b2-2608-4520-82dc-fd0c6dd37bc0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7475176e-c232-42c3-90ab-2cc0b768d9b7", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c9ecee7b-569b-4fd7-9255-0902636f6975", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "834f0e67-72a9-415c-afa9-e88273207940", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "292e2fc9-fb67-471f-98e1-c47966157fe3", "EffectiveDate": "2024-12-21T07:01:26.163029-08:00", "StatusType": { "StatusTypeId": "a0b8df21-9fb8-4473-b102-bd376fc7e82a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b7e437b2-2608-4520-82dc-fd0c6dd37bc0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7475176e-c232-42c3-90ab-2cc0b768d9b7", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c809c38e-49e3-4180-982b-8fa8486e04f0", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "dece84d5-f8fc-4ee3-b54a-422e03c8fc48", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "308dbb37-1f28-42b6-8f7c-1e86b78d8bf9", "EffectiveDate": "2024-12-21T07:01:26.163029-08:00", "WellPurposeType": { "WellPurposeTypeId": "cea0d935-4fa0-4755-8e94-4dc6b80c39c4", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e5dfa7c6-7e30-44fb-8a85-ea053f9de800", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8a681c7b-00e6-4cab-b721-24131e13262f", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T07:01:26.163029-08:00", "MeasurementValueNeededDate": "2024-12-21T07:01:26.163029-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1fdb8fa5-f7e3-4b68-965a-8b9bcf84dc28", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T07:01:26.163029-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "6b6bb3b8-9c43-4d83-8da0-99bbfc5028fe", "CreateDate": "2024-12-21T07:01:26.163029-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:01:26.163029-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }