POST api/BillingService/ActivateGeneralLicense

Documentation for 'ActivateGeneralLicense'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "license_code": "sample string 1",
  "device_guid": "sample string 2"
}

application/xml, text/xml

Sample:
<ActivateGeneralLicenseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <device_guid>sample string 2</device_guid>
  <license_code>sample string 1</license_code>
</ActivateGeneralLicenseRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "device_guid": "sample string 1",
  "next_billing_date": "sample string 2",
  "is_success": true,
  "error_message": "sample string 4",
  "exception_name": "sample string 5",
  "error_code": 6
}

application/xml, text/xml

Sample:
<ActivateGeneralLicenseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">6</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 4</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 5</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <device_guid>sample string 1</device_guid>
  <next_billing_date>sample string 2</next_billing_date>
</ActivateGeneralLicenseResponse>