Data Rounding

Output representation of the data rounding response.

JSON Example 

1{
2  "keyToUomDataRowOutput": {
3    "PRC1": {
4      "key": "PRC1",
5      "fieldApiNameToFieldDataOutput": {
6        "MaxQuantity": {
7          "fieldApiName": "MaxQuantity",
8          "originalValue": 1234.5678,
9          "isRoundingApplicable": true,
10          "roundedValue": 1234.56,
11          "unitOfMeasureId": "uomId1",
12          "errorCodeToErrorMap" : []
13        },
14        "MinQuantity": {
15          "fieldApiName": "MinQuantity",
16          "originalValue": 643.1,
17          "isRoundingApplicable": true,
18          "roundedValue": 643.1,
19          "unitOfMeasureId": "uomId1"
20        }
21      },
22      "errorCodeToErrorMap" : []
23    },
24    "PRC2": {
25      "key": "PRC2",
26      "fieldApiNameToFieldDataOutput": {
27        "MaxQuantity": {
28          "fieldApiName": "MaxQuantity",
29          "originalValue": 1234.5678,
30          "isRoundingApplicable": true,
31          "roundedValue": 1234.56,
32          "unitOfMeasureId": "uomId1"
33        },
34        "MinQuantity": {
35          "fieldApiName": "MinQuantity",
36          "originalValue": 987.4628,
37          "isRoundingApplicable": true,
38          "errorCodeToErrorMap": {
39            "message": "arithrmetic operation"
40          },
41          "unitOfMeasureId": "uomId1"
42        }
43      },
44      "errorCodeToErrorMap": []
45    },
46    "PRC3": {
47      "key": "PRC3",
48      "fieldApiNameToFieldDataOutput": {
49        "MaxQuantity": {
50          "fieldApiName": "MaxQuantity",
51          "originalValue": 1234.5678,
52          "isRoundingApplicable": false,
53          "unitOfMeasureId": "uomId2"
54        },
55        "MinQuantity": {
56          "fieldApiName": "MinQuantity",
57          "originalValue": 987.4628,
58          "isRoundingApplicable": false,
59          "unitOfMeasureId": "uomId2"
60        }
61      },
62      "errorCodeToErrorMap": []
63    }
64  }
65}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
correlationIdStringUnique 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
keyToData​RowOutputMap<String, Data Row>Data row key mapped to the associated data row.Small, 63.063.0
statusUnit Of Measure Status[]Status of the API request.Small, 63.063.0