1c Parse Provider Response Route

This subroute parses the Provider's response to see if the response contains any error messages, and based on the results, generates an HTTP response.

Route Structure

1c Parse Provider Response Route

Route Components Description

Component Name Component Type Description
Parent Route Input Parent Route Input Picks up data from the parent route 1 Create and Send to Provider.
Get possible error message Groovy Parses the Provider's response to extract the error messages, if any from the response received from the Provider's system.
Router Router Checks to see if the Groovy component has extracted any error messages from the Provider's response.
Error Response RESTful Web Service Outbound Generates an HTTP response with extracted error code and message (if any).
OK Response 200 RESTful Web Service Outbound Sends back an HTTP success status response code.