Here we will review how to find the existing loan application offers.
We need to verify if the loan application ID-1664282446
has any existing offers.
...applications/ID-1664282446/offers
To find the loan application offers, make the following API call.
https://loan-api.sandbox.tuumplatform.com/api/v2/applications/{applicationId}/offers
Below is an example request of the API call for finding the existing loan application offers.
https://loan-api.sandbox.tuumplatform.com/api/v2/applications/ID-1664282446/offers
curl -L 'https://loan-api.sandbox.tuumplatform.com/api/v2/applications/ID-1664282446/offers' \
-H 'x-channel-code: SYSTEM' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDctMjVUMTA6NTk6MzciLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2OTAyODI3Nzd9.Fp49Wdqzrmifxb9PNrQIqT1_xXFyM4QouKaPzq9ANeE' \
-d ''
Below you find an example response body to the API call above.
The loan application offer ID-1664282512
was found.