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": "052a972f-381d-4ad0-b11c-08a812f3cb0f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "eb2bf2eb-ec12-4215-b14c-89a51d2758ed",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0ff7dc6a-20c2-4899-8ba6-d1a12c4b3e09",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "2e15c476-62c7-464b-af18-c4994ebf49d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4aa7717e-1398-4632-a8e8-b3e79966bc07",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8cc28d70-0584-424b-a2fc-03d383a9306e",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ce66f082-3b19-4c62-bff6-cd847fae5f33",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"MeasurementValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "92735f38-d4bc-4398-a52b-9a1ea27294fd",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"MeasurementValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e466c357-2cf8-442c-bb0f-ed82f74062ec",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-10T18:19:34.1506398-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cc5d2589-ae30-418f-b134-ec7d9cda8ef1",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-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": "b8131d9a-439c-4daa-93d9-e5fa942706ff",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e8d4738c-c73e-437c-a5cf-53d1fff102cb",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9430f6c6-0712-45fb-b1f7-b43b0390b485",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1bec4440-7d2d-4fab-8bca-d8f705ea19bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "15d797ca-0a48-4b2b-ab2a-cf0d286b1b62",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "73f86fe5-cff5-413c-b406-2540f78fc185",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "641a23cd-0c04-40ea-9a3b-4809ecceec69",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"MeasurementValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b3d3c0cb-ee4d-40a3-8931-ca29d8092cbe",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"MeasurementValueNeededDate": "2026-04-10T18:19:34.1506398-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e87c0e71-0020-48f3-b560-e760212df6a4",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-10T18:19:34.1506398-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f5769e4c-1409-4d16-b3e8-13a3e4dc2e6a",
"CreateDate": "2026-04-10T18:19:34.1506398-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T18:19:34.1506398-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}