POST {language}/subscription/stripeDowngradeSubscription
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
UpdateSubcriptionInfoChangePackageByIdRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | globally unique identifier |
None. |
|
PromotionCode | string |
None. |
|
Package | string |
None. |
|
ApplyForNextSubscription | boolean |
None. |
|
EffectiveDate | date |
None. |
|
PricePackage | string |
None. |
|
IsCurrentSubscription | boolean |
None. |
|
NumberOfEmployeeSubscription | integer |
None. |
|
IsConfirm | boolean |
None. |
|
Country | string |
None. |
|
MessageCode | string |
None. |
|
IsUpdatePricePackageCurrentSubscriptionOnly | boolean |
None. |
|
NextPlanType | string |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "681a3921-631f-4bf6-8d1f-8b73267f3134", "CompanyId": "517e2f72-15c4-451d-ad1a-81589fc07ef4", "PromotionCode": "sample string 3", "Package": "sample string 4", "ApplyForNextSubscription": true, "EffectiveDate": "2025-04-27T23:37:05.2478328+00:00", "PricePackage": "sample string 6", "IsCurrentSubscription": true, "NumberOfEmployeeSubscription": 8, "IsConfirm": true, "Country": "sample string 10", "MessageCode": "sample string 11", "IsUpdatePricePackageCurrentSubscriptionOnly": true, "NextPlanType": "sample string 13", "RequestId": "c2c1677d-bc50-4a86-8437-581749fb8580", "Language": "sample string 15", "LanguageLogin": "sample string 16", "AuthToken": "sample string 17", "ClientId": "sample string 18", "PageIndex": 19, "PageSize": 20 }
application/xml, text/xml
Sample:
<UpdateSubcriptionInfoChangePackageByIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 17</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 18</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 15</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 16</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">19</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">20</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">c2c1677d-bc50-4a86-8437-581749fb8580</RequestId> <ApplyForNextSubscription>true</ApplyForNextSubscription> <CompanyId>517e2f72-15c4-451d-ad1a-81589fc07ef4</CompanyId> <Country>sample string 10</Country> <EffectiveDate>2025-04-27T23:37:05.2478328+00:00</EffectiveDate> <Id>681a3921-631f-4bf6-8d1f-8b73267f3134</Id> <IsConfirm>true</IsConfirm> <IsCurrentSubscription>true</IsCurrentSubscription> <IsUpdatePricePackageCurrentSubscriptionOnly>true</IsUpdatePricePackageCurrentSubscriptionOnly> <MessageCode>sample string 11</MessageCode> <NextPlanType>sample string 13</NextPlanType> <NumberOfEmployeeSubscription>8</NumberOfEmployeeSubscription> <Package>sample string 4</Package> <PricePackage>sample string 6</PricePackage> <PromotionCode>sample string 3</PromotionCode> </UpdateSubcriptionInfoChangePackageByIdRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.