Get all contractor licenses

get

/fscmRestApi/resources/11.13.18.05/publicSectorContractorLicenses

Request

Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds the contractor license that matches the primary keys specified.
      Finder Variables:
      • LicenseKey; integer; The contractor license key.
    • simpleSearchFinder: Finds the contractor license that matches the specified filter values.
      Finder Variables:
      • value; string; The filter values to be applied when finding the contractor license information. Filtering options include License Number, Status, Business Name, Address1, Address2, City, State, and Postal Code.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • Address1; string; The first address line on the contractor license.
    • Address2; string; The second address line on the contractor license.
    • Address3; string; The third address line on the contractor license.
    • Address4; string; The fourth address line on the contractor license.
    • AgencyId; integer; The agency ID for the transaction.
    • City; string; The city of the address on the contractor license.
    • ComplaintDiscloureInd; string; Indicates whether a complaint has been disclosed against license.
    • ContractorLicenseNumber; string; The number portion of the contractor license.
    • Country; string; The country on the address of the contractor license.
    • County; string; The county on the address of the contractor license.
    • Dba; string; The name the contractor is doing business as.
    • EmailAddress; string; The email address on a contractor license.
    • EnabledFlag; string; Indicates whether the license is enabled for use in the application. The default value is Y.
    • ExpireDate; string; The expiration date of a contractor license.
    • InactiveDate; string; The date when a contractor license became inactive.
    • IntLastUpdateBy; string; The user who updated the third-party integration data.
    • IntLastUpdateDt; string; The date when the third-party integration data was last updated.
    • IntStatusLastUpdateBy; string; The user who updated the internal license status.
    • IntStatusLastUpdateDt; string; The date when the internal license status was last updated.
    • IntegrationSource; string; The third party that integrates with Oracle to verify contractor licenses.
    • InternalLicenseStatus; string; The license status that is assigned by agency staff. This is an internally maintained status that is not related to the status maintained by the licensing organization.
    • IssueDate; string; The date when the contractor license was originally issued or went into effect.
    • LicenseEntity; string; The type of entity that holds the contractor license. For example, the license can be held by a corporation, partnership, or sole proprietor.
    • LicenseKey; integer; The automatically generated number that uniquely identifies the contractor license.
    • LicenseLmfPre; string; The suffix associated with the contractor license number to indicate the Home Improvement Salesperson (HIS) registration number.
    • LicenseNumber; string; The contractor license number issued by the government or the agency.
    • LicenseSetupCode; string; The code identifies which data sections are used for the contractor license.
    • LicenseType; string; The type of the issued contractor license.
    • Name; string; The name on the contractor license.
    • Owner; string; The owner name or names on the contractor license.
    • PhoneAreaCode; string; The phone area code on the contractor license.
    • PhoneCountryCode; string; The phone country code on the contractor license.
    • PhoneExtension; string; The phone extension on the contractor license.
    • PhoneNumber; string; The phone number on the contractor license.
    • PostalPlus4Code; string; The postal code on the address of the contractor license.
    • Province; string; The province on the address of the contractor license.
    • ReactivateDate; string; The date when a contractor license was reactivated after a period of inactivity.
    • ReissueDate; string; The date when a contractor license was reissued, for example, if the entity type has changed.
    • SourceLastUpdateDt; string; The date when the license information was last updated by the third-party licensing body that validated the license information.
    • SourceStatus; string; The license status as provided by the third-party licensing body that validated the license information.
    • State; string; The state on the address of the contractor license.
    • SuspendDate; string; The date when a contractor license was suspended.
    • UsedInApplication; string; Indicates whether the license is referenced in any applications.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : publicSectorContractorLicenses
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : publicSectorContractorLicenses-item-response
Type: object
Show Source
Nested Schema : Contractor License Agents
Type: array
Title: Contractor License Agents
The contractor license agents resource is used to view, add, delete, and modify details associated with authorized contacts who act as agents for the holder of a contractor license.
Show Source
Nested Schema : Contractor License Facts
Type: array
Title: Contractor License Facts
The contractor license facts resource is used to view, add, delete, and modify details pertaining to contractor license information such as classification, certification, status, and so forth.
Show Source
Nested Schema : Contractor License Insurances
Type: array
Title: Contractor License Insurances
The contractor license insurances resource is used to view, add, delete, and modify details pertaining to insurance and workers compensation for a contractor license.
Show Source
Nested Schema : publicSectorContractorLicenses-ContractorLicenseAgents-item-response
Type: object
Show Source
  • Maximum Length: 64
    The user who last updated the active contact status.
  • Date when the user last updated the active status of the contact.
  • Title: Address Line 1
    Maximum Length: 240
    The first line of the address of the person who is a contact for the contractor license.
  • Title: Address Line 2
    Maximum Length: 240
    The second line of the address of the person who is a contact for the contractor license.
  • Maximum Length: 240
    The third line of the address of the person who is a contact for the contractor license.
  • Maximum Length: 240
    The fourth line of the address of the person who is a contact for the contractor license.
  • The date when the contact person was associated with the contractor license.
  • Maximum Length: 1
    Default Value: N
    Indicates whether the contact person is an authorized user of the license.
  • Maximum Length: 30
    Default Value: PV
    The status of the contact person who is associated with the contractor license. The status indicates whether the person is a verified contact.
  • Maximum Length: 60
    The city for the address of the person who is a contact for the contractor license.
  • Maximum Length: 1
    Default Value: Y
    The status for the contact person.
  • The business party ID associated with the entity that holds the license.
  • The business profile ID associated with the contact person if the contact person is a registered user.
  • Maximum Length: 18
    The contact ID associated with the contact person for the business license. This attribute is not currently used.
  • The party ID associated with the contact person if the contact person is a registered user.
  • The profile ID associated with the contact person if the contact person is a registered user.
  • Title: Association Type
    Maximum Length: 30
    The contact type or role of the person associated with the license. This attribute is not currently used.
  • Title: Country
    Maximum Length: 3
    The country for the address of the person who is a contact for the contractor license.
  • Maximum Length: 60
    The country for the address of the person who is a contact for the contractor license.
  • The date when a former contact person was disassociated from the contractor license.
  • Title: Email
    Maximum Length: 320
    The email address of the person who is a contact for the contractor license.
  • Title: Title
    Maximum Length: 60
    The job title of the person who is a contact for the contractor license.
  • The unique identifier for the person who is an authorized contact for a contractor license.
  • Maximum Length: 1
    Default Value: N
    Indicates whether the contact person is a license holder.
  • The unique identifier for a contractor license.
  • Links
  • Maximum Length: 360
    The name of the organization of the contact person for the contractor license.
  • Title: First Name
    Maximum Length: 150
    The first name of the person who is authorized as a contact for the contractor license.
  • Title: Last Name
    Maximum Length: 150
    Last name of the person who is authorized as a contact for the contractor license.
  • Title: Middle Name
    Maximum Length: 60
    The middle name of the person who is authorized as a contact for the contractor license.
  • Maximum Length: 450
    The full concatenated name of the person who is authorized as a contact for the contractor license. This includes the person's first, middle, and last names and any name suffix.
  • Title: Suffix
    Maximum Length: 30
    The name suffix for the person who is authorized as a contact for the contractor license.
  • Title: Salutation
    Maximum Length: 30
    The salutation of the person associated with the contractor license.
  • Maximum Length: 10
    The phone area code of the person who is a contact for the contractor license.
  • Maximum Length: 10
    The phone country code of the person who is a contact for the contractor license.
  • Maximum Length: 20
    The phone extension of the person who is a contact for the contractor license.
  • Maximum Length: 40
    The phone of the person who is a contact for the contractor license.
  • Title: ZIP Code
    Maximum Length: 60
    The postal code for the address of the person who is a contact for the contractor license.
  • Maximum Length: 1
    Identifies whether the person associated with the license is the preferred contact for the contractor. This attribute is not currently used.
  • Maximum Length: 60
    The province for the address of the person who is a contact for the contractor license.
  • Maximum Length: 60
    The state for the address of the person who is a contact for the contractor license.
  • The date when the user last updated the authorization status.
  • Maximum Length: 64
    The user who updated the authorization status.
Nested Schema : publicSectorContractorLicenses-ContractorLicenseFacts-item-response
Type: object
Show Source
Nested Schema : publicSectorContractorLicenses-ContractorLicenseInsurances-item-response
Type: object
Show Source
Back to Top