POST api/packagetypesfeatures/ChangePackageType

Request Information

URI Parameters

None.

Body Parameters

ChangePackageTypeDetailsDTO
NameDescriptionTypeAdditional information
CurrentPackageTypeID

integer

None.

NewPackageTypeID

integer

None.

PurchaseStatus

string

None.

PurchaseID

string

None.

TransactionDate

string

None.

PackageTypeProductID

string

None.

serverVerificationData

string

None.

localVerificationData

string

None.

CurrencySymbol

string

None.

PackagePrice

decimal number

None.

PlatformType

string

None.

PurchaseToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentPackageTypeID": 1,
  "NewPackageTypeID": 2,
  "PurchaseStatus": "sample string 3",
  "PurchaseID": "sample string 4",
  "TransactionDate": "sample string 5",
  "PackageTypeProductID": "sample string 6",
  "serverVerificationData": "sample string 7",
  "localVerificationData": "sample string 8",
  "CurrencySymbol": "sample string 9",
  "PackagePrice": 1.1,
  "PlatformType": "sample string 10",
  "PurchaseToken": "sample string 11"
}

multipart/form-data

Sample:
{"CurrentPackageTypeID":1,"NewPackageTypeID":2,"PurchaseStatus":"sample string 3","PurchaseID":"sample string 4","TransactionDate":"sample string 5","PackageTypeProductID":"sample string 6","serverVerificationData":"sample string 7","localVerificationData":"sample string 8","CurrencySymbol":"sample string 9","PackagePrice":1.1,"PlatformType":"sample string 10","PurchaseToken":"sample string 11"}

application/xml, text/xml

Sample:
<ChangePackageTypeDetailsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrupUpBusinessModel.DTO">
  <CurrencySymbol>sample string 9</CurrencySymbol>
  <CurrentPackageTypeID>1</CurrentPackageTypeID>
  <NewPackageTypeID>2</NewPackageTypeID>
  <PackagePrice>1.1</PackagePrice>
  <PackageTypeProductID>sample string 6</PackageTypeProductID>
  <PlatformType>sample string 10</PlatformType>
  <PurchaseID>sample string 4</PurchaseID>
  <PurchaseStatus>sample string 3</PurchaseStatus>
  <PurchaseToken>sample string 11</PurchaseToken>
  <TransactionDate>sample string 5</TransactionDate>
  <localVerificationData>sample string 8</localVerificationData>
  <serverVerificationData>sample string 7</serverVerificationData>
</ChangePackageTypeDetailsDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChangePackageTypeDetailsDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.