kaushik dey
04/25/2024, 1:27 PM{
"priority": 7,
"request": {
"method": "GET",
"urlPathPattern": "/customerBillManagement/v1/appliedCustomerBillingRate",
"queryParameters": {
"filter": {
"matches": "billingAccount.id==([a-zA-Z0-9_]+)"
}
}
},
"response": {
"jsonBody": {
"bill": {
"@referredType": null,
"id": "{{regexExtract request.query.filter '(?<=bill.id==)([a-zA-Z0-9_]+)'}}",
"href": null
},
"billingAccount": {
"id": "{{regexExtract request.query.filter '(?<=billingAccount.id==)([a-zA-Z0-9_]+)'}}",
"ratingType": null,
"segment": null,
"href": null
}
}
}
}
url: <http://localhost:8080/customerBillManagement/v1/appliedCustomerBillingRate?filter=billingAccount.id%3D%3Dabc_123>
actual output:
{
"billingAccount": {
"id": "{{regexExtract request.query.filter '(?<=billingAccount.id==)([a-zA-Z0-9_]+)'}}",
"ratingType": null,
"segment": null,
"href": null
}
}
expected output:
{
"billingAccount": {
"id": "abc_123",
"ratingType": null,
"segment": null,
"href": null
}
}
can guys help me in understanding what I'm doing wrong here?