GetAvailablePricingModels

From Gvp-public
Jump to navigation Jump to search

Description

Gets all available pricing models by ProductType and ProductId

This method has difference for logged user or note logged. If the user is logged, and try to get the PricingModel for a transactional product, it will be show the assigned pricing model. If the not-logged user try to get the pricing model for a transactional product it might return the subscription pricing model that it has been assigned.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged. The return will depends the business rules were used from each OB.
A type of product possible in the system.
  • productId (int, required)
A ID of one product that wants the information about.


Returns

Returns a JSON object containing an array of PricingModel.

Example:

{

"Offset": 0,
"Limit": 100,
"Count": 6,
"List":
[ Array of PricingModel objects ]

}


Exceptions

None


Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also