POST api/LicenseKey

Request Information

URI Parameters

None.

Body Parameters

LicenseKey
NameDescriptionTypeAdditional information
id

integer

None.

Key

string

Max length: 50

Domain

string

Max length: 255

ServerName

string

Max length: 255

IPAddress

string

Max length: 50

Created

date

None.

LastAccessed

date

None.

Invalidated

boolean

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Key": "sample string 2",
  "Domain": "sample string 3",
  "ServerName": "sample string 4",
  "IPAddress": "sample string 5",
  "Created": "2026-01-08T19:18:08.1272833+00:00",
  "LastAccessed": "2026-01-08T19:18:08.1272833+00:00",
  "Invalidated": true,
  "Comments": "sample string 6"
}

application/xml, text/xml

Sample:
<LicenseKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueSphere.Licensing.Models">
  <Comments>sample string 6</Comments>
  <Created>2026-01-08T19:18:08.1272833+00:00</Created>
  <Domain>sample string 3</Domain>
  <IPAddress>sample string 5</IPAddress>
  <Invalidated>true</Invalidated>
  <Key>sample string 2</Key>
  <LastAccessed>2026-01-08T19:18:08.1272833+00:00</LastAccessed>
  <ServerName>sample string 4</ServerName>
  <id>1</id>
</LicenseKey>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LicenseResponse
NameDescriptionTypeAdditional information
Code

LicenseResponseType

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<LicenseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueSphere.Licensing.Models">
  <Code>UnknownError</Code>
  <Message>sample string 1</Message>
</LicenseResponse>