Get CMx Records
GET /service/v2/cm/cmx
Available: Version 25.4 and later.
Purpose
Update records for Code and Record CMx.
Prerequisites
Ensure you have Get permission for Business Process Services.
Request Format
Send a request as a JSON map with the following structure:
ws/rest/service/v2/cm/cmx?project_number=<value>&input={ "bpname" : "<value>", "record_no" : "<value>" }
For Company BPs, do not specify the project_number
parameter.
Query Parameters
Specify the following parameters in the Options JSON map:
Request Parameter | Required? | Data Type | Description |
---|---|---|---|
project_number | Yes | String | A valid active project number. For example, "B-0001". |
input.class_name | Yes | String | The name of the configurable managers class name. For example, “Material Inventory Manager”. |
input. record_no | Yes | String | The BP record number. For example, "INV-0001". |
input.general_comments | No | String | The general comments data in the response. |
Response Format
A JSON object is returned in the following format:
{
"data": [],
"message": [<list of messages>],
"status": <REST status code value>,
"rest_audit_id": <id from the audit table>
}
A successful response displays a status code 200.
A failed response displays a message with a status code.
Sample Success Request
Send a request in the following format:
/ws/rest/service/v2/cm/cmx?project_number=B-0001&input={
"class_name" : "Material Inventory Manager",
"record_no" : "INV-0002"
}
Sample Success Response
A successful response with status code 200 displays in the following format:
{
"data": [
{
"record_data": {
"upaItemUnitPrice": 0.0,
"upmManufacturerT
XT120": "Philips Advance",
"umatReceivedQuantityDA": 0.0,
"uuu_cm5_na
me": "Instant Optanium Electronic Bal
last",
"umatCommittedSDA":
0.0,
"ugenPropertySubC
lass": null,
"ugenPro
pertyClass": null,
"r
ecord_no": "INV-0003",
"umat
RecItemUnitPriceSCA": 0.0,
"umatIniTotPriceCA": 0.0,
"uskuSkuAvgUnitPrice": 0.0,
"uuu_cm_navigation_code": "Electrical-Philips Advance",
"uskuQuantity
InHandDA": 0.0,
"uma
tSKUMtrDP": "969874-88",
"uBuildingNumber": null,
"Short_Descrip_Default_Value": "
Instant Optanium Electronic Ball
ast",
"ugenUnitofMeasureP
D": "each",
"uuu_creation_date": "07-18-
2019 16:02:03",
"uip
InitialQtyDA": 0.0,
"uuu
_cm5_status": "Active",
"umatAdjQtySNL": 0.0,
"umatS
ubTypePD": "Ballasts",
"uWarehouseName": null,
"Date_Picker_K": nul
l,
"uuu_cm5_code": "Electric
al_969874-88",
"umatSKUMasterNuberRN": "9698
74-88",
"umatCategoryP
D": "Electrical",
"uma
tTotalPriceSNL": 0.0,
"uipQtyAdjDA": 0.0,
"uBuildingName": "B-0001",
"crea
tor_id": "Company Administrator",
"umatTotQtySNL": 0.
0,
"umatSKUMtrDesc
": "Instant Optani
um Elec
tronic Ballast",
"Approved_Da
te": null
}
}
],
"message": ["success"],
"status": 200
}
Supported Validation Messages and Status Codes
The following validation messages and status codes display in the response when incorrect values are provided in the request:
Field Name | Use-case Scenario | Status Code | Error Message |
---|---|---|---|
project_number | project_number is invalid. | 602 | Project/Shell Number is not correct. |
input.class_name | input.class_name is Incorrect. | 779 | Class Name is not found. |
input.class_name | Key is missing. | 784 | class_name is not present in the request input. |
input.record_no | record_no is incorrect. | 657 | Invalid record_no. |
input.record_no | Key is missing. | 3004 | record_no not present in request input. |
Related Topics
Last Published Friday, October 17, 2025