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": "bf6bb0fb-6721-4055-a914-c78738750308", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "04349549-ad29-419b-b54a-f000c80ad605", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "57b85a99-a9bd-4a75-b446-37964b80e66d", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e719888c-7863-45e5-b156-8f9f9986d9c2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "db1cd5bb-1723-4d3c-a123-674ae1b59f62", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "23167bba-76e8-4cdc-bf1c-96c1dfad4cac", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9c93944f-0baa-4fe7-a074-020eac4e022d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-06-04T03:58:46.5467169-07:00", "MeasurementValueNeededDate": "2023-06-04T03:58:46.5467169-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ef89c752-f433-4a01-9046-481a7e01ad3e", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a51121db-6282-41de-a116-8339c2936317", "EffectiveDate": "2023-06-04T03:58:46.5467169-07:00", "StateType": { "StateTypeId": "51048214-afc9-42a3-8ceb-a5f49c8fea5a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "db1cd5bb-1723-4d3c-a123-674ae1b59f62", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "23167bba-76e8-4cdc-bf1c-96c1dfad4cac", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "559af69b-c880-4735-8702-02272c7763c7", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "468399f9-2962-439e-9a15-dcc4e20909e8", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f56bf4e2-5928-44f8-b07b-ce4edf4c5a05", "EffectiveDate": "2023-06-04T03:58:46.5467169-07:00", "StatusType": { "StatusTypeId": "3986cb8e-35ea-4a7e-b7b8-a265f61bf6f6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db1cd5bb-1723-4d3c-a123-674ae1b59f62", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "23167bba-76e8-4cdc-bf1c-96c1dfad4cac", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c778eb65-3dcd-4da6-9406-0bb567a73ffb", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "10caea8c-07a8-4197-9d49-b129b3ca6383", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2e56cdcc-6857-4ec0-b2a3-3523c4ec6f33", "EffectiveDate": "2023-06-04T03:58:46.5467169-07:00", "WellPurposeType": { "WellPurposeTypeId": "a60d04bc-1707-487c-a062-f4786877714a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ec9f9442-2a50-4c02-9eb9-2e816df8361f", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f25c5382-7ca2-496c-ba3f-82ede3787f84", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2023-06-04T03:58:46.5467169-07:00", "MeasurementValueNeededDate": "2023-06-04T03:58:46.5467169-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d4adca32-b6f0-4ade-b53c-dc352623505d", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2023-06-04T03:58:46.5467169-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "616a2450-eeec-41ac-aa6b-3daa4e2e6064", "CreateDate": "2023-06-04T03:58:46.5467169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:58:46.5467169-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }