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": "54d8cea3-240d-4862-8c16-59a94e82e099",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5d20f652-8eaf-4745-92c0-497def1a2291",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "27c854dd-f367-4afa-973e-5cc872ba6650",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5ff8ff57-edf7-45a0-b7b4-dc99549f3905",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c3184ae0-49c4-44c0-a916-08f7e327c946",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0e74f361-ffa5-4d32-9a9f-172968ffd314",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "afc1af89-e971-497d-b4ab-2e11b61b052b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "910f15eb-f396-4533-af76-5b878f872108",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5856bbc5-5f4c-4b3f-81dc-4ad5b62bca58",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-21T16:05:29.9234227-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "46519612-70fa-40e0-9d27-5c94711456af",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-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": "3edb83f7-2ccb-4163-bbbb-5edacea9564d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0a07ac71-e9cd-48aa-9522-868488384b0d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "57bd62ce-717c-4f71-ba32-0170cc9bd914",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ed6eb809-1e1d-4afc-b95b-cc2f0f4db1e4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fe5c4e87-0903-4d84-a2b6-40571ad11b69",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "418b2d95-e2ad-4d23-9dfa-83aedaab7ad7",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "41cc0ac9-1475-465b-afd7-360399e77af4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "803f09c7-6a65-47a1-b38d-9bc64e04a9dd",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:29.9234227-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d0f5d9b2-58bc-4f8a-8370-609322aeee39",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-21T16:05:29.9234227-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "2eec9768-4917-4115-b94e-82f568c10e55",
"CreateDate": "2026-01-21T16:05:29.9234227-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:29.9234227-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}