GetAvailablePricingModels
Revision as of 14:58, 2 June 2014 by Id02256 (talk | contribs) (Created page with "{{Api_Method_Spec| Description=Gets all available pricing models by ProductType and ProductId This method has difference for logged user or note logged. If the user is logge...")
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.
- productType (ProductType, required)
- 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 |