GET - Retrieve Deal by ID
Retrieve the deal related information using the deal id.
Retrieve a Deal
Method: GET
Endpoint: /deal/{dealid}
Headers:
Name
Value
Content-Type
application/json
Authorization
Bearer <API TOKEN>
Example Request (JavaScript - Fetch):
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer <API TOKEN>");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("https://bizmate.fasttask.net/api/v1/deal/{{dealid}}", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Example Request (cURL):
curl --location 'https://bizmate.fasttask.net/api/v1/deal/{{dealid}}' \
--header 'Authorization: Bearer <API TOKEN>'
Response
{
"id": "id",
"createdAt": "2024-08-08T00:20:15.867Z",
"createdBy": "",
"updatedAt": "2024-08-08T00:20:16.551Z",
"updatedBy": "",
"fields": {
"status": "Application Received",
"watchers": [
{
"type": "user",
"id": ""
}
],
"statusSinceDate": "2024-08-08T00:20:16.000Z",
"subStatusSinceDate": "2024-08-08T00:20:16.000Z",
"lastActivityDate": null,
"subStatus": "Banks In",
"name": "Some Text",
"customer": {
"id": "",
"name": "Some Text"
},
"callClientOrBroker": "Call Client",
"broker": {
"id": "",
"name": "Test Bizcap"
},
"brokerRep": {
"id": "",
"firstName": "Test Bizcap",
"lastName": "Partner Contact"
},
"loanType": null,
"internalBdmUser": null,
"omNumberOfPayments": null,
"omPaybackAmount": null,
"omTermDays": null,
"omDeclineReasons": null,
"omCollectionFrequency": null,
"omPrincipalAmount": null,
"omAdvanceID": null,
"omDateFunded": null,
"omAdvanceType": null,
"amount": "123.00",
"numberOfCallsMade": 0,
"bankStatementsCreditsSenseLink": ",
"bankStatementsUpdateLink": null,
"sfid": null,
"lastCallDate": null,
"callOnBehalfOf": "Some Text",
"partnerLeadReferenceId": "Some Text",
"applicationLink": ""
}
}
{
"error": "Invalid request"
}
Last updated