TAG LINE
TAG LINE
SMALL TITLE

Package / Service / Price Plan

(API Version v6)


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": 7
Type: Number
This is the unique numeric identifier for the PackageServicePricePlan
packageServiceId
"packageServiceId": 21
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": 9
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": 23
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": 7
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": 4
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": 12
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


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 reelated 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": 12,
            "packageServiceName": "Sample Text Data",
            "packageFrequencyId": 14,
            "packageFrequencyName": "Sample Text Data",
            "packageCurrencyId": 21,
            "packageCurrencyName": "Sample Text Data",
            "accountPricePlanId": 7,
            "accountPricePlanName": "Sample Text Data",
            "accountProductCodeId": 22,
            "accountProductCodeName": "Sample Text Data",
            "priceBookId": 1,
            "priceBookName": "Sample Text Data",
            "generalLedgerId": 22,
            "generalLedgerName": "Sample Text Data",
            "serviceTaxCategoryId": 3,
            "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": 10,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 27,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 10,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 8,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 10,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 24,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 5,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 14,
                "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": 15,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 6,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 23,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 16,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 25,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 16,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 27,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 17,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true,
                "details": {
                    "recurringPrices": [
                        {
                            "identity": 30,
                            "packageServicePricePlanId": 0,
                            "serviceStatusTypeId": 58,
                            "serviceStatusTypeName": "Sample Text Data",
                            "amount": 78.02,
                            "pricePlanTierTypeId": 72,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "details": {
                                "identity": 75,
                                "amount": 25.15,
                                "threshold": 8,
                                "packageServiceRecurringPriceId": 3
                            }
                        }
                    ],
                    "transitionPrices": [
                        {
                            "identity": 97,
                            "amount": 61.73,
                            "packageServicePricePlanId": 65,
                            "serviceTransitionId": 90,
                            "serviceTransitionName": "Sample Text Data",
                            "chargeServiceId": 85,
                            "chargeServiceName": "Sample Text Data",
                            "transitionDuration": 41,
                            "frequencyTypeId": 97,
                            "frequencyTypeName": "Sample Text Data",
                            "transitionDurationPenaltyAmount": 95.13,
                            "transitionLimit": 61
                        }
                    ],
                    "currentRatePlan": {
                        "identity": 47,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "nonRecurringPrices": [
                        {
                            "identity": 26,
                            "packageServicePricePlanId": 84,
                            "pricePlanTierTypeId": 6,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "amount": 23.14,
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 67,
                                        "packageServiceNonRecurringPriceId": 7,
                                        "amount": 82.5,
                                        "threshold": 15
                                    }
                                ]
                            }
                        }
                    ],
                    "packageServiceDiscounts": [
                        {
                            "identity": 19,
                            "packageServicePricePlanId": 61,
                            "discountName": "Sample Text Data",
                            "discountStart": "2021-04-26T15:25:27.587Z",
                            "discountEnd": "2021-04-26T15:25:27.587Z",
                            "isProrated": true,
                            "generalLedgerId": 54,
                            "generalLedgerName": "Sample Text Data",
                            "appliedOrder": 7,
                            "isActive": true,
                            "details": {
                                "packageServiceStatusDiscounts": [
                                    {
                                        "identity": 17,
                                        "packageServiceDiscountId": 29,
                                        "serviceStatusTypeId": 95,
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "discountPromoCodeCurrencyId": 81,
                                        "discountId": 28,
                                        "details": {
                                            "discountAmounts": [
                                                {
                                                    "identity": 63,
                                                    "discountId": 63,
                                                    "discountTypeId": 51,
                                                    "discountTypeName": "Sample Text Data",
                                                    "frequency": 31,
                                                    "frequencyTypeId": 58,
                                                    "frequencyTypeName": "Sample Text Data",
                                                    "amount": 72.4,
                                                    "appliedOrder": 23
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            }
        ]
    }
}
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": 15,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 25,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 14,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 22,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 11,
        "accountProductCodeName": "Sample Text Data",
        "priceBookId": 3,
        "priceBookName": "Sample Text Data",
        "generalLedgerId": 20,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 14,
        "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": 2,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 26,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 2,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 3,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 13,
        "accountProductCodeName": "Sample Text Data",
        "priceBookId": 9,
        "priceBookName": "Sample Text Data",
        "generalLedgerId": 22,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 11,
        "serviceTaxCategoryName": "Sample Text Data",
        "isTaxInclusive": true,
        "details": {
            "recurringPrices": [
                {
                    "identity": 30,
                    "packageServicePricePlanId": 0,
                    "serviceStatusTypeId": 58,
                    "serviceStatusTypeName": "Sample Text Data",
                    "amount": 78.02,
                    "pricePlanTierTypeId": 72,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "details": {
                        "identity": 75,
                        "amount": 25.15,
                        "threshold": 8,
                        "packageServiceRecurringPriceId": 3
                    }
                }
            ],
            "transitionPrices": [
                {
                    "identity": 97,
                    "amount": 61.73,
                    "packageServicePricePlanId": 65,
                    "serviceTransitionId": 90,
                    "serviceTransitionName": "Sample Text Data",
                    "chargeServiceId": 85,
                    "chargeServiceName": "Sample Text Data",
                    "transitionDuration": 41,
                    "frequencyTypeId": 97,
                    "frequencyTypeName": "Sample Text Data",
                    "transitionDurationPenaltyAmount": 95.13,
                    "transitionLimit": 61
                }
            ],
            "currentRatePlan": {
                "identity": 47,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "nonRecurringPrices": [
                {
                    "identity": 26,
                    "packageServicePricePlanId": 84,
                    "pricePlanTierTypeId": 6,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "amount": 23.14,
                    "details": {
                        "tiers": [
                            {
                                "identity": 67,
                                "packageServiceNonRecurringPriceId": 7,
                                "amount": 82.5,
                                "threshold": 15
                            }
                        ]
                    }
                }
            ],
            "packageServiceDiscounts": [
                {
                    "identity": 19,
                    "packageServicePricePlanId": 61,
                    "discountName": "Sample Text Data",
                    "discountStart": "2021-04-26T15:25:27.587Z",
                    "discountEnd": "2021-04-26T15:25:27.587Z",
                    "isProrated": true,
                    "generalLedgerId": 54,
                    "generalLedgerName": "Sample Text Data",
                    "appliedOrder": 7,
                    "isActive": true,
                    "details": {
                        "packageServiceStatusDiscounts": [
                            {
                                "identity": 17,
                                "packageServiceDiscountId": 29,
                                "serviceStatusTypeId": 95,
                                "serviceStatusTypeName": "Sample Text Data",
                                "discountPromoCodeCurrencyId": 81,
                                "discountId": 28,
                                "details": {
                                    "discountAmounts": [
                                        {
                                            "identity": 63,
                                            "discountId": 63,
                                            "discountTypeId": 51,
                                            "discountTypeName": "Sample Text Data",
                                            "frequency": 31,
                                            "frequencyTypeId": 58,
                                            "frequencyTypeName": "Sample Text Data",
                                            "amount": 72.4,
                                            "appliedOrder": 23
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}
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": 4,
                "packageFrequencyId": 11,
                "packageCurrencyId": 20,
                "accountPricePlanId": 23,
                "accountProductCodeId": 8,
                "priceBookId": 6,
                "generalLedgerId": 26,
                "serviceTaxCategoryId": 22,
                "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": 2,
                    "packageServiceName": "Sample Text Data",
                    "packageFrequencyId": 6,
                    "packageFrequencyName": "Sample Text Data",
                    "packageCurrencyId": 3,
                    "packageCurrencyName": "Sample Text Data",
                    "accountPricePlanId": 15,
                    "accountPricePlanName": "Sample Text Data",
                    "accountProductCodeId": 24,
                    "accountProductCodeName": "Sample Text Data",
                    "priceBookId": 18,
                    "priceBookName": "Sample Text Data",
                    "generalLedgerId": 17,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 18,
                    "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": 22,
    "packageFrequencyId": 23,
    "packageCurrencyId": 12,
    "accountPricePlanId": 12,
    "accountProductCodeId": 24,
    "priceBookId": 6,
    "generalLedgerId": 14,
    "serviceTaxCategoryId": 13,
    "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": 27,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 26,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 21,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 1,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 14,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 24,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 23,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 20,
                "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": 12,
    "packageFrequencyId": 18,
    "packageCurrencyId": 10,
    "accountPricePlanId": 20,
    "accountProductCodeId": 25,
    "priceBookId": 4,
    "generalLedgerId": 25,
    "serviceTaxCategoryId": 20,
    "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": 16,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 13,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 4,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 6,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 20,
                "accountProductCodeName": "Sample Text Data",
                "priceBookId": 15,
                "priceBookName": "Sample Text Data",
                "generalLedgerId": 25,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 12,
                "serviceTaxCategoryName": "Sample Text Data",
                "isTaxInclusive": true
            }
        ]
    }
}