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": "b1fa5b63-f2bc-45cd-8284-cda9afcdfead",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "00c47b73-47f8-4cab-b37a-c998392be0ed",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "969e176a-bae0-488a-bd56-60b11eba3d95",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3d8e6165-77b5-439d-8460-d81404eace10",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b5e7342f-0d82-4703-9c55-a5c289f4f58c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "24e1efdd-4d8a-4bde-9fd9-0793d76c8891",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "db6e673b-a3e4-471f-b8cb-25b2a09c4649",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"MeasurementValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0b5ebbd7-b82c-48e8-8b33-d02cb630689a",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"MeasurementValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "652eef15-33ce-4921-917f-534d2e86c11d",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-09T11:53:17.2146785-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b3e10603-dd23-4da2-b02e-f76039e0e278",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-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": "e87478d8-bdac-46ad-b997-acc277ebfd01",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fdeb70d8-6352-4519-a023-597093d857e2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2bc77e69-e454-45bc-9d09-96b8f93f89b3",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ea8154c5-c13a-442c-bf59-d74f44d4bf13",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8e4f6c3e-317c-4cae-a959-f73a86d1fcf0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b2d32718-d7fd-4188-bfe4-5fc9e6e7ee54",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "95ab9259-78e5-425f-8268-76ce949a57c6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"MeasurementValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "07688d5e-8442-4a8e-aeb7-83208553826c",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"MeasurementValueNeededDate": "2026-10-09T11:53:17.2146785-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "797c6210-7476-4e76-a588-0d001e84b13f",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-09T11:53:17.2146785-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "87409c1f-1050-437c-8de3-90e1d33c0a89",
"CreateDate": "2026-10-09T11:53:17.2146785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:53:17.2146785-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}