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": "a1baa44c-6f8d-4fec-bd9c-7b57b358f9f9", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b6eda091-549c-4dc3-ab21-14086d104c4b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f0ef2228-87e6-4b9f-9160-3697d6653954", "CreateDate": "2024-04-23T02:50:12.7943245-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-23T02:50:12.7943245-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "73203e2f-f7bc-4f06-a1bc-8dc34670af54", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4a3c8fc1-85c3-4089-b1d9-78ebba29dbc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b91da4f7-5a68-4904-b66e-5454b82e80cc", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "cf6aa88a-3bdf-4e69-9470-ac3fc34dad73", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-23T02:50:12.8098946-07:00", "MeasurementValueNeededDate": "2024-04-23T02:50:12.8098946-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9057bd27-adda-475f-b749-a16078ea14be", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "96190cfa-dd2e-4a14-8653-0f172f766604", "EffectiveDate": "2024-04-23T02:50:12.8098946-07:00", "StateType": { "StateTypeId": "e078bba9-cf48-421b-bc3c-243f968a3828", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4a3c8fc1-85c3-4089-b1d9-78ebba29dbc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b91da4f7-5a68-4904-b66e-5454b82e80cc", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "de0ef96d-e719-47b4-804f-2f8a96668e0e", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9d6d26fe-af1e-4177-bf6b-bcc978e33cea", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2cbd8c1d-34f5-4d08-99d0-f163502be2b8", "EffectiveDate": "2024-04-23T02:50:12.8098946-07:00", "StatusType": { "StatusTypeId": "7ac8e5c3-a36f-4519-a543-13d7dc179df2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "4a3c8fc1-85c3-4089-b1d9-78ebba29dbc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b91da4f7-5a68-4904-b66e-5454b82e80cc", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "bc380bd2-7224-49dc-92d4-9cda4beab816", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2f602b4f-db87-4305-b3b7-315e591f6a1b", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c4a43007-4c03-4b0e-bdc7-b2c9d4c698a9", "EffectiveDate": "2024-04-23T02:50:12.8098946-07:00", "WellPurposeType": { "WellPurposeTypeId": "9357003c-df68-4b43-9f2e-7e33cc068511", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "81cf5d6b-fcb6-4f2e-b82f-b054d3e0f805", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9216d4b8-db5d-4ad9-82ae-bc12148d51aa", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-23T02:50:12.8098946-07:00", "MeasurementValueNeededDate": "2024-04-23T02:50:12.8098946-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ed758940-4e97-4b98-bbe6-448d684f5a01", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-23T02:50:12.8098946-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "aa17c532-ac60-4d89-843d-fc18a53a5c1a", "CreateDate": "2024-04-23T02:50:12.8098946-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T02:50:12.8098946-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }