POST api/License/confirmLicense

Request Information

URI Parameters

None.

Body Parameters

LicenseInputModel
NameDescriptionTypeAdditional information
licenseCode

string

Required

email

string

Required

enabled

boolean

None.

licenseTypeEnun

integer

Required

isTemporalLicense

boolean

None.

isMultilicense

boolean

None.

isHardwareLock

boolean

None.

isVendor

boolean

None.

isConsuming

boolean

None.

isService

boolean

None.

isFeaturesLock

boolean

None.

isOnlyOnline

boolean

None.

nomeAnagraficaSoftware

integer

Required

createDoubleLicense

boolean

None.

canUpate

boolean

None.

leaseDate

date

Required

updateAllow

date

Required

endUseDate

date

Required

multipleLicenseCreation

boolean

None.

userAssociateMultipleLicense

Collection of RegisterBindingModel

None.

sendEmail

boolean

None.

modules

Collection of InputModulesModel

None.

user

RegisterBindingModel

None.

idUserGs

integer

None.

idCopyLincese

integer

None.

conditionSale

string

None.

isForAllLicense

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "licenseCode": "sample string 1",
  "email": "sample string 2",
  "enabled": true,
  "licenseTypeEnun": 4,
  "isTemporalLicense": true,
  "isMultilicense": true,
  "isHardwareLock": true,
  "isVendor": true,
  "isConsuming": true,
  "isService": true,
  "isFeaturesLock": true,
  "isOnlyOnline": true,
  "nomeAnagraficaSoftware": 13,
  "createDoubleLicense": true,
  "canUpate": true,
  "leaseDate": "2019-11-17T12:18:19.3509734+01:00",
  "updateAllow": "2019-11-17T12:18:19.3509734+01:00",
  "endUseDate": "2019-11-17T12:18:19.3509734+01:00",
  "multipleLicenseCreation": true,
  "userAssociateMultipleLicense": [
    {
      "Email": "sample string 1",
      "Password": "sample string 2",
      "ConfirmPassword": "sample string 3",
      "role": "sample string 4",
      "name": "sample string 5",
      "surname": "sample string 6",
      "ragioneSociale": "sample string 7",
      "address": "sample string 8",
      "city": "sample string 9",
      "cap": "sample string 10",
      "phone": "sample string 11",
      "userEmail": "sample string 12",
      "piva": "sample string 13",
      "codFiscale": "sample string 14",
      "userAssociates": [
        "sample string 1",
        "sample string 2"
      ],
      "administrationEmail": "sample string 15",
      "pec": "sample string 16",
      "note": "sample string 17",
      "codUfficio": "sample string 18"
    },
    {
      "Email": "sample string 1",
      "Password": "sample string 2",
      "ConfirmPassword": "sample string 3",
      "role": "sample string 4",
      "name": "sample string 5",
      "surname": "sample string 6",
      "ragioneSociale": "sample string 7",
      "address": "sample string 8",
      "city": "sample string 9",
      "cap": "sample string 10",
      "phone": "sample string 11",
      "userEmail": "sample string 12",
      "piva": "sample string 13",
      "codFiscale": "sample string 14",
      "userAssociates": [
        "sample string 1",
        "sample string 2"
      ],
      "administrationEmail": "sample string 15",
      "pec": "sample string 16",
      "note": "sample string 17",
      "codUfficio": "sample string 18"
    }
  ],
  "sendEmail": true,
  "modules": [
    {
      "codex": "sample string 1",
      "description": "sample string 2",
      "endUseDate": "2019-11-17T12:18:19.3519732+01:00",
      "id": 4,
      "isChecked": true,
      "name": "sample string 6",
      "updateAllow": "2019-11-17T12:18:19.3519732+01:00",
      "idModuleFeature": 8
    },
    {
      "codex": "sample string 1",
      "description": "sample string 2",
      "endUseDate": "2019-11-17T12:18:19.3519732+01:00",
      "id": 4,
      "isChecked": true,
      "name": "sample string 6",
      "updateAllow": "2019-11-17T12:18:19.3519732+01:00",
      "idModuleFeature": 8
    }
  ],
  "user": {
    "Email": "sample string 1",
    "Password": "sample string 2",
    "ConfirmPassword": "sample string 3",
    "role": "sample string 4",
    "name": "sample string 5",
    "surname": "sample string 6",
    "ragioneSociale": "sample string 7",
    "address": "sample string 8",
    "city": "sample string 9",
    "cap": "sample string 10",
    "phone": "sample string 11",
    "userEmail": "sample string 12",
    "piva": "sample string 13",
    "codFiscale": "sample string 14",
    "userAssociates": [
      "sample string 1",
      "sample string 2"
    ],
    "administrationEmail": "sample string 15",
    "pec": "sample string 16",
    "note": "sample string 17",
    "codUfficio": "sample string 18"
  },
  "idUserGs": 21,
  "idCopyLincese": 22,
  "conditionSale": "sample string 23",
  "isForAllLicense": true
}

application/xml, text/xml

Sample:
<LicenseInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServiceLMS6Auth.Models">
  <canUpate>true</canUpate>
  <conditionSale>sample string 23</conditionSale>
  <createDoubleLicense>true</createDoubleLicense>
  <email>sample string 2</email>
  <enabled>true</enabled>
  <endUseDate>2019-11-17T12:18:19.3509734+01:00</endUseDate>
  <idCopyLincese>22</idCopyLincese>
  <idUserGs>21</idUserGs>
  <isConsuming>true</isConsuming>
  <isFeaturesLock>true</isFeaturesLock>
  <isForAllLicense>true</isForAllLicense>
  <isHardwareLock>true</isHardwareLock>
  <isMultilicense>true</isMultilicense>
  <isOnlyOnline>true</isOnlyOnline>
  <isService>true</isService>
  <isTemporalLicense>true</isTemporalLicense>
  <isVendor>true</isVendor>
  <leaseDate>2019-11-17T12:18:19.3509734+01:00</leaseDate>
  <licenseCode>sample string 1</licenseCode>
  <licenseTypeEnun>4</licenseTypeEnun>
  <modules>
    <InputModulesModel>
      <codex>sample string 1</codex>
      <description>sample string 2</description>
      <endUseDate>2019-11-17T12:18:19.3519732+01:00</endUseDate>
      <id>4</id>
      <idModuleFeature>8</idModuleFeature>
      <isChecked>true</isChecked>
      <name>sample string 6</name>
      <updateAllow>2019-11-17T12:18:19.3519732+01:00</updateAllow>
    </InputModulesModel>
    <InputModulesModel>
      <codex>sample string 1</codex>
      <description>sample string 2</description>
      <endUseDate>2019-11-17T12:18:19.3519732+01:00</endUseDate>
      <id>4</id>
      <idModuleFeature>8</idModuleFeature>
      <isChecked>true</isChecked>
      <name>sample string 6</name>
      <updateAllow>2019-11-17T12:18:19.3519732+01:00</updateAllow>
    </InputModulesModel>
  </modules>
  <multipleLicenseCreation>true</multipleLicenseCreation>
  <nomeAnagraficaSoftware>13</nomeAnagraficaSoftware>
  <sendEmail>true</sendEmail>
  <updateAllow>2019-11-17T12:18:19.3509734+01:00</updateAllow>
  <user>
    <ConfirmPassword>sample string 3</ConfirmPassword>
    <Email>sample string 1</Email>
    <Password>sample string 2</Password>
    <address>sample string 8</address>
    <administrationEmail>sample string 15</administrationEmail>
    <cap>sample string 10</cap>
    <city>sample string 9</city>
    <codFiscale>sample string 14</codFiscale>
    <codUfficio>sample string 18</codUfficio>
    <name>sample string 5</name>
    <note>sample string 17</note>
    <pec>sample string 16</pec>
    <phone>sample string 11</phone>
    <piva>sample string 13</piva>
    <ragioneSociale>sample string 7</ragioneSociale>
    <role>sample string 4</role>
    <surname>sample string 6</surname>
    <userAssociates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </userAssociates>
    <userEmail>sample string 12</userEmail>
  </user>
  <userAssociateMultipleLicense>
    <RegisterBindingModel>
      <ConfirmPassword>sample string 3</ConfirmPassword>
      <Email>sample string 1</Email>
      <Password>sample string 2</Password>
      <address>sample string 8</address>
      <administrationEmail>sample string 15</administrationEmail>
      <cap>sample string 10</cap>
      <city>sample string 9</city>
      <codFiscale>sample string 14</codFiscale>
      <codUfficio>sample string 18</codUfficio>
      <name>sample string 5</name>
      <note>sample string 17</note>
      <pec>sample string 16</pec>
      <phone>sample string 11</phone>
      <piva>sample string 13</piva>
      <ragioneSociale>sample string 7</ragioneSociale>
      <role>sample string 4</role>
      <surname>sample string 6</surname>
      <userAssociates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </userAssociates>
      <userEmail>sample string 12</userEmail>
    </RegisterBindingModel>
    <RegisterBindingModel>
      <ConfirmPassword>sample string 3</ConfirmPassword>
      <Email>sample string 1</Email>
      <Password>sample string 2</Password>
      <address>sample string 8</address>
      <administrationEmail>sample string 15</administrationEmail>
      <cap>sample string 10</cap>
      <city>sample string 9</city>
      <codFiscale>sample string 14</codFiscale>
      <codUfficio>sample string 18</codUfficio>
      <name>sample string 5</name>
      <note>sample string 17</note>
      <pec>sample string 16</pec>
      <phone>sample string 11</phone>
      <piva>sample string 13</piva>
      <ragioneSociale>sample string 7</ragioneSociale>
      <role>sample string 4</role>
      <surname>sample string 6</surname>
      <userAssociates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </userAssociates>
      <userEmail>sample string 12</userEmail>
    </RegisterBindingModel>
  </userAssociateMultipleLicense>
</LicenseInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.