I am using 22.8.27… let see if i can figure out how to attach the rule.
[
{
"createdBy": null,
"creationDate": 1661528751994,
"currentOwner": "kFn5IMeaLUTKsP7rvBUa6b3o4Mq2",
"description": "to return a specific error when called",
"groupId": "",
"id": "Response_7js3y",
"isSample": false,
"lastModified": 1661805972409,
"lastModifiedBy": null,
"modificationDate": 1661805972409,
"name": "tax api",
"objectType": "rule",
"pairs": [
{
"id": "673zo",
"response": {
"statusCode": "",
"type": "static",
"value": "{\n \"msg\": \"success\",\n \"status\": 200,\n \"timecost\": 665,\n \"params\": {\n \"params\": \"Parameters are too large, skiped in return\"\n },\n \"logKey\": \"64ff3c9a58bb4fcca7acae35c9f64231\",\n \"data\": {\n \"resultCode\": 2990,\n \"resultDesc\": \"ESB tax error: 2950-User generated exception+++RFC Response Error: 05 : Required field TAX_HEADER_IN-SH_STATE has no input.+++TaxCalcService.Process RFC Response\",\n \"header\": {\n \"currency\": \"USD\",\n \"taxAmt\": 0,\n \"canadaGST\": 0,\n \"canadaPST\": 0,\n \"canadaQST\": 0,\n \"canadaHST\": 0,\n \"errorFlag\": true\n },\n \"lineItems\": [\n {\n \"itemNum\": 1,\n \"partNum\": \"D09PVLL\",\n \"taxAmt\": 0\n },\n {\n \"itemNum\": 2,\n \"partNum\": \"E0794LL\",\n \"taxAmt\": 0\n },\n {\n \"itemNum\": 3,\n \"partNum\": \"E0794LL\",\n \"taxAmt\": 0\n },\n {\n \"itemNum\": 4,\n \"partNum\": \"E0794LL\",\n \"taxAmt\": 0\n }\n ]\n }\n}"
},
"source": {
"filters": [],
"key": "Url",
"operator": "Contains",
"value": "/dsw/eorder/blueapi/v1/tax"
}
}
],
"ruleType": "Response",
"status": "Active"
}
]