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": "affd329d-4ddb-4ac3-be36-c1af59ad70c5",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "250d6fb9-e22a-400f-876e-a3d57213f14e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4afcfbd5-3f6d-4f7c-91df-1bccf5e15862",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0fe7b352-3aee-46b3-b7cd-65f64daab172",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d4613987-f180-4160-afe3-f8b71c80e2bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "676363fc-403f-4023-9567-966295c1129d",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e71550c2-421f-4f00-8457-6115ab4d3efe",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fe35995e-b7d5-4db7-a867-393dde830c64",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bb63922f-23a1-4726-b974-266ae023c926",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-13T17:46:51.0814807-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0df2b24b-4f56-42be-9d9b-8105b3c09680",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-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": "91c763f5-aa21-4ae9-9c9f-993c7616296a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b44380eb-b33e-4ebf-9b88-ec064a223a0c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "83b5218c-565a-41fb-9777-6e405cf90061",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "03cdd638-3f69-4f71-a110-34d76ec9943f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "209242f0-efc6-4640-a6dc-edb5368e2719",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5f40909b-4ea0-4832-9903-65410cb987cd",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c82b1ab4-3406-43d2-8758-365e56068a2f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6ca0c665-8c0a-43e4-a669-7edded8d8a26",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:46:51.0814807-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "03dfd7a7-a1ce-48c7-9e49-333e7b94273a",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-13T17:46:51.0814807-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b8892776-1821-4265-a5b5-c68bd3403c07",
"CreateDate": "2026-06-13T17:46:51.0814807-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:46:51.0814807-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}