PUT {language}/subscription/adjustSubscription

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

string

Required

Body Parameters

AdjustSubscriptionRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SubscriptionType

string

None.

PricePackage

string

None.

CompanyId

globally unique identifier

None.

FromDate

date

None.

ToDate

date

None.

NumberOfEmployees

integer

None.

NumberOfEmployeesOfCurrentSubscription

integer

None.

TotalAmount

decimal number

None.

DiscountAmount

decimal number

None.

PlanType

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": "078a8c49-482b-4a78-8f8d-ff7713a58e96",
  "SubscriptionType": "sample string 2",
  "PricePackage": "sample string 3",
  "CompanyId": "b264428a-e0c8-43b2-a839-1c59b2f8b918",
  "FromDate": "2025-05-09T22:55:57.228384+00:00",
  "ToDate": "2025-05-09T22:55:57.228384+00:00",
  "NumberOfEmployees": 7,
  "NumberOfEmployeesOfCurrentSubscription": 8,
  "TotalAmount": 9.1,
  "DiscountAmount": 10.1,
  "PlanType": "sample string 11",
  "RequestId": "f1ae713a-e900-4194-8d2b-509d29739d7d",
  "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:
<AdjustSubscriptionRequest 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 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">f1ae713a-e900-4194-8d2b-509d29739d7d</RequestId>
  <CompanyId>b264428a-e0c8-43b2-a839-1c59b2f8b918</CompanyId>
  <DiscountAmount>10.1</DiscountAmount>
  <FromDate>2025-05-09T22:55:57.228384+00:00</FromDate>
  <Id>078a8c49-482b-4a78-8f8d-ff7713a58e96</Id>
  <NumberOfEmployees>7</NumberOfEmployees>
  <NumberOfEmployeesOfCurrentSubscription>8</NumberOfEmployeesOfCurrentSubscription>
  <PlanType>sample string 11</PlanType>
  <PricePackage>sample string 3</PricePackage>
  <SubscriptionType>sample string 2</SubscriptionType>
  <ToDate>2025-05-09T22:55:57.228384+00:00</ToDate>
  <TotalAmount>9.1</TotalAmount>
</AdjustSubscriptionRequest>

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.