POST api/ms/payment/package/price/calculate

Request Information

URI Parameters

None.

Body Parameters

m_payment_package_price_calculate_request
NameDescriptionTypeAdditional information
package_id

integer

None.

month_amount

integer

None.

product_amount

integer

None.

promotion_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "package_id": 1,
  "month_amount": 2,
  "product_amount": 3,
  "promotion_id": 1
}

application/xml, text/xml

Sample:
<m_payment_package_price_calculate_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Mainsystem">
  <month_amount>2</month_amount>
  <package_id>1</package_id>
  <product_amount>3</product_amount>
  <promotion_id>1</promotion_id>
</m_payment_package_price_calculate_request>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.