POST Attachments
Creates a new attachment.
Request Information
URI Parameters
None.
Body Parameters
The attachment to create. AttachmentId should not be filled in.
Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AttachmentCategory | AttachmentCategory |
None. |
|
| Asset | Asset |
None. |
|
| FileType | string |
None. |
|
| FileSize | integer |
None. |
|
| UploadDate | date |
None. |
|
| Content | Collection of byte |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": "ca9a8426-4d31-496c-8e83-cb31ea7cc4d3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6c9e17a0-366b-4af8-afdf-95b5c5125188",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0b2e462d-e9f4-4cd9-8e37-2ff180a5f186",
"CreateDate": "2026-10-19T02:30:58.565312-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-19T02:30:58.565312-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "cbef7c39-a138-4c9b-a71d-45af9eea07bb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "de1c0560-1e95-4c35-8194-906336aacdf7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bafd572f-031a-41e6-99aa-18faea7a0143",
"CreateDate": "2026-10-19T02:30:58.565312-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T02:30:58.565312-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "26af69f0-563c-42c9-a902-467640a44b9f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-19T02:30:58.565312-07:00",
"MeasurementValueNeededDate": "2026-10-19T02:30:58.565312-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f34b1563-28ed-43b8-acc2-14d121d8fd90",
"CreateDate": "2026-10-19T02:30:58.565312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T02:30:58.565312-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-19T02:30:58.565312-07:00",
"MeasurementValueNeededDate": "2026-10-19T02:30:58.565312-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "401bdbc3-10bd-4616-a9b4-db8b426516d9",
"CreateDate": "2026-10-19T02:30:58.565312-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T02:30:58.565312-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-19T02:30:58.565312-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a75cb1fa-a28b-4c2e-a5bf-e961519ac9b9",
"CreateDate": "2026-10-19T02:30:58.565312-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T02:30:58.565312-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created attachment. The Content of the attachment will not be filled in.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AttachmentId": "93eebb6d-80d5-442f-a561-9370587ea028",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "07df305b-3481-49c9-b716-7f5d72a85d3b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c4787d49-300f-4e16-94c0-b2c6e6d030c3",
"CreateDate": "2026-10-19T02:30:58.5809246-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-19T02:30:58.5809246-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "8f03b40b-3e74-4a07-a16f-a6a61c7253c4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "84ff67ff-c384-4fb1-b61a-4c796d1ffc46",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8f812db0-9475-4bd2-9efc-1b27625f0ffb",
"CreateDate": "2026-10-19T02:30:58.5809246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T02:30:58.5809246-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "03b3f8da-beb0-4e46-b29b-686672a3081f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-19T02:30:58.5809246-07:00",
"MeasurementValueNeededDate": "2026-10-19T02:30:58.5809246-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a24799b8-8693-4948-a78b-2cef752c2a73",
"CreateDate": "2026-10-19T02:30:58.5809246-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T02:30:58.5809246-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-19T02:30:58.5809246-07:00",
"MeasurementValueNeededDate": "2026-10-19T02:30:58.5809246-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3fdbc972-7384-4aaf-af73-568a0c28d8e4",
"CreateDate": "2026-10-19T02:30:58.5809246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T02:30:58.5809246-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-19T02:30:58.5809246-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e117bfcc-964b-499a-b912-4cef146b73e1",
"CreateDate": "2026-10-19T02:30:58.5809246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T02:30:58.5809246-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}