Skip to main content
POST
Get license

Request contract

  • Method and path: POST /apis/v1/azroc-my-site-com/licenses/get-license
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/azroc-my-site-com/licenses/get-license
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
license_id
string
required

Salesforce License__c id (15 or 18 characters, e.g. a0ot0000000NcO3AAK) from search_contractors, or the detail page URL carrying ?licenseId=.

Response

One ROC license record (Aura actions ARCP_ContractorSearch.getLicenseDetail + getAllPersonnelDetail + getAllBondDetail + getAllComplaintsDetail, sent as one batch; the site's contractor detail page). Keyed by the Salesforce license_id from search_contractors (a pasted detail URL .../contractor-search?licenseId=... is accepted). Returns the license (ROC number, status and status-change date, issue date, renewal-through date, classification description, entity type, QP exemption, business and DBA names, city/state/ZIP, phone), the personnel on file (name, title, other positions), the surety bonds (number, type, status, effective and cancellation dates, bond, allotted, available, payout and repayment amounts in USD, surety company) and the public complaint summary (open, resolved and disciplined counts) with each complaint's number, status, nature, type, allegations, outcome, closed date and jobsite city. Complainant identities are not returned. An unknown license_id makes the site answer an Apex System.QueryException; that is reported as not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.