PUT api/admin/RenewTksSubscription
Request Information
URI Parameters
None.
Body Parameters
RenewTksSubscriptionRequestName | Description | Type | Additional information |
---|---|---|---|
subscriptionId | string |
None. |
|
amount | decimal number |
None. |
|
trialEndDate | date |
None. |
|
trialStartDate | date |
None. |
|
payments | Collection of SplitPaymentModel |
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:47:29.2547591+00:00", "trialStartDate": "2024-12-21T15:47:29.2547591+00:00", "payments": [ { "amount": 1.0, "paymentDate": "2024-12-21T15:47:29.2547591+00:00" }, { "amount": 1.0, "paymentDate": "2024-12-21T15:47:29.2547591+00:00" } ], "numberOfMonths": 5, "invoiceMetadataNote": "sample string 6" }
text/html
Sample:
{"subscriptionId":"sample string 1","amount":2.0,"trialEndDate":"2024-12-21T15:47:29.2547591+00:00","trialStartDate":"2024-12-21T15:47:29.2547591+00:00","payments":[{"amount":1.0,"paymentDate":"2024-12-21T15:47:29.2547591+00:00"},{"amount":1.0,"paymentDate":"2024-12-21T15:47:29.2547591+00:00"}],"numberOfMonths":5,"invoiceMetadataNote":"sample string 6"}
application/xml, text/xml
Sample:
<RenewTksSubscriptionRequest 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> <RemainingPayments> <SplitPaymentModel> <Amount>1</Amount> <PaymentDate>2024-12-21T15:47:29.2547591+00:00</PaymentDate> </SplitPaymentModel> </RemainingPayments> <SplitPayments> <SplitPaymentModel> <Amount>1</Amount> <PaymentDate>2024-12-21T15:47:29.2547591+00:00</PaymentDate> </SplitPaymentModel> <SplitPaymentModel> <Amount>1</Amount> <PaymentDate>2024-12-21T15:47:29.2547591+00:00</PaymentDate> </SplitPaymentModel> </SplitPayments> <TrialEndDate>2024-12-21T15:47:29.2547591+00:00</TrialEndDate> <TrialStartDate>2024-12-21T15:47:29.2547591+00:00</TrialStartDate> <SubscriptionId>sample string 1</SubscriptionId> </RenewTksSubscriptionRequest>
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.