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": "60459127-c215-4ba9-a3e0-6c6392610f61",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6bb647fe-efb1-4e9e-a8f4-1a71659db89e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "77b2dd7a-4b11-4c47-82ed-be5b8220714b",
"CreateDate": "2026-10-04T14:38:15.1526564-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T14:38:15.1526564-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c3b55ca0-4778-4729-a467-304e0dfdaeda",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d8c55aab-a050-420b-8f8b-7168c76c0eaf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e29fb659-9a34-4f28-a9d0-2af49a42bd46",
"CreateDate": "2026-10-04T14:38:15.1526564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:15.1526564-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "823c161d-426b-42ed-9687-624e6018de58",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T14:38:15.1526564-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:15.1526564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f7875cb6-36ae-46d0-b240-1c1f1be5852e",
"CreateDate": "2026-10-04T14:38:15.1526564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T14:38:15.1526564-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-04T14:38:15.1526564-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:15.1526564-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cc8728f5-1a01-4ac4-b036-52295edf7173",
"CreateDate": "2026-10-04T14:38:15.1526564-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T14:38:15.1526564-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T14:38:15.1526564-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "01f7ad91-170b-4e14-930b-308f7e8304cb",
"CreateDate": "2026-10-04T14:38:15.1526564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:15.1526564-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": "64c04bae-475a-4a33-bb37-e8015c90cb3f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ac62ab52-0e09-43a9-8dbc-46075dc5c040",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5120f444-a400-4c78-9a7b-e4807fa601af",
"CreateDate": "2026-10-04T14:38:15.1682758-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T14:38:15.1682758-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "da947879-a429-499b-92f7-bb3a8bb3a4c8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "65fce89d-91e6-4e8a-9827-f80a361310e9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "db100378-b66d-42d6-94e9-781111d6d1c9",
"CreateDate": "2026-10-04T14:38:15.1682758-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:15.1682758-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e897a30d-0e98-4dd8-8d82-e8b29f139ca4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T14:38:15.1682758-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:15.1682758-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "28f0caea-563e-43a6-8389-0ef2951e84aa",
"CreateDate": "2026-10-04T14:38:15.1682758-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T14:38:15.1682758-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-04T14:38:15.1682758-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:15.1682758-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9485ab23-4bb4-4535-8a20-6d98c63f0720",
"CreateDate": "2026-10-04T14:38:15.1682758-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T14:38:15.1682758-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T14:38:15.1682758-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b83dbcfc-799e-439f-834e-bbf6f764d13a",
"CreateDate": "2026-10-04T14:38:15.1682758-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:15.1682758-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}