PUT api/SubscriptionPackage/Update

Request Information

URI Parameters

None.

Body Parameters

SubscriptionPackageVM
NameDescriptionTypeAdditional information
SubscriptionPackageID

integer

None.

Title

string

None.

SubTitle

string

None.

PricePerMonth

decimal number

None.

CommitmentMonth

integer

None.

SessionInMonth

integer

None.

UnusedSessionRollOverUntillCancel

boolean

None.

AdditionalSessionPrice

decimal number

None.

ProductID

integer

None.

ProductName

string

None.

ProductDiscount

decimal number

None.

Note

string

None.

ColorCode

string

None.

CompanyID

integer

None.

IsNeverExpire

boolean

None.

AllAccessGuestPassPerMonth

integer

None.

DiscountOnActivationFees

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionPackageID": 1,
  "Title": "sample string 2",
  "SubTitle": "sample string 3",
  "PricePerMonth": 4.1,
  "CommitmentMonth": 5,
  "SessionInMonth": 6,
  "UnusedSessionRollOverUntillCancel": true,
  "AdditionalSessionPrice": 8.1,
  "ProductID": 1,
  "ProductName": "sample string 9",
  "ProductDiscount": 1.1,
  "Note": "sample string 10",
  "ColorCode": "sample string 11",
  "CompanyID": 12,
  "IsNeverExpire": true,
  "AllAccessGuestPassPerMonth": 14,
  "DiscountOnActivationFees": 1.1
}

application/xml, text/xml

Sample:
<SubscriptionPackageVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.ViewModel">
  <AdditionalSessionPrice>8.1</AdditionalSessionPrice>
  <AllAccessGuestPassPerMonth>14</AllAccessGuestPassPerMonth>
  <ColorCode>sample string 11</ColorCode>
  <CommitmentMonth>5</CommitmentMonth>
  <CompanyID>12</CompanyID>
  <DiscountOnActivationFees>1.1</DiscountOnActivationFees>
  <IsNeverExpire>true</IsNeverExpire>
  <Note>sample string 10</Note>
  <PricePerMonth>4.1</PricePerMonth>
  <ProductDiscount>1.1</ProductDiscount>
  <ProductID>1</ProductID>
  <ProductName>sample string 9</ProductName>
  <SessionInMonth>6</SessionInMonth>
  <SubTitle>sample string 3</SubTitle>
  <SubscriptionPackageID>1</SubscriptionPackageID>
  <Title>sample string 2</Title>
  <UnusedSessionRollOverUntillCancel>true</UnusedSessionRollOverUntillCancel>
</SubscriptionPackageVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

ResponseMsg

string

None.

Data

Object

None.

Token

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "ResponseMsg": "sample string 2",
  "Data": {},
  "Token": "sample string 4",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.GlobalLogics">
  <Data />
  <IsSuccess>true</IsSuccess>
  <ResponseMsg>sample string 2</ResponseMsg>
  <Status>1</Status>
  <Token>sample string 4</Token>
</Response>