POST api/License
Request Information
URI Parameters
None.
Body Parameters
License| Name | Description | Type | Additional 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": "38206ce6-7c36-4f89-84a6-37e3e4bb54f4",
"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": "6cacd77d-40a9-41fd-aff1-a5a9d2eed80b",
"ExpirationDate": "2026-08-23T04:24:21.4364716+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-08-23T04:24:21.4364716+00:00",
"IsBeta": true,
"Select": true
},
"ExpirationDate": "2026-08-23T04:24:21.4364716+00:00"
},
{
"Id": 1,
"LicenseId": 2,
"FeatureId": 3,
"Feature": {
"FeatureId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"ExpirationDate": "2026-08-23T04:24:21.4364716+00:00",
"IsBeta": true,
"Select": true
},
"ExpirationDate": "2026-08-23T04:24:21.4364716+00:00"
}
]
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |