POST {language}/subscription/validateAndCalculatingSubscription

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

string

Required

Body Parameters

ValidateAndCalculatingSubscriptionRequest
NameDescriptionTypeAdditional 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": "b696b694-402f-4742-aace-a2952061bea3",
  "Country": "sample string 2",
  "CompanyId": "2579c044-483e-4361-a303-f8a598e88d4c",
  "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": "122b7d87-450b-437f-b4b2-0e08086a929d",
  "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">122b7d87-450b-437f-b4b2-0e08086a929d</RequestId>
  <ActualEmployee>8</ActualEmployee>
  <BillingCycle>sample string 5</BillingCycle>
  <CompanyId>2579c044-483e-4361-a303-f8a598e88d4c</CompanyId>
  <Country>sample string 2</Country>
  <IsCheckValidatePoromotion>true</IsCheckValidatePoromotion>
  <IsSubscribe>true</IsSubscribe>
  <IsUnsubscribe>true</IsUnsubscribe>
  <PaymentHistoryId>b696b694-402f-4742-aace-a2952061bea3</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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.