PUT api/admin/RenewSubscription
Request Information
URI Parameters
None.
Body Parameters
RenewSubscriptionRequestName | Description | Type | Additional information |
---|---|---|---|
subscriptionId | string |
None. |
|
amount | decimal number |
None. |
|
trialEndDate | date |
None. |
|
trialStartDate | date |
None. |
|
numberOfMonths | integer |
None. |
|
invoiceMetadataNote | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "subscriptionId": "sample string 1", "amount": 2.0, "trialEndDate": "2024-12-21T15:45:59.9746601+00:00", "trialStartDate": "2024-12-21T15:45:59.9746601+00:00", "numberOfMonths": 5, "invoiceMetadataNote": "sample string 6" }
text/html
Sample:
{"subscriptionId":"sample string 1","amount":2.0,"trialEndDate":"2024-12-21T15:45:59.9746601+00:00","trialStartDate":"2024-12-21T15:45:59.9746601+00:00","numberOfMonths":5,"invoiceMetadataNote":"sample string 6"}
application/xml, text/xml
Sample:
<RenewSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <Amount>2</Amount> <InvoiceMetadataNote>sample string 6</InvoiceMetadataNote> <NumberOfMonths>5</NumberOfMonths> <SubscriptionId>sample string 1</SubscriptionId> <TrialEndDate>2024-12-21T15:45:59.9746601+00:00</TrialEndDate> <TrialStartDate>2024-12-21T15:45:59.9746601+00:00</TrialStartDate> </RenewSubscriptionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.