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": "f25003b2-7c4d-4444-81ef-5cdf27cbc810", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "8e8bbae1-8c24-4f7e-8923-f59dbacb2378", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "d173af84-1f63-4475-80d8-4d24368020d0", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e227df84-2645-449f-80b1-8d1fe5c676c3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0d38c8f1-c85e-41d9-9066-8eecc3294a9f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "44322801-52b7-4609-a5d9-e9b41915911b", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f7418693-3fce-4f7d-8d46-41fe62985fd8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-07-26T18:51:58.9740562-07:00", "MeasurementValueNeededDate": "2024-07-26T18:51:58.9740562-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f383b14d-80bb-4aba-b31e-346cb9f8cd26", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4b175e76-75af-4c3b-bcbe-c78ce5beb4a5", "EffectiveDate": "2024-07-26T18:51:58.9740562-07:00", "StateType": { "StateTypeId": "4126a75c-7eb1-4455-abeb-2621fddf1104", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0d38c8f1-c85e-41d9-9066-8eecc3294a9f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "44322801-52b7-4609-a5d9-e9b41915911b", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d2dfdaa9-be8c-4707-93b3-f401e0286905", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ae616765-67e5-4c84-aa3c-cbfba10db885", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7ff3e4d3-ac57-43b2-804e-4fcdf7ac044d", "EffectiveDate": "2024-07-26T18:51:58.9740562-07:00", "StatusType": { "StatusTypeId": "7bb8c9f1-d1e3-4b19-bf46-2b02ddf3b930", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0d38c8f1-c85e-41d9-9066-8eecc3294a9f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "44322801-52b7-4609-a5d9-e9b41915911b", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2e233c83-91a3-4307-8c8c-3a4215b16509", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "86102b15-163a-46c5-aab2-078ece757442", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7d552f39-6728-48c5-baa4-127a6e96b027", "EffectiveDate": "2024-07-26T18:51:58.9740562-07:00", "WellPurposeType": { "WellPurposeTypeId": "c0b7526a-98be-4ef5-9fe0-def45eec64df", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fd831976-0c0a-40a2-ae03-4fea16f8f063", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a0747b99-5f09-4375-96a6-0cd2caf9c745", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-07-26T18:51:58.9740562-07:00", "MeasurementValueNeededDate": "2024-07-26T18:51:58.9740562-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dfb7aa4d-d6fb-4c11-a9dd-c0e5cf8244b2", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-07-26T18:51:58.9740562-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "1c74bf27-666c-4417-ad83-8e0bfa877c35", "CreateDate": "2024-07-26T18:51:58.9740562-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:51:58.9740562-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }