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": "4d6b167b-9390-4b12-af5a-bae973464dbd",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e29742c5-fa54-4358-a374-32d85f993015",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c4537f0c-d0f1-428f-94b8-dc77aa5a9b10",
"CreateDate": "2026-03-16T19:57:16.9094366-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-16T19:57:16.9094366-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a7bc3234-500c-495b-8421-9aab0538ffa9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4eb8551c-aa15-4cec-a5ff-5f2804a56fe0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d867a269-eab4-4c8e-8942-e42325c952c8",
"CreateDate": "2026-03-16T19:57:16.9094366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-16T19:57:16.9094366-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "63a25037-b31d-4338-ba8d-2679d8fa2869",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-16T19:57:16.9094366-07:00",
"MeasurementValueNeededDate": "2026-03-16T19:57:16.9094366-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4a225f90-5011-4232-ac09-6c4bf6eb3ec6",
"CreateDate": "2026-03-16T19:57:16.9094366-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-16T19:57:16.9094366-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-16T19:57:16.9094366-07:00",
"MeasurementValueNeededDate": "2026-03-16T19:57:16.9094366-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e2d392c5-30e0-4895-818b-298a91b37003",
"CreateDate": "2026-03-16T19:57:16.9094366-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-16T19:57:16.9094366-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-16T19:57:16.9094366-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "90030350-948c-449b-95f2-cc5db82f2f22",
"CreateDate": "2026-03-16T19:57:16.9094366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-16T19:57:16.9094366-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": "a2503b1e-b766-431f-b039-7a36d2d4a1e7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "8b781a04-2d3e-4ed1-a0cf-3b1d4a78dc20",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c171249c-76f5-4475-837e-ae01c848ca9b",
"CreateDate": "2026-03-16T19:57:16.9250704-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-16T19:57:16.9250704-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "dbbb0291-d83a-4224-8b7c-68fcaeb55e22",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "982c9994-32ee-4161-ab66-02b6847d7874",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "25b2ec93-cd32-4880-aa09-ab565e526409",
"CreateDate": "2026-03-16T19:57:16.9250704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-16T19:57:16.9250704-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8c0b04d2-bb7d-4860-bad5-bde30714bb2b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-16T19:57:16.9250704-07:00",
"MeasurementValueNeededDate": "2026-03-16T19:57:16.9250704-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a87f9967-93ca-47b3-98b5-9cad2c775f3c",
"CreateDate": "2026-03-16T19:57:16.9250704-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-16T19:57:16.9250704-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-16T19:57:16.9250704-07:00",
"MeasurementValueNeededDate": "2026-03-16T19:57:16.9250704-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "767a3533-7d8a-4182-911e-1e5de738d4c5",
"CreateDate": "2026-03-16T19:57:16.9250704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-16T19:57:16.9250704-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-16T19:57:16.9250704-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "270995c3-7fc9-4992-85e2-8e205d4a951b",
"CreateDate": "2026-03-16T19:57:16.9250704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-16T19:57:16.9250704-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}