POST api/License

Request Information

URI Parameters

None.

Body Parameters

LicenseModel
NameDescriptionTypeAdditional information
ProductCode

string

None.

SerialNumber

string

None.

CustomerDescription

string

None.

VatCode

string

None.

ExpiryDate

date

None.

NumerOfUsers

integer

None.

CreateUser

string

None.

CreateDate

date

None.

IsBilled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCode": "sample string 1",
  "SerialNumber": "sample string 2",
  "CustomerDescription": "sample string 3",
  "VatCode": "sample string 4",
  "ExpiryDate": "2020-12-01T02:57:27.5549509+01:00",
  "NumerOfUsers": 6,
  "CreateUser": "sample string 7",
  "CreateDate": "2020-12-01T02:57:27.5549509+01:00",
  "IsBilled": true
}

application/xml, text/xml

Sample:
<LicenseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CUBEWebAPIService.Models">
  <CreateDate>2020-12-01T02:57:27.5549509+01:00</CreateDate>
  <CreateUser>sample string 7</CreateUser>
  <CustomerDescription>sample string 3</CustomerDescription>
  <ExpiryDate>2020-12-01T02:57:27.5549509+01:00</ExpiryDate>
  <IsBilled>true</IsBilled>
  <NumerOfUsers>6</NumerOfUsers>
  <ProductCode>sample string 1</ProductCode>
  <SerialNumber>sample string 2</SerialNumber>
  <VatCode>sample string 4</VatCode>
</LicenseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.