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": "1c6cf454-fe91-4514-87c9-94b68de435cb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "66232e70-b9b9-4003-abc2-bde0d0193d1e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "af53342c-5fe9-4464-b9d9-9d4f4f18223b",
"CreateDate": "2026-06-09T20:47:59.6966574-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-09T20:47:59.6966574-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e1921773-9c04-403f-99b0-2001180b17ff",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "369c492e-3042-4ba4-919a-7aba5ee4eca6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "41f44494-ecc6-4f61-8240-6b0a220ad81b",
"CreateDate": "2026-06-09T20:47:59.6966574-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T20:47:59.6966574-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "181fa243-51ca-4e64-8f5e-34dfd68bb883",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-09T20:47:59.6966574-07:00",
"MeasurementValueNeededDate": "2026-06-09T20:47:59.6966574-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a76fdcb8-28e4-40e7-9045-07f825075e46",
"CreateDate": "2026-06-09T20:47:59.6966574-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T20:47:59.6966574-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-09T20:47:59.6966574-07:00",
"MeasurementValueNeededDate": "2026-06-09T20:47:59.6966574-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "64367165-aede-4ca9-af80-d0afedea45c0",
"CreateDate": "2026-06-09T20:47:59.6966574-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-09T20:47:59.6966574-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-09T20:47:59.6966574-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "790e3a4e-4f91-4e19-8c89-e06f7960003f",
"CreateDate": "2026-06-09T20:47:59.6966574-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T20:47:59.6966574-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": "1f308b6e-c037-47c2-a745-06b6ae35c2dc",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6a385044-add1-4b5c-ad7a-aff8de40482a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ed782888-41cc-42bc-8079-c816d9ae87d3",
"CreateDate": "2026-06-09T20:47:59.7122843-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-09T20:47:59.7122843-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "56b3e6a1-8b3e-48bc-8f1f-389874fee046",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "357f60cf-45c8-41b7-85a9-cdc371e6eace",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "09700f46-3147-4c42-8bfd-a481805f0102",
"CreateDate": "2026-06-09T20:47:59.7122843-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T20:47:59.7122843-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "eb2b9de4-6fd1-40fd-ac2b-72d7871d1c9d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-09T20:47:59.7122843-07:00",
"MeasurementValueNeededDate": "2026-06-09T20:47:59.7122843-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c98e1a04-1740-47d1-87ac-cca9115119c6",
"CreateDate": "2026-06-09T20:47:59.7122843-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T20:47:59.7122843-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-09T20:47:59.7122843-07:00",
"MeasurementValueNeededDate": "2026-06-09T20:47:59.7122843-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "674a9c38-3b36-49e2-beaa-c1518e54e478",
"CreateDate": "2026-06-09T20:47:59.7122843-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-09T20:47:59.7122843-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-09T20:47:59.7122843-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3e184f10-db2d-4c66-bcaf-e5cf7a89cd0d",
"CreateDate": "2026-06-09T20:47:59.7122843-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T20:47:59.7122843-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}