Skip to end of banner
Go to start of banner

POST products/performance_show

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Available from CRM.COM R14.0.0

This method returns information related with the performance a product. Single product performance is returned by each call. It is only applicable for products of classification SERVICE and type TERMED or USAGE, or products of classification PHYSICALGOOD

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

product_identifier

(mandatory)

Identifier  

The identifier of the product that should be used for calculating its performance. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Name

Type

Description

performance_calculation_period
 
StringThe period that the performance is calculated for, which is the previous 12 Months
product_total_revenue
NumberThe total revenue of the service calculated as the total amount billed excluding Taxed amounts (VAT and other Taxes)
number_of_subscriptions_with_active_service
Number

The total number of all the subscriptions that include this service.

The service on the subscription must be Effective and its first activation date is within the last 12 months (including current month)

Applicable only for products of classification SERVICE with type TERMED

total_number_of_adding_service_on_subscriptionsNumber

The total number of times the service was added on subscriptions

Applicable only for products of classification SERVICE with type USAGE

Examples

 Example 1

HTTP Method: POST

 

Request

Body

 

Response

 
  • No labels