TAG LINE
TAG LINE
SMALL TITLE

Package / Service / Price Plan

(API Version v9)


Represents the linking of pricing for a Service assigned to a Package.


What can you do with PackageServicePricePlan?


Properties

Property Details
identity
READ-ONLY
"identity": 16
Type: Number
This is the unique numeric identifier for the PackageServicePricePlan
packageServiceId
"packageServiceId": 6
Type: Number
Unique identifier for the associated PackageService object.
packageServiceName
"packageServiceName": "Sample Name"
Type: String
The name of the object associated with the packageServiceId property.
packageFrequencyId
"packageFrequencyId": 22
Type: Number
Unique identifier for the associated PackageFrequency object.
packageFrequencyName
"packageFrequencyName": "Sample Name"
Type: String
The name of the object associated with the packageFrequencyId property.
packageCurrencyId
"packageCurrencyId": 21
Type: Number
Unique identifier for the associated PackageCurrency object.
packageCurrencyName
"packageCurrencyName": "Sample Name"
Type: String
The name of the object associated with the packageCurrencyId property.
accountPricePlanId
"accountPricePlanId": 27
Type: Number
Unique identifier for the associated AccountPricePlan object.
accountPricePlanName
"accountPricePlanName": "Sample Name"
Type: String
The name of the object associated with the accountPricePlanId property.
accountProductCodeId
"accountProductCodeId": 5
Type: Number
Unique identifier for the associated AccountProductCode object.
accountProductCodeName
"accountProductCodeName": "Sample Name"
Type: String
The name of the object associated with the accountProductCodeId property.
priceBookId
"priceBookId": 5
Type: Number
Unique identifier for the associated PriceBook object.
priceBookName
"priceBookName": "Sample Name"
Type: String
The name of the object associated with the priceBookId property.
generalLedgerId
"generalLedgerId": 27
Type: Number
Unique identifier for the associated GeneralLedger object.
generalLedgerName
"generalLedgerName": "Sample Name"
Type: String
The name of the object associated with the generalLedgerId property.
serviceTaxCategoryId
"serviceTaxCategoryId": 15
Type: Number
Unique identifier for the associated ServiceTaxCategory object.
serviceTaxCategoryName
"serviceTaxCategoryName": "Sample Name"
Type: String
The name of the object associated with the serviceTaxCategoryId property.
isTaxInclusive
"isTaxInclusive": true
Type: Boolean
Determines if the price is inclusive of tax..


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the PackageServicePricePlan object.

Standard PATCH objects:

  • packageServiceRecurringPrice - create, update, delete
  • packageServiceTransitionPrice - create, update, delete

DataFlow PATCH objects:

  • packageServicePricePlan - create, update, delete
  • packageServiceRecurringPrice - create, update, delete
  • packageServiceTransitionPrice - create, update, delete

End Points

DELETEPackage/Service/PricePlan/{id}
Delete an instance of the PackageServicePricePlan object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the PackageServicePricePlan object.
Delete an instance of the PackageServicePricePlan object.
DELETE Package/Service/PricePlan/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "packageServicePricePlan"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETPackage/Service/PricePlan/
Retrieve all of the PackageServicePricePlan objects.
Retrieve all of the PackageServicePricePlan objects.
GET Package/Service/PricePlan/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "packageServiceId": 14,
            "packageServiceName": "Sample Text Data",
            "packageFrequencyId": 9,
            "packageFrequencyName": "Sample Text Data",
            "packageCurrencyId": 11,
            "packageCurrencyName": "Sample Text Data",
            "accountPricePlanId": 8,
            "accountPricePlanName": "Sample Text Data",
            "accountProductCodeId": 14,
            "accountProductCodeName": "Sample Text Data",
            "priceBookId": 25,
            "priceBookName": "Sample Text Data",
            "generalLedgerId": 23,
            "generalLedgerName": "Sample Text Data",
            "serviceTaxCategoryId": 6,
            "serviceTaxCategoryName": "Sample Text Data",
            "isTaxInclusive": true
        }
    ]
}
GETPackage/Service/PricePlan/AvailableFor/Account/{id}/AccountProductCode/{accountProductCodeId}
Retrieve the PackageServicePricePlan that is available for the specified Account and AccountProductCode.
{id}Unique identifier for the Account object.
{accountProductCodeId}Unique identifier for the AccountProductCode object.
Retrieve the PackageServicePricePlan that is available for the specified Account and AccountProductCode.
GET Package/Service/PricePlan/AvailableFor/Account/{id}/AccountProductCode/{accountProductCodeId}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "bc7b30cb-cb26-44f3-9a52-819adadb8721",
    "instance": {
        "identity": 2069,
        "packageServiceId": 1,
        "packageFrequencyId": 45,
        "packageFrequencyName": "DSL Package - 1 Month",
        "packageCurrencyId": 3,
        "isCountOnFirstUsage": false,
        "packageId": 1,
        "packageName": "DSL Package",
        "serviceId": 1,
        "serviceName": "Extreme DSL Service",
        "packageFrequencyPackageCurrencyIsActive": true,
        "currencyId": 1,
        "currencyName": "United States Dollar",
        "currencyCode": "USD",
        "statusTierTypeId": 1,
        "statusTierTypeName": "Not Tiered"
    }
}
GETPackage/Service/PricePlan/Paged
Retrieve all of the PackageServicePricePlan objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the PackageServicePricePlan objects in a paged fashion.
GET Package/Service/PricePlan/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 27,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 10,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 8,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 2,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 15,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 12,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 19,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 17,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true
            }
        ]
    }
}
GETPackage/Service/PricePlan/Paged/Detail
Retrieve all of the PackageServicePricePlan objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the PackageServicePricePlan objects in a paged fashion with all object details.
GET Package/Service/PricePlan/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 16,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 0,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 18,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 12,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 17,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 21,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 13,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 4,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true,
                "details": {
                    "recurringPrices": [
                        {
                            "identity": 13,
                            "packageServicePricePlanId": 85,
                            "serviceStatusTypeId": 58,
                            "serviceStatusTypeName": "Sample Text Data",
                            "amount": 79.19,
                            "pricePlanTierTypeId": 42,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "details": {
                                "identity": 21,
                                "amount": 32.91,
                                "threshold": 82,
                                "packageServiceRecurringPriceId": 22,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        }
                    ],
                    "transitionPrices": [
                        {
                            "identity": 62,
                            "amount": 34.51,
                            "packageServicePricePlanId": 98,
                            "serviceTransitionId": 92,
                            "serviceTransitionName": "Sample Text Data",
                            "chargeServiceId": 40,
                            "chargeServiceName": "Sample Text Data",
                            "transitionDuration": 66,
                            "frequencyTypeId": 21,
                            "frequencyTypeName": "Sample Text Data",
                            "transitionDurationPenaltyAmount": 52.77,
                            "transitionLimit": 72,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "currentRatePlan": {
                        "identity": 61,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "updated": "2021-04-26T15:25:27.587Z",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "nonRecurringPrices": [
                        {
                            "identity": 86,
                            "packageServicePricePlanId": 33,
                            "pricePlanTierTypeId": 12,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "amount": 9.38,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 14,
                                        "packageServiceNonRecurringPriceId": 8,
                                        "amount": 72.39,
                                        "threshold": 42,
                                        "created": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z"
                                    }
                                ]
                            }
                        }
                    ],
                    "packageServiceDiscounts": [
                        {
                            "identity": 79,
                            "packageServicePricePlanId": 81,
                            "discountName": "Sample Text Data",
                            "discountStart": "2021-04-26T15:25:27.587Z",
                            "discountEnd": "2021-04-26T15:25:27.587Z",
                            "isProrated": true,
                            "generalLedgerId": 34,
                            "generalLedgerName": "Sample Text Data",
                            "appliedOrder": 3,
                            "isActive": true,
                            "isFreeTrial": true,
                            "isNegativeAllowed": true,
                            "details": {
                                "packageServiceStatusDiscounts": [
                                    {
                                        "identity": 14,
                                        "packageServiceDiscountId": 4,
                                        "serviceStatusTypeId": 16,
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "discountPromoCodeCurrencyId": 64,
                                        "discountId": 75,
                                        "details": {
                                            "discountAmounts": [
                                                {
                                                    "identity": 75,
                                                    "discountId": 85,
                                                    "discountTypeId": 3,
                                                    "discountTypeName": "Sample Text Data",
                                                    "frequency": 43,
                                                    "frequencyTypeId": 40,
                                                    "frequencyTypeName": "Sample Text Data",
                                                    "amount": 87.4,
                                                    "appliedOrder": 58
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            }
        ]
    }
}
GETPackage/Service/PricePlan/{id}
Retrieve an instance of the PackageServicePricePlan object by its ID.
{id}Unique identifier for the PackageServicePricePlan object.
Retrieve an instance of the PackageServicePricePlan object by its ID.
GET Package/Service/PricePlan/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "packageServiceId": 0,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 7,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 1,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 26,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 11,
        "accountProductCodeName": "Sample Text Data",
        "priceBookId": 15,
        "priceBookName": "Sample Text Data",
        "generalLedgerId": 19,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 19,
        "serviceTaxCategoryName": "Sample Text Data",
        "isTaxInclusive": true
    }
}
GETPackage/Service/PricePlan/{id}/Detail
Retrieve deep detail of the PackageServicePricePlan object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the PackageServicePricePlan object.
Retrieve deep detail of the PackageServicePricePlan object by its ID.
GET Package/Service/PricePlan/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "packageServiceId": 24,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 1,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 5,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 12,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 24,
        "accountProductCodeName": "Sample Text Data",
        "priceBookId": 10,
        "priceBookName": "Sample Text Data",
        "generalLedgerId": 12,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 23,
        "serviceTaxCategoryName": "Sample Text Data",
        "isTaxInclusive": true,
        "details": {
            "recurringPrices": [
                {
                    "identity": 13,
                    "packageServicePricePlanId": 85,
                    "serviceStatusTypeId": 58,
                    "serviceStatusTypeName": "Sample Text Data",
                    "amount": 79.19,
                    "pricePlanTierTypeId": 42,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "details": {
                        "identity": 21,
                        "amount": 32.91,
                        "threshold": 82,
                        "packageServiceRecurringPriceId": 22,
                        "created": "2021-04-26T15:25:27.587Z",
                        "updated": "2021-04-26T15:25:27.587Z"
                    }
                }
            ],
            "transitionPrices": [
                {
                    "identity": 62,
                    "amount": 34.51,
                    "packageServicePricePlanId": 98,
                    "serviceTransitionId": 92,
                    "serviceTransitionName": "Sample Text Data",
                    "chargeServiceId": 40,
                    "chargeServiceName": "Sample Text Data",
                    "transitionDuration": 66,
                    "frequencyTypeId": 21,
                    "frequencyTypeName": "Sample Text Data",
                    "transitionDurationPenaltyAmount": 52.77,
                    "transitionLimit": 72,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "currentRatePlan": {
                "identity": 61,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "nonRecurringPrices": [
                {
                    "identity": 86,
                    "packageServicePricePlanId": 33,
                    "pricePlanTierTypeId": 12,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "amount": 9.38,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "details": {
                        "tiers": [
                            {
                                "identity": 14,
                                "packageServiceNonRecurringPriceId": 8,
                                "amount": 72.39,
                                "threshold": 42,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        ]
                    }
                }
            ],
            "packageServiceDiscounts": [
                {
                    "identity": 79,
                    "packageServicePricePlanId": 81,
                    "discountName": "Sample Text Data",
                    "discountStart": "2021-04-26T15:25:27.587Z",
                    "discountEnd": "2021-04-26T15:25:27.587Z",
                    "isProrated": true,
                    "generalLedgerId": 34,
                    "generalLedgerName": "Sample Text Data",
                    "appliedOrder": 3,
                    "isActive": true,
                    "isFreeTrial": true,
                    "isNegativeAllowed": true,
                    "details": {
                        "packageServiceStatusDiscounts": [
                            {
                                "identity": 14,
                                "packageServiceDiscountId": 4,
                                "serviceStatusTypeId": 16,
                                "serviceStatusTypeName": "Sample Text Data",
                                "discountPromoCodeCurrencyId": 64,
                                "discountId": 75,
                                "details": {
                                    "discountAmounts": [
                                        {
                                            "identity": 75,
                                            "discountId": 85,
                                            "discountTypeId": 3,
                                            "discountTypeName": "Sample Text Data",
                                            "frequency": 43,
                                            "frequencyTypeId": 40,
                                            "frequencyTypeName": "Sample Text Data",
                                            "amount": 87.4,
                                            "appliedOrder": 58
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}
PATCHPackage/Service/PricePlan/{id}
Update or Add the PackageServicePricePlan object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the PackageServicePricePlan object.
Update or Add the PackageServicePricePlan object and optionally make changes to any child objects.
PATCH Package/Service/PricePlan/{id}

{
    "details": {},
    "packageServicePricePlans": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "packageServiceId": 7,
                "packageFrequencyId": 5,
                "packageCurrencyId": 23,
                "accountPricePlanId": 8,
                "accountProductCodeId": 7,
                "priceBookId": 11,
                "generalLedgerId": 4,
                "serviceTaxCategoryId": 3,
                "isTaxInclusive": true
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "packageServicePricePlan",
                "instance": {
                    "identity": 1,
                    "packageServiceId": 5,
                    "packageServiceName": "Sample Text Data",
                    "packageFrequencyId": 14,
                    "packageFrequencyName": "Sample Text Data",
                    "packageCurrencyId": 27,
                    "packageCurrencyName": "Sample Text Data",
                    "accountPricePlanId": 23,
                    "accountPricePlanName": "Sample Text Data",
                    "accountProductCodeId": 12,
                    "accountProductCodeName": "Sample Text Data",
                    "priceBookId": 7,
                    "priceBookName": "Sample Text Data",
                    "generalLedgerId": 27,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 27,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "isTaxInclusive": true
                }
            }
        ]
    }
}
POSTPackage/Service/PricePlan/
Create a new instance of the PackageServicePricePlan object.
Create a new instance of the PackageServicePricePlan object.
POST Package/Service/PricePlan/

{
    "packageServiceId": 15,
    "packageFrequencyId": 23,
    "packageCurrencyId": 14,
    "accountPricePlanId": 22,
    "accountProductCodeId": 24,
    "priceBookId": 15,
    "generalLedgerId": 13,
    "serviceTaxCategoryId": 4,
    "isTaxInclusive": true
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 10,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 25,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 1,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 18,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 8,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 11,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 6,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 27,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true
            }
        ]
    }
}
PUTPackage/Service/PricePlan/{id}
Update an existing instance of the PackageServicePricePlan object.
Update an existing instance of the PackageServicePricePlan object.
PUT Package/Service/PricePlan/{id}

{
    "identity": 1,
    "packageServiceId": 3,
    "packageFrequencyId": 27,
    "packageCurrencyId": 7,
    "accountPricePlanId": 7,
    "accountProductCodeId": 21,
    "priceBookId": 17,
    "generalLedgerId": 16,
    "serviceTaxCategoryId": 4,
    "isTaxInclusive": true
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 21,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 25,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 5,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 8,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 13,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 7,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 12,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 15,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true
            }
        ]
    }
}
PUTPackage/Service/PricePlan/{id}/DiscountRank
Re-arrange the order of the Package Service Price Plan Discounts.The Rank defined based on the order of the discounts will be used to identify the priority. This API is expecting all the Package Service Price Plan Discount ids to be passed in order of priority.
{id}Unique identifier for the Package Service Price Plan object.
Re-arrange the order of the Package Service Price Plan Discounts.
PUT Package/Service/PricePlan/{id}/DiscountRank

[
  13,
  20,
  12,
  41
]
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 18,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 22,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 7,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 25,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 20,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 22,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 17,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 1,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true
            }
        ]
    }
}