Update a contractor license

patch

/fscmRestApi/resources/11.13.18.05/publicSectorContractorLicenses/{LicenseKey}

Request

Path Parameters
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
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-patch-request
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.
  • Maximum Length: 1
    Default Value: N
    Indicates whether the contact person is a license holder.
  • 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 : schema
Type: object
Show Source
Nested Schema : publicSectorContractorLicenses-ContractorLicenseInsurances-item-patch-request
Type: object
Show Source
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-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