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": "82a49349-bffe-457d-afa5-112a33d9d7d2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b5627e04-738f-4058-bccc-201eea078540",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3ffd6382-832f-4bbe-b79a-904a3556fb6a",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "79f51513-0408-4706-9958-2e3432b47cec",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "647f31ef-3bf4-4668-92bd-8c110f1f4f22",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "854471ba-f5c4-4163-978a-7f1b1a1d8446",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "cdda1911-6ab7-40fd-b5e5-73e493c1559b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e2d7cef3-533d-4f34-831e-1871b9a7faac",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ffe6ab8a-d882-4c6f-8a42-d8982b386ddc",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-30T21:00:09.0571508-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e139852f-50b1-4bda-82ff-e5888f993b32",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-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": "b266b8b6-fa50-4558-8c1d-65ef003d155a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "1436f744-a52d-491c-a2c7-0d05974a504f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "817ddadd-0b39-4d19-910f-3ecaa84a41c5",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "fe5a71be-862c-471d-b1d5-0f4336bda1a2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2ae34398-d197-4b91-b6e5-bfb732442ba9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8119ce69-52f6-412a-95ee-fb91195bcee1",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "654bbea1-942b-42c6-b505-ce5f83ddc7da",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4f4e6c77-7446-4f5d-ac75-28822434c34e",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:00:09.0571508-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ad2a0acb-7c77-4191-bb4f-57dfc422ddc0",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-30T21:00:09.0571508-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e5edead6-22e3-4927-86ad-2f80db1eca49",
"CreateDate": "2026-04-30T21:00:09.0571508-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:00:09.0571508-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}