Replace the bankers on the loan. loanTeam lists the seats that have a banker: a seat from bankerSeats of GET /products/{id} and a banker from GET /bankers. A seat that is not in the list is empty, and an empty list clears the team. A banker who takes a seat gets the assignment email. The response is loanTeam as GET /loans/{id} returns it.
Security
ApiKeyAuth
- https://api.pioneerft.com/apihttps://api.pioneerft.com/api/public/v1/loans/{id}/team
- https://api.staging.pioneerft.com/apihttps://api.staging.pioneerft.com/api/public/v1/loans/{id}/team
curl -i -X PUT \
'https://api.pioneerft.com/api/public/v1/loans/{id}/team' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-d '{
"loanTeam": [
{
"roleId": "string",
"bankerId": "string"
}
]
}'Response
{ "data": [ { "role": { "id": "string", "name": "string", "label": "string" }, "banker": { "id": "string", "name": "string", "lastName": "string", "email": "string" } } ] }