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": "b3790408-a5d1-4734-a40a-842607b2fbc0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2541652b-1d30-45fb-beef-d1679c55eb7a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b2319be8-019d-4592-9505-93fa295a833a",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "dc9042d1-151a-4598-92e7-b37a1282bf6e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f205b46a-3596-4dd5-8747-c293c8979a86",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8081f864-38fd-472a-b3d2-6d1fc6e12f8f",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7cb16b3e-e232-41f1-b3f2-a7764ce490b8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"MeasurementValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c1b31060-e323-462e-93c1-239d02c7d3cc",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"MeasurementValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "66006693-06f5-4023-932c-010ddd806c41",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T03:12:30.8383603-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "38a458c7-46c5-4a5e-9692-18330cb56266",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-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": "40199281-9e8f-49a1-8053-5bc00056d5e0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e4c3cb38-ae9d-480f-a7a6-c009192f7b85",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9ff1ad05-71f1-4d07-9e9b-2886b5e30491",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0138bda8-f7b0-40b6-ac45-0b162413e057",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2a74a4f3-f099-4992-8ef5-2fc80b427f98",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ebfe62d0-4788-4ff2-b430-eb4e574bbc7a",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "28dd70bd-cd16-4222-8571-250c469331de",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"MeasurementValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fd17f4b3-4e65-4d49-a922-8f74985ea5c5",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"MeasurementValueNeededDate": "2026-06-28T03:12:30.8383603-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2e37dddd-7b9d-4058-b8a2-c12a9dd4b6b3",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T03:12:30.8383603-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "df618ad6-e7e7-4af1-bad4-bb794aa6d06f",
"CreateDate": "2026-06-28T03:12:30.8383603-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T03:12:30.8383603-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}