Create a License for an existing facility

Add a License for the specified facility.

Request
path Parameters
facilityId
required
string <uuid>
Request Body schema: application/json
appliesTo
required
string
Enum: "SelfOnly" "SelfAndAllChildren" "Custom"
associatedFacilitySpecialtyIds
Array of strings <uuid>
licenseTypeId
required
string <uuid>

License type unique identifier of the license.

state
required
string

State of the license.

Enum: "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "DC" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "WY" "AS" "GU" "MP" "PR" "VI"
licenseNumber
required
string non-empty

License number of the license.

isPrimary
required
boolean

Flag to indicate if the license will be set as primary.

object (FacilityLicenseNonVerifiedInfoRequestModel)
Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Error

post/facilities/{facilityId}/info/licenses
Request samples
application/json
{
  • "appliesTo": "Custom",
  • "associatedFacilitySpecialtyIds": [
    ],
  • "licenseTypeId": "acac9426-ab93-4f79-a277-f4ccd1b60206",
  • "state": "AL",
  • "licenseNumber": "string",
  • "isPrimary": true,
  • "nonVerifiedInfo": {
    }
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "lastUpdatedAt": "2019-08-24T14:15:22Z",
  • "appliesTo": "Custom",
  • "associatedFacilitySpecialtyIds": [
    ],
  • "licenseTypeId": "acac9426-ab93-4f79-a277-f4ccd1b60206",
  • "state": "AL",
  • "licenseNumber": "string",
  • "isPrimary": true,
  • "nonVerifiedInfo": {
    }
}