curl --request POST \
--url https://spark.test.woodcore.co/api/v2/loans/{loanId}/foreclosurewithlinkedsavings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": "loan foreclosure",
"transactionDate": "14 February 2024"
}'
{}
curl --request POST \
--url https://spark.test.woodcore.co/api/v2/loans/{loanId}/foreclosurewithlinkedsavings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": "loan foreclosure",
"transactionDate": "14 February 2024"
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"default"
ddddd
The response is of type object
.