Jasmin Developers - Web API Reference

Platform | Subscription Validation

Overview


URL api/{tenantKey}/{orgKey}/corePatterns/subscriptionValidations
Methods Supported POST

All Operations

This service includes the following operations:

POST Operations

POST Validate Subscription Item Addition

Custom operation 'ValidateSubscriptionItemAddition'.

The following elements are required:

itemKey (string) ItemKey.
oldQuantity (int) OldQuantity.
newQuantity (int) NewQuantity.

Response:

When successful, the response body contains an item of type 'boolean'.

Resource URL:

POST /corePatterns/subscriptionValidations/validateSubscriptionItemAddition/{itemKey}/{oldQuantity}/{newQuantity}

POST Validate Subscription Item Removal

Custom operation 'ValidateSubscriptionItemRemoval'.

The following elements are required:

itemKey (string) ItemKey.
oldQuantity (int) OldQuantity.
newQuantity (int) NewQuantity.

Response:

When successful, the response body contains an item of type 'boolean'.

Resource URL:

POST /corePatterns/subscriptionValidations/validateSubscriptionItemRemoval/{itemKey}/{oldQuantity}/{newQuantity}