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": "7b665712-b9e0-4a41-90aa-9b3763fb216b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "f7a71841-8190-41e7-911c-6728f0de02a0",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "562da2ee-5d14-4899-89ea-e70aa6de52c4",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4f08b004-5087-49eb-a66b-959f3214de4f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ed98c11b-39aa-47b6-bf71-9a5c5db1e110",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "70a46639-38a7-4f53-bf09-d7d0ae6f858b",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "92b14e0c-df6a-4e60-aac8-228ee2ed9640",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"MeasurementValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b9b1d409-1433-4f28-88cb-6d5a11ced874",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"MeasurementValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5529d038-71b9-465a-86e3-620bbe7f806e",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-27T20:33:14.0463029-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3cafeafb-c26a-4011-98f4-87f2397b157b",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-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": "f31ddcc3-c8cd-4be2-a0cf-7df11d3bc5a3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "bedd63e0-00dd-4b3d-a1f8-e16d5bfd6a5c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "44f85bd8-31a1-46e5-ab29-98154d48b0c4",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4eef8ec5-394b-4c7d-be73-de7c9d721eed",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7f85a2e7-08f7-4703-8c9a-0065c5659887",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "59da8ca2-1612-4c89-b865-15241cb18cec",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0b34397d-363b-49a2-bddb-036393133630",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"MeasurementValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "556984cc-30f4-439f-8d2f-cfa5378deb47",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"MeasurementValueNeededDate": "2026-04-27T20:33:14.0463029-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8e42e14b-7049-4e53-af59-eda46ac0a6a3",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-27T20:33:14.0463029-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e40d0240-a7da-4e42-bafd-9319f1bfa0f9",
"CreateDate": "2026-04-27T20:33:14.0463029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:14.0463029-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}