POST api/v2/admin/packages/catalog/change

Request Information

URI Parameters

None.

Body Parameters

AdminOfferChange
NameDescriptionTypeAdditional information
Offer

string

None.

ConfirmOffer

string

None.

ExpectedVersion

globally unique identifier

None.

RequestId

globally unique identifier

None.

Reason

string

None.

Quantity

integer

None.

Months

integer

None.

AmountMinor

integer

None.

SaleEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Offer": "sample string 1",
  "ConfirmOffer": "sample string 2",
  "ExpectedVersion": "7031dc86-af47-4b2d-b09b-be3b500d0963",
  "RequestId": "805e1ba7-50b3-479e-906a-e9b91b1bdaab",
  "Reason": "sample string 5",
  "Quantity": 6,
  "Months": 7,
  "AmountMinor": 8,
  "SaleEnabled": true
}

application/xml, text/xml

Sample:
<AdminOfferChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SatisEntegrasyonWebApi.Controllers">
  <AmountMinor>8</AmountMinor>
  <ConfirmOffer>sample string 2</ConfirmOffer>
  <ExpectedVersion>7031dc86-af47-4b2d-b09b-be3b500d0963</ExpectedVersion>
  <Months>7</Months>
  <Offer>sample string 1</Offer>
  <Quantity>6</Quantity>
  <Reason>sample string 5</Reason>
  <RequestId>805e1ba7-50b3-479e-906a-e9b91b1bdaab</RequestId>
  <SaleEnabled>true</SaleEnabled>
</AdminOfferChange>

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 'AdminOfferChange'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.