POST api/ProductLicense/PostProductLicense

Request Information

URI Parameters

None.

Body Parameters

ProductLicenseIntegrationDTO
NameDescriptionTypeAdditional information
ExternalOrderId

string

Required

String length: inclusive between 2 and 50

InternalOrderId

string

Required

String length: inclusive between 2 and 50

LicenseAcquisitionTypeId

integer

Required

InternalParnterId

integer

None.

PartnerName

string

String length: inclusive between 2 and 50

CustomerName

string

Required

String length: inclusive between 2 and 100

CustomerEmail

string

Required

CustomerAddressCountry

string

String length: inclusive between 2 and 200

CustomerAddressCity

string

String length: inclusive between 2 and 100

InternalProductId

string

String length: inclusive between 2 and 100

Quantity

integer

None.

PaidTermDays

integer

None.

LicenseTerm

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ExternalOrderId": "sample string 1",
  "InternalOrderId": "sample string 2",
  "LicenseAcquisitionTypeId": 3,
  "InternalParnterId": 4,
  "PartnerName": "sample string 5",
  "CustomerName": "sample string 6",
  "CustomerEmail": "sample string 7",
  "CustomerAddressCountry": "sample string 8",
  "CustomerAddressCity": "sample string 9",
  "InternalProductId": "sample string 10",
  "Quantity": 11,
  "PaidTermDays": 1,
  "LicenseTerm": 1
}

application/xml, text/xml

Sample:
<ProductLicenseIntegrationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SND.SNDIntegrator.APIExternalGateway.DTOs">
  <CustomerAddressCity>sample string 9</CustomerAddressCity>
  <CustomerAddressCountry>sample string 8</CustomerAddressCountry>
  <CustomerEmail>sample string 7</CustomerEmail>
  <CustomerName>sample string 6</CustomerName>
  <ExternalOrderId>sample string 1</ExternalOrderId>
  <InternalOrderId>sample string 2</InternalOrderId>
  <InternalParnterId>4</InternalParnterId>
  <InternalProductId>sample string 10</InternalProductId>
  <LicenseAcquisitionTypeId>3</LicenseAcquisitionTypeId>
  <LicenseTerm>1</LicenseTerm>
  <PaidTermDays>1</PaidTermDays>
  <PartnerName>sample string 5</PartnerName>
  <Quantity>11</Quantity>
</ProductLicenseIntegrationDTO>

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.