Skip to main content

Get quote status

Get quote status.

Endpoint

GET /integration/quote/{id}/status

HTTP Request

GET /integration/quote/{id}/status

Query parameters

NameDescriptionRequiredType
idIdentifier of the quoteYesstring

Successful response

HTTP 200

{
"quoteId": "3002878",
"status": "AUTHORIZED",
"creditInfo": {
"accountStatus": "active",
"masterStatus": "active",
"pastDue30": 0.0,
"pastDue60": 0.0,
"pastDue90": 0.0,
"pastDue90Plus": 0.0,
"availableCredit": 133560.0,
"limit": 134000.0,
"balance": 440.0,
"pastDueAmount": 0.0,
"processingAmount": 0.0,
"creditType": "LOC",
"automatedDrawApprovalInfo": {
"isEnabled": true,
"singleDrawMaxLimit": 10000,
"creditLimitPercentageAvailableToUseAutomatically": 10,
"dailyLimit": 1000000,
"weeklyLimit": 1000000
}
},
"totalAmount": 100
}

Erroneous response

HTTP 404

{
"code": "404",
"reason": "Quote not found."
}

Responses

CodeDescription
200Successful operation
400Invalid request
401Unauthorized
404Not found
500Unexpected error

Objects

Response

NameDescriptionType
quoteIdIdentifier of the quotestring
statusStatus of the quotestring
creditInfoThe credit infoobject
totalAmountThe quote total amountdecimal

Credit Information Details Object

NameDescriptionType
accountStatusThe credit account statusstring
masterStatusThe business master statusstring
pastDue30The past due amounts in 1-30 daysdecimal
pastDue60The past due amounts in 31-60 daysdecimal
pastDue90The past due amounts in 61-90 daysdecimal
pastDue90PlusThe past due amounts in 91-... daysdecimal
availableCreditThe available credit. Empty if not approved.decimal
limitThe company approved credit limit. Empty if not approved.decimal
balanceThe unpaid amount of the company creditdecimal
pastDueAmountTotal past due amount for the company. Empty if not approved.decimal
processingAmountThe processing payments amountdecimal
creditTypeThe credit typestring
automatedDrawApprovalInfoThe automated approval informationobject

Automated Draw Approval Information Object

NameDescriptionType
isEnabledIs automated approval enabledboolean
singleDrawMaxLimitMaximum amount of a draw to approve automaticallynumber
creditLimitPercentageAvailableToUseAutomaticallyThe percentage of credit could be used for automatic approvalnumber
dailyLimitDaily limit of amounts to approve automaticallynumber
weeklyLimitLast 7 days limit of amounts to approve automaticallynumber

Enums

Quote status

Statuses with capital letters.

  • Placed - Quote created
  • AuthorizationInReview - Authorization is still ongoing
  • Authorized - Quote was successfully authorized
  • Invoiced - Quote was successfully attached to an invoice
  • Rejected - Quote was rejected
  • Expired - Quote is outdated, expired
  • ApplicationAdminApprovalRequired - Admin approval is required

Master status

  • New
  • Active
  • InCollection
  • Inactive
  • PotentiallyFraud
  • Closed

Account status

  • Active
  • Closed
  • PastDue
  • OnHold
  • InCollection

Credit Types

  • Default
  • IHC
  • LOC

Examples

curl https://api.bluetape.com/genericBthubService/integration/quote/<quoteId>/status \
-X GET \
-H "X-BlueTape-Key: <your-key>" \
-H "X-Integration-AccountId: <your-account-id>" \
import fetch from 'node-fetch';


const invoiceId = '27be905508e7';
const url = `https://api.bluetape.com/genericBthubService/integration/quote/${quoteId}/status`;
const options = {
method: 'GET',
headers: {
'X-BlueTape-Key': '<your-key>',
'X-Integration-AccountId': '<your-account-id>',
'Content-Type': 'application/json'
}
};

fetch(url, options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
using Flurl.Http;

var result = await "https://api.bluetape.com/genericBthubService/integration/quote/{quoteId}/status"
.WithHeader("X-BlueTape-Key", "<your-key>")
.WithHeader("X-Integration-AccountId", "<your-account-id>")
.WithHeader("Content-Type", "application/json")
.GetAsync();
import requests

url = "https://api.bluetape.com/genericBthubService/integration/quote/<quoteId>/status"

headers = {
"X-BlueTape-Key": "<your-key>",
"X-Integration-AccountId": "<your-account-id>",
"Content-Type": "application/json"
}

response = requests.get(url, headers=headers)

print(response.text)