POST api/License

Request Information

URI Parameters

None.

Body Parameters

License
NameDescriptionTypeAdditional information
Id

integer

None.

LicenseVersion

string

None.

CustomerName

string

None.

CustomerInfoHash

string

None.

Customer

Customer

None.

CustomerId

globally unique identifier

None.

ExpirationDate

date

None.

Description

string

None.

Note

string

None.

Properties

Collection of Property

None.

LicenseFeatures

Collection of LicenseFeatures

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LicenseVersion": "sample string 2",
  "CustomerName": "sample string 2",
  "CustomerInfoHash": "gtwUO+pPVSIyvZux2qQUrL8O+ZvixTu81/z3A6JvP9FcTQOts5dZ3FghGjKv9eGQg3i1VUvc1mA9mIcsvibM2g==",
  "Customer": {
    "CustomerId": "d435584d-810d-4b07-908f-8d775e1cc3b9",
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Note": "sample string 4",
    "ContactEmails": "sample string 5",
    "ITEmails": "sample string 6",
    "Phone": "sample string 7",
    "CloudCustomer": true,
    "HasSftp": true,
    "CustomerType": 0,
    "Active": true,
    "DbBackupExportHook": "sample string 10",
    "SpecialProperties": "sample string 12",
    "SpecialPropertiesSuperSet": "sample string 13"
  },
  "CustomerId": "88f99a75-44ea-45ec-8ea7-f7852163439b",
  "ExpirationDate": "2026-01-12T01:25:45.6533795+00:00",
  "Description": "sample string 5",
  "Note": "sample string 6",
  "Properties": [
    {
      "Id": 1,
      "Key": "sample string 2",
      "LicenseId": 3,
      "Value": "sample string 4"
    },
    {
      "Id": 1,
      "Key": "sample string 2",
      "LicenseId": 3,
      "Value": "sample string 4"
    }
  ],
  "LicenseFeatures": [
    {
      "Id": 1,
      "LicenseId": 2,
      "FeatureId": 3,
      "Feature": {
        "FeatureId": 1,
        "Name": "sample string 2",
        "Description": "sample string 3",
        "ExpirationDate": "2026-01-12T01:25:45.6533795+00:00",
        "IsBeta": true,
        "Select": true
      },
      "ExpirationDate": "2026-01-12T01:25:45.6533795+00:00"
    },
    {
      "Id": 1,
      "LicenseId": 2,
      "FeatureId": 3,
      "Feature": {
        "FeatureId": 1,
        "Name": "sample string 2",
        "Description": "sample string 3",
        "ExpirationDate": "2026-01-12T01:25:45.6533795+00:00",
        "IsBeta": true,
        "Select": true
      },
      "ExpirationDate": "2026-01-12T01:25:45.6533795+00:00"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'EmpyreanLicenseDomain.Models.Property' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'EmpyreanLicenseDomain.Models.Property' contains cycles and cannot be serialized if reference tracking is disabled.

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 'License'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.