Create License

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
namestringRequired

Required: Unique identifier name - max 255 chars - snake_case - commercial_hvac_license

is_activestringRequired

Optional: Active status - boolean - true|false - default: true

sort_orderstringRequired

Optional: Display sort order - integer >= 0 - default: 0

descriptionstringRequired

Optional: Detailed description - max 2000 chars

display_namestringRequired

Required: Human-readable display name - max 255 chars - Commercial HVAC License

license_codestringRequired

Optional: Official license code/number - max 100 chars - CA-HVAC-C20

license_typestringRequired

Required: License type enum - commercial|residential|specialty - commercial

requires_renewalstringRequired

Optional: Renewal requirement - boolean - true|false - default: true

issuing_authoritystringRequired

Optional: Organization issuing license - max 255 chars - State Board, County, Municipality

tenant_location_idstringRequired

Optional: Associate with tenant location - numeric ID from tenant_locations table

validity_period_monthsstringRequired

Optional: Validity period in months - integer 1-1200 (1-100 years) - 24 for 2 years

Response

Successful response