POST api/Licences/Add?count={count}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
licence
No documentation available.

Define this parameter in the request body.

count
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "InLicenceId": 1,
  "LicenceKey": "sample string 2",
  "ExProductId": 3,
  "ExCompanyId": 4,
  "IsUsed": true,
  "Used": 1,
  "ExpiryDate": "2026-08-20T17:42:32.6733812+01:00",
  "ClientName": "sample string 5",
  "MachineName": "sample string 6",
  "Domain": "sample string 7",
  "CreatedBy": "sample string 8",
  "UpdatedBy": "sample string 9",
  "Company": {
    "InCompanyId": 1,
    "CompanyName": "sample string 2",
    "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
    "UpdatedDate": "2026-08-20T17:42:32.6733812+01:00"
  },
  "Product": {
    "InProductId": 1,
    "ProductName": "sample string 2",
    "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
    "UpdatedDate": "2026-08-20T17:42:32.6733812+01:00"
  },
  "LicenceLogs": [
    {
      "InLicenceLogId": 1,
      "ExLicenceId": 1,
      "ExProductId": 1,
      "ExCompanyId": 1,
      "LogEntry": "sample string 2",
      "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
      "ClientName": "sample string 3",
      "MachineName": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "InLicenceLogId": 1,
      "ExLicenceId": 1,
      "ExProductId": 1,
      "ExCompanyId": 1,
      "LogEntry": "sample string 2",
      "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
      "ClientName": "sample string 3",
      "MachineName": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "InLicenceLogId": 1,
      "ExLicenceId": 1,
      "ExProductId": 1,
      "ExCompanyId": 1,
      "LogEntry": "sample string 2",
      "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
      "ClientName": "sample string 3",
      "MachineName": "sample string 4",
      "Domain": "sample string 5"
    }
  ],
  "CreatedDate": "2026-08-20T17:42:32.6733812+01:00",
  "UpdatedDate": "2026-08-20T17:42:32.6733812+01:00"
}

application/xml, text/xml

Sample:
<Licence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LicenceService.Models">
  <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
  <UpdatedDate>2026-08-20T17:42:32.6733812+01:00</UpdatedDate>
  <ClientName>sample string 5</ClientName>
  <Company>
    <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
    <UpdatedDate>2026-08-20T17:42:32.6733812+01:00</UpdatedDate>
    <CompanyName>sample string 2</CompanyName>
    <InCompanyId>1</InCompanyId>
  </Company>
  <CreatedBy>sample string 8</CreatedBy>
  <Domain>sample string 7</Domain>
  <ExCompanyId>4</ExCompanyId>
  <ExProductId>3</ExProductId>
  <ExpiryDate>2026-08-20T17:42:32.6733812+01:00</ExpiryDate>
  <InLicenceId>1</InLicenceId>
  <IsUsed>true</IsUsed>
  <LicenceKey>sample string 2</LicenceKey>
  <LicenceLogs>
    <LicenceLog>
      <ClientName>sample string 3</ClientName>
      <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
      <Domain>sample string 5</Domain>
      <ExCompanyId>1</ExCompanyId>
      <ExLicenceId>1</ExLicenceId>
      <ExProductId>1</ExProductId>
      <InLicenceLogId>1</InLicenceLogId>
      <LogEntry>sample string 2</LogEntry>
      <MachineName>sample string 4</MachineName>
    </LicenceLog>
    <LicenceLog>
      <ClientName>sample string 3</ClientName>
      <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
      <Domain>sample string 5</Domain>
      <ExCompanyId>1</ExCompanyId>
      <ExLicenceId>1</ExLicenceId>
      <ExProductId>1</ExProductId>
      <InLicenceLogId>1</InLicenceLogId>
      <LogEntry>sample string 2</LogEntry>
      <MachineName>sample string 4</MachineName>
    </LicenceLog>
    <LicenceLog>
      <ClientName>sample string 3</ClientName>
      <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
      <Domain>sample string 5</Domain>
      <ExCompanyId>1</ExCompanyId>
      <ExLicenceId>1</ExLicenceId>
      <ExProductId>1</ExProductId>
      <InLicenceLogId>1</InLicenceLogId>
      <LogEntry>sample string 2</LogEntry>
      <MachineName>sample string 4</MachineName>
    </LicenceLog>
  </LicenceLogs>
  <MachineName>sample string 6</MachineName>
  <Product>
    <CreatedDate>2026-08-20T17:42:32.6733812+01:00</CreatedDate>
    <UpdatedDate>2026-08-20T17:42:32.6733812+01:00</UpdatedDate>
    <InProductId>1</InProductId>
    <ProductName>sample string 2</ProductName>
  </Product>
  <UpdatedBy>sample string 9</UpdatedBy>
  <Used>1</Used>
</Licence>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.