How Dell Boomi Handles HTTP Responses in REST API Processes
In Dell Boomi, REST API responses are built using a combination of shapes within an integration process. When a Web Services Server Connector receives a request, Boomi processes it and returns a response body along with an HTTP status code to the client. The Set Properties shape is used to assign the appropriate HTTP status code, such as 201 for resource creation or 400 for a bad request, while the Return Documents shape sends the actual response payload. Importantly, the HTTP status code is not set on the Return Documents shape itself but is passed via document properties that the Web Services Server connector reads when dispatching the response. For error handling, a Try/Catch shape is combined with a Message or Map shape to generate standardized error payloads before setting the relevant status code and returning the response.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in