POST api/pro/clinics/{clinicId}/product-addon-licenses

Creates a new product add-on license.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clinicId

The id of the clinic.

string

Required

Body Parameters

The request used to create the product add-on license.

CreateProductAddonLicenseRequest
NameDescriptionTypeAdditional information
ProductAddonId

string

Required

ProductLicenseId

string

None.

ExpirationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductAddonId": "sample string 1",
  "ProductLicenseId": "sample string 2",
  "ExpirationDate": "2025-08-29T01:11:46.7992015+00:00"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateProductAddonLicenseRequest'.

Response Information

Resource Description

The new product add-on license id.

string

Response Formats

application/json, text/json

Sample:
"sample string 1"