API - Validation Errors

 

How to check the response for possible validation errors

When using the API Post calls, the response will pass back validation messages if there is an issue.

To view all possible validation messages for an endpoint navigate to the swagger page (UAT https://uat-apidocs.flipgroup.com.au/)

Select the endpoint you are using eg /{account}/consignments

Click on Schema

Under various fields that have validation look for Possible validation errors (see screenshot below).

Â