POST public-api/assets/createMultiQuantityAssets
This method creates a new multi-quantity asset. A multi-quantity asset is not unique across sites and locations and may have quantity associated with it. The existing multi-quantity asset is retrieved by calling API function GetAssetsByTags() or one of the searches. Requires Create Asset permission. Accepts a maximum of 500 records at a time.
Request Information
URI Parameters
None.
Body Parameters
Collection of InventoriedAssetInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetTag | string |
None. |
|
| AssetRecordStatus | RecordStatus |
None. |
|
| RowNumber | integer |
None. |
|
| AssetTypeNumber | string |
None. |
|
| AssetTypeDescription | string |
None. |
|
| AssetClass | AssetClassEnum |
None. |
|
| DepreciationClassName | string |
None. |
|
| ManufacturerName | string |
None. |
|
| CategoryDescription | string |
None. |
|
| SupplierNumber | string |
None. |
|
| AssetTypeModelNumber | string |
None. |
|
| AssetTypeCheckOutDuration | integer |
None. |
|
| AssetTypeLeadTime | integer |
None. |
|
| AssetTypeAutoFillData | boolean |
None. |
|
| AssetDefaultCost | decimal number |
None. |
|
| AssetTypeRecordStatus | RecordStatus |
None. |
|
| AssetCount | integer |
None. |
|
| AttachmentsToAdd | Collection of string |
None. |
|
| AttachmentsToDelete | Collection of string |
None. |
|
| AttachmentNames | Collection of Pair of string [key] and string [value] |
None. |
|
| CustomFields | Collection of DcfValueInfo |
None. |
|
| NewDefaultAttachment | string |
None. |
|
| HasAttachment | boolean |
None. |
|
| IsGroup | boolean |
None. |
|
| TransactAsWhole | boolean |
None. |
|
| AuditAsWhole | boolean |
None. |
|
| AssetTypeCreatedDate | date |
None. |
|
| AssetTypeLastUpdatedDate | date |
None. |
|
| CreatedByUserFirstName | string |
None. |
|
| CreatedByUserLastName | string |
None. |
|
| LastUpdatedByUserFirstName | string |
None. |
|
| LastUpdatedByUserLastName | string |
None. |
Request Formats
application/json
Sample:
[
{
"AssetTag": "sample string 1",
"AssetRecordStatus": 0,
"RowNumber": 2,
"AssetTypeNumber": "sample string 3",
"AssetTypeDescription": "sample string 4",
"AssetClass": 0,
"DepreciationClassName": "sample string 5",
"ManufacturerName": "sample string 6",
"CategoryDescription": "sample string 7",
"SupplierNumber": "sample string 8",
"AssetTypeModelNumber": "sample string 9",
"AssetTypeCheckOutDuration": 1,
"AssetTypeLeadTime": 1,
"AssetTypeAutoFillData": true,
"AssetDefaultCost": 1.0,
"AssetTypeRecordStatus": 0,
"AssetCount": 10,
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-09-09T12:33:10.3158491+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-09-09T12:33:10.3158491+00:00",
"DcfValueRecordStatus": 0
}
],
"NewDefaultAttachment": "sample string 11",
"HasAttachment": true,
"IsGroup": true,
"TransactAsWhole": true,
"AuditAsWhole": true,
"AssetTypeCreatedDate": "2026-09-09T12:33:10.3158491+00:00",
"AssetTypeLastUpdatedDate": "2026-09-09T12:33:10.3158491+00:00",
"CreatedByUserFirstName": "sample string 13",
"CreatedByUserLastName": "sample string 14",
"LastUpdatedByUserFirstName": "sample string 15",
"LastUpdatedByUserLastName": "sample string 16"
},
{
"AssetTag": "sample string 1",
"AssetRecordStatus": 0,
"RowNumber": 2,
"AssetTypeNumber": "sample string 3",
"AssetTypeDescription": "sample string 4",
"AssetClass": 0,
"DepreciationClassName": "sample string 5",
"ManufacturerName": "sample string 6",
"CategoryDescription": "sample string 7",
"SupplierNumber": "sample string 8",
"AssetTypeModelNumber": "sample string 9",
"AssetTypeCheckOutDuration": 1,
"AssetTypeLeadTime": 1,
"AssetTypeAutoFillData": true,
"AssetDefaultCost": 1.0,
"AssetTypeRecordStatus": 0,
"AssetCount": 10,
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-09-09T12:33:10.3158491+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-09-09T12:33:10.3158491+00:00",
"DcfValueRecordStatus": 0
}
],
"NewDefaultAttachment": "sample string 11",
"HasAttachment": true,
"IsGroup": true,
"TransactAsWhole": true,
"AuditAsWhole": true,
"AssetTypeCreatedDate": "2026-09-09T12:33:10.3158491+00:00",
"AssetTypeLastUpdatedDate": "2026-09-09T12:33:10.3158491+00:00",
"CreatedByUserFirstName": "sample string 13",
"CreatedByUserLastName": "sample string 14",
"LastUpdatedByUserFirstName": "sample string 15",
"LastUpdatedByUserLastName": "sample string 16"
}
]
Response Information
Resource Description
WaspResultOfResults| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Results |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": {
"ResultList": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"SuccessfullResults": 1,
"TotalResults": 2,
"ErrorCount": 0
},
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}