PUT api/admin/UpdateTrialEndDate

Request Information

URI Parameters

None.

Body Parameters

UpdateTrialEndDateRequest
NameDescriptionTypeAdditional information
subscriptionId

string

None.

trialEndDate

date

None.

numberOfDays

integer

None.

invoiceMetadataNote

string

None.

Request Formats

application/json, text/json

Sample:
{
  "subscriptionId": "sample string 1",
  "trialEndDate": "2021-08-01T04:07:27.635844+00:00",
  "numberOfDays": 3,
  "invoiceMetadataNote": "sample string 4"
}

text/html

Sample:
{"subscriptionId":"sample string 1","trialEndDate":"2021-08-01T04:07:27.635844+00:00","numberOfDays":3,"invoiceMetadataNote":"sample string 4"}

application/xml, text/xml

Sample:
<UpdateTrialEndDateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <InvoiceMetadataNote>sample string 4</InvoiceMetadataNote>
  <NumberOfDays>3</NumberOfDays>
  <SubscriptionId>sample string 1</SubscriptionId>
  <TrialEndDate>2021-08-01T04:07:27.635844+00:00</TrialEndDate>
</UpdateTrialEndDateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateTrialEndDateRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.