POST api/CRMLicense

Insert New RelLicenseWidget

Request Information

URI Parameters

None.

Body Parameters

Licenses
NameDescriptionTypeAdditional information
LicenseID

integer

None.

LicenseCode

string

Required

String length: inclusive between 0 and 20

LicenseName

string

Required

String length: inclusive between 0 and 50

AvailablePeriodFrom

date

Required

AvailablePeriodTo

date

Required

NumberOfUsers

integer

None.

IsEnabled

boolean

None.

CreatedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LicenseID": 1,
  "LicenseCode": "sample string 2",
  "LicenseName": "sample string 3",
  "AvailablePeriodFrom": "2018-10-16T08:15:56.9463767+00:00",
  "AvailablePeriodTo": "2018-10-16T08:15:56.9463767+00:00",
  "NumberOfUsers": 6,
  "IsEnabled": true,
  "CreatedUserID": 8
}

application/xml, text/xml

Sample:
<Licenses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <CreatedDateTime>2018-10-16T08:15:56.9463767+00:00</CreatedDateTime>
  <CreatedUserID>8</CreatedUserID>
  <UpdatedDateTime>2018-10-16T08:15:56.9463767+00:00</UpdatedDateTime>
  <UpdatedUserID>1</UpdatedUserID>
  <AvailablePeriodFrom>2018-10-16T08:15:56.9463767+00:00</AvailablePeriodFrom>
  <AvailablePeriodTo>2018-10-16T08:15:56.9463767+00:00</AvailablePeriodTo>
  <IsEnabled>true</IsEnabled>
  <LicenseCode>sample string 2</LicenseCode>
  <LicenseID>1</LicenseID>
  <LicenseName>sample string 3</LicenseName>
  <NumberOfUsers>6</NumberOfUsers>
</Licenses>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.