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": "79804c8a-e3df-4789-bb79-4b38cd220906",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "05ff8045-52a5-41ee-be05-ad47e2da2252",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ddf03e13-9a45-4f9e-aaee-466af6bf00d7",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d2fad547-7533-4d00-8e1b-1d5291f26269",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "74092e49-f60e-428c-8fe7-c17b4e15f35b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f9175d9b-3676-44df-9200-7c3cc80aee7b",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "81d1f461-de9a-4ce6-8515-459b0c829263",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"MeasurementValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b7a6d853-dd4b-49a6-9e23-82d9ca4f75d7",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"MeasurementValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7dcefd3d-16c1-4238-8084-839a4b0d7ca5",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-16T16:21:12.2105418-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "761aa9e7-4493-4eb2-b158-aae0a83aa629",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08: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": "5ee76f33-9419-40ad-8923-975a23624898",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9136d9ed-e965-4f7d-9563-ebe033223b2e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "69dd0b41-c8ed-4e75-8150-9feb3ffb7cfc",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "21704058-405e-4b2e-8f5b-841b56375a68",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1154be5e-af71-4bfd-81e6-b664a2b379cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f0dfb0bb-c440-46a0-9fa5-f4567e3bff1a",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "829af7d6-e7ea-4ba6-8d0f-02bde0050a72",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"MeasurementValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "38bfb509-d374-4668-bf91-a2d0a98608da",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"MeasurementValueNeededDate": "2026-01-16T16:21:12.2105418-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "331c8ad4-bf79-423e-acad-8d7ed1f2be28",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-16T16:21:12.2105418-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dddfa194-e700-4a52-8b9f-351f25bf77bb",
"CreateDate": "2026-01-16T16:21:12.2105418-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:21:12.2105418-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}