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": "7cf43860-744a-40b0-a041-2a25afb3f4f0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "44119d64-71b6-4db1-9adf-bcf28661af33",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1e3cee42-5bae-41fa-9466-272bdca064de",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "cd5b2644-9226-4200-9066-b1577d0b52c8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3af78fd6-5a26-4983-9b81-3be0b2604391",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d3c9b025-03d0-4d82-a8cc-d721e1fde892",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "45b9a863-1609-4b47-a11f-b38b6788cf9c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"MeasurementValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "60dc2c08-071a-400c-91d1-1a8ad79108ab",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"MeasurementValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4d4facdd-cd01-4cf5-944c-a8869e6a6fb9",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-29T15:24:58.2033249-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c50f1405-3221-4c16-9a03-aa743dcdd32b",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-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": "1b01a08c-9da0-4221-982a-19e53fb446a7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "76cbdef2-a46b-4bde-9267-8c2a8f4f3e26",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ebe7bc7e-9eaf-4b7f-872e-9ca6844707ac",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "9c6aba0e-3952-47f5-87a8-279269846381",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c68985d5-6462-4e66-84f1-0d820ee5054d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d0eec8ca-4063-4f8d-b163-f36793141e91",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "244c0ad6-c8a4-450d-bc1c-faa3e067aa13",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"MeasurementValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ce142787-8d3b-4d02-b61f-aed382490769",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"MeasurementValueNeededDate": "2026-10-29T15:24:58.2033249-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e775b7d3-35fa-4114-9362-bf52e7ef64e5",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-29T15:24:58.2033249-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "683a984f-71fb-4981-babf-bddd870620df",
"CreateDate": "2026-10-29T15:24:58.2033249-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:24:58.2033249-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}