Bulk Unit Of Measure Info

Output representation of the details of the unit of measure records along with error details.

JSON Example 

1{
2  "correlationId": "928ea35f-8a2f-4932-9f7e-ec6cdbcabdbe",
3  "errorCodeToErrorMap": {
4    "UNIT_OF_MEASURE_INFO_INVALID_UOM_IDS": {
5      "errorCode": "UOM_INFO_API_003",
6      "messageDetail": "Invalid uomId is passed. Please specify a valid uomId.",
7      "messageTitle": "Invalid uomId is passed.",
8      "recordIds": [
9        "sample"
10      ],
11      "source": "Unit_Of_Measure_Info_Api"
12    }
13  },
14  "status": {
15    "errors": [],
16    "httpStatusCode": "200",
17    "message": " Successfully fetched UnitOfMeasure Info. "
18  },
19  "uomIdToUnitOfMeasureInfo": {
20    "0hEU200000003M5MAI": {
21      "id": "0hEU200000003M5MAI",
22      "name": "Pounds",
23      "roundingMethod": "Nearest",
24      "scale": 1,
25      "unitCode": "Pounds"
26    },
27    "0hEU200000003KTMAY": {
28      "id": "0hEU200000003KTMAY",
29      "name": "Grams",
30      "roundingMethod": "Down",
31      "scale": 5,
32      "unitCode": "Grams"
33    }
34  }
35}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
correlation​IdStringUnique token to track and associate related events or transactions across different components of the application. If unspecified, a Universally Unique Identifier (UUID) is generated.Small, 63.063.0
errorCode​ToErrorMapMap<String, Unit Of Measure Error>Error codes mapped to their details.Small, 63.063.0
statusUnit Of Measure Status[]Status of the API request.Small, 63.063.0
uomIdToUnit​OfMeasure​InfoMap<String, Unit Of Measure Info>Unit of measure record IDs mapped to their details.Small, 63.063.0