/api/v2/journey/outcomes to return a 409 when the maximum number of outcomes is exceeded instead of a 400

Category: API

Summary: /api/v2/journey/outcomes to return a 409 when the maximum number of outcomes is exceeded instead of a 400.

Context: There is a requirement to update the /api/v2/journey/outcomes exception endpoint to return a 409 exception once the the maximum number of outcomes has been exceeded instead of a 400. The reasoning behind this is to return a more specific exception relating to exceeding resources and also to be consistent with changes across other endpoints.

Impact: The api/v2/journey/outcomes endpoint will continue to return 400 when the maximum number of outcomes has been exceeded until the required announcement wait-time has passed, then it will be updated to return a 409.

Date of Change: 30th August

References: GPE Limits

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.