PUT api/TrialUsers

Updates an existing TrialUsers entity

Request Information

URI Parameters

None.

Body Parameters

TrialUsersData object

TrialUsersData
NameDescriptionTypeAdditional information
TrialUserID

integer

None.

UserMachineCode

string

None.

UserMacAddress

string

None.

ProductID

integer

None.

ProductCode

string

None.

UserTrialKey

string

None.

UserLicenseKey

string

None.

RunTimes

integer

None.

AllowedRunTimes

integer

None.

AllowedRunDays

integer

None.

TrialExpirationDate

date

None.

TrialStartDate

date

None.

IsRegistered

boolean

None.

CreatedDate

date

None.

UpdatedDate

date

None.

Tag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TrialUserID": 1,
  "UserMachineCode": "sample string 2",
  "UserMacAddress": "sample string 3",
  "ProductID": 4,
  "ProductCode": "sample string 5",
  "UserTrialKey": "sample string 6",
  "UserLicenseKey": "sample string 7",
  "RunTimes": 8,
  "AllowedRunTimes": 9,
  "AllowedRunDays": 10,
  "TrialExpirationDate": "2026-01-18T14:40:16.5033329-08:00",
  "TrialStartDate": "2026-01-18T14:40:16.5033329-08:00",
  "IsRegistered": true,
  "CreatedDate": "2026-01-18T14:40:16.5033329-08:00",
  "UpdatedDate": "2026-01-18T14:40:16.5033329-08:00",
  "Tag": "sample string 12"
}

text/xml

Sample:
<TrialUsersData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodeBhagat.DAL">
  <AllowedRunDays>10</AllowedRunDays>
  <AllowedRunTimes>9</AllowedRunTimes>
  <CreatedDate>2026-01-18T14:40:16.5033329-08:00</CreatedDate>
  <IsRegistered>true</IsRegistered>
  <ProductCode>sample string 5</ProductCode>
  <ProductID>4</ProductID>
  <RunTimes>8</RunTimes>
  <Tag>sample string 12</Tag>
  <TrialExpirationDate>2026-01-18T14:40:16.5033329-08:00</TrialExpirationDate>
  <TrialStartDate>2026-01-18T14:40:16.5033329-08:00</TrialStartDate>
  <TrialUserID>1</TrialUserID>
  <UpdatedDate>2026-01-18T14:40:16.5033329-08:00</UpdatedDate>
  <UserLicenseKey>sample string 7</UserLicenseKey>
  <UserMacAddress>sample string 3</UserMacAddress>
  <UserMachineCode>sample string 2</UserMachineCode>
  <UserTrialKey>sample string 6</UserTrialKey>
</TrialUsersData>

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.