POST {language}/subscription/validateAndCalculatingSubscription
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
ValidateAndCalculatingSubscriptionRequestName | Description | Type | Additional information |
---|---|---|---|
PaymentHistoryId | globally unique identifier |
None. |
|
Country | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
PromotionCode | string |
None. |
|
BillingCycle | string |
None. |
|
PlanType | string |
None. |
|
PaymentStatus | string |
None. |
|
ActualEmployee | integer |
None. |
|
IsSubscribe | boolean |
None. |
|
IsCheckValidatePoromotion | boolean |
None. |
|
IsUnsubscribe | boolean |
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:
{ "PaymentHistoryId": "7c45ba7a-4889-4fda-bedd-ba2119fb1a45", "Country": "sample string 2", "CompanyId": "6245ec0f-0df5-4df0-be1e-6dc721df1dcb", "PromotionCode": "sample string 4", "BillingCycle": "sample string 5", "PlanType": "sample string 6", "PaymentStatus": "sample string 7", "ActualEmployee": 8, "IsSubscribe": true, "IsCheckValidatePoromotion": true, "IsUnsubscribe": true, "RequestId": "b77dcb17-a0f4-4150-a0d9-dc2e64994e18", "Language": "sample string 13", "LanguageLogin": "sample string 14", "AuthToken": "sample string 15", "ClientId": "sample string 16", "PageIndex": 17, "PageSize": 18 }
application/xml, text/xml
Sample:
<ValidateAndCalculatingSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.ViewModels"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 15</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 16</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 13</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 14</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">17</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">18</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">b77dcb17-a0f4-4150-a0d9-dc2e64994e18</RequestId> <ActualEmployee>8</ActualEmployee> <BillingCycle>sample string 5</BillingCycle> <CompanyId>6245ec0f-0df5-4df0-be1e-6dc721df1dcb</CompanyId> <Country>sample string 2</Country> <IsCheckValidatePoromotion>true</IsCheckValidatePoromotion> <IsSubscribe>true</IsSubscribe> <IsUnsubscribe>true</IsUnsubscribe> <PaymentHistoryId>7c45ba7a-4889-4fda-bedd-ba2119fb1a45</PaymentHistoryId> <PaymentStatus>sample string 7</PaymentStatus> <PlanType>sample string 6</PlanType> <PromotionCode>sample string 4</PromotionCode> </ValidateAndCalculatingSubscriptionRequest>
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.