TAG LINE
TAG LINE
SMALL TITLE
Represents the linking of pricing for a Service assigned to a Package.
identity READ-ONLY | "identity": 9 Type: Number This is the unique numeric identifier for the PackageServicePricePlan |
packageServiceId | "packageServiceId": 17 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": 23 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": 6 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": 21 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": 25 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": 9 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.. |
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:
DataFlow PATCH objects:
DELETE | Package/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} 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" } ] } } |
GET | Package/Service/PricePlan/ |
Retrieve all of the PackageServicePricePlan objects. | |
Retrieve all of the PackageServicePricePlan objects. GET Package/Service/PricePlan/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "packageServiceId": 24, "packageServiceName": "Sample Text Data", "packageFrequencyId": 26, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 23, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 15, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 21, "accountProductCodeName": "Sample Text Data", "priceBookId": 20, "priceBookName": "Sample Text Data", "generalLedgerId": 3, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 1, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } ] } |
GET | Package/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} 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" } } |
GET | Package/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 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": 5, "packageServiceName": "Sample Text Data", "packageFrequencyId": 15, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 26, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 13, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 14, "accountProductCodeName": "Sample Text Data", "priceBookId": 26, "priceBookName": "Sample Text Data", "generalLedgerId": 6, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 26, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } ] } } |
GET | Package/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 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": 11, "packageServiceName": "Sample Text Data", "packageFrequencyId": 4, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 0, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 12, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 8, "accountProductCodeName": "Sample Text Data", "priceBookId": 14, "priceBookName": "Sample Text Data", "generalLedgerId": 3, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 12, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true, "details": { "recurringPrices": [ { "identity": 10, "packageServicePricePlanId": 44, "serviceStatusTypeId": 22, "serviceStatusTypeName": "Sample Text Data", "amount": 67.8, "pricePlanTierTypeId": 79, "pricePlanTierTypeName": "Sample Text Data", "details": { "identity": 48, "amount": 31.29, "threshold": 36, "packageServiceRecurringPriceId": 49 } } ], "transitionPrices": [ { "identity": 52, "amount": 35.68, "packageServicePricePlanId": 33, "serviceTransitionId": 13, "serviceTransitionName": "Sample Text Data", "chargeServiceId": 82, "chargeServiceName": "Sample Text Data", "transitionDuration": 66, "frequencyTypeId": 1, "frequencyTypeName": "Sample Text Data", "transitionDurationPenaltyAmount": 8.5, "transitionLimit": 21 } ], "currentRatePlan": { "identity": 6, "name": "Sample Text Data", "displayName": "Sample Text Data", "start": "2021-04-26T15:25:27.587Z" }, "nonRecurringPrices": [ { "identity": 74, "packageServicePricePlanId": 15, "pricePlanTierTypeId": 0, "pricePlanTierTypeName": "Sample Text Data", "amount": 27.18, "details": { "tiers": [ { "identity": 78, "packageServiceNonRecurringPriceId": 77, "amount": 22.11, "threshold": 65 } ] } } ], "packageServiceDiscounts": [ { "identity": 9, "packageServicePricePlanId": 99, "discountName": "Sample Text Data", "discountStart": "2021-04-26T15:25:27.587Z", "discountEnd": "2021-04-26T15:25:27.587Z", "isProrated": true, "generalLedgerId": 47, "generalLedgerName": "Sample Text Data", "appliedOrder": 2, "isActive": true, "isFreeTrial": true, "isNegativeAllowed": true, "details": { "packageServiceStatusDiscounts": [ { "identity": 73, "packageServiceDiscountId": 36, "serviceStatusTypeId": 29, "serviceStatusTypeName": "Sample Text Data", "discountPromoCodeCurrencyId": 53, "discountId": 3, "details": { "discountAmounts": [ { "identity": 14, "discountId": 15, "discountTypeId": 59, "discountTypeName": "Sample Text Data", "frequency": 24, "frequencyTypeId": 28, "frequencyTypeName": "Sample Text Data", "amount": 33.58, "appliedOrder": 59 } ] } } ] } } ] } } ] } } |
GET | Package/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} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "packageServiceId": 5, "packageServiceName": "Sample Text Data", "packageFrequencyId": 27, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 27, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 22, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 21, "accountProductCodeName": "Sample Text Data", "priceBookId": 0, "priceBookName": "Sample Text Data", "generalLedgerId": 25, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 21, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } } |
GET | Package/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 HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "packageServiceId": 14, "packageServiceName": "Sample Text Data", "packageFrequencyId": 9, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 23, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 23, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 14, "accountProductCodeName": "Sample Text Data", "priceBookId": 0, "priceBookName": "Sample Text Data", "generalLedgerId": 16, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 26, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true, "details": { "recurringPrices": [ { "identity": 10, "packageServicePricePlanId": 44, "serviceStatusTypeId": 22, "serviceStatusTypeName": "Sample Text Data", "amount": 67.8, "pricePlanTierTypeId": 79, "pricePlanTierTypeName": "Sample Text Data", "details": { "identity": 48, "amount": 31.29, "threshold": 36, "packageServiceRecurringPriceId": 49 } } ], "transitionPrices": [ { "identity": 52, "amount": 35.68, "packageServicePricePlanId": 33, "serviceTransitionId": 13, "serviceTransitionName": "Sample Text Data", "chargeServiceId": 82, "chargeServiceName": "Sample Text Data", "transitionDuration": 66, "frequencyTypeId": 1, "frequencyTypeName": "Sample Text Data", "transitionDurationPenaltyAmount": 8.5, "transitionLimit": 21 } ], "currentRatePlan": { "identity": 6, "name": "Sample Text Data", "displayName": "Sample Text Data", "start": "2021-04-26T15:25:27.587Z" }, "nonRecurringPrices": [ { "identity": 74, "packageServicePricePlanId": 15, "pricePlanTierTypeId": 0, "pricePlanTierTypeName": "Sample Text Data", "amount": 27.18, "details": { "tiers": [ { "identity": 78, "packageServiceNonRecurringPriceId": 77, "amount": 22.11, "threshold": 65 } ] } } ], "packageServiceDiscounts": [ { "identity": 9, "packageServicePricePlanId": 99, "discountName": "Sample Text Data", "discountStart": "2021-04-26T15:25:27.587Z", "discountEnd": "2021-04-26T15:25:27.587Z", "isProrated": true, "generalLedgerId": 47, "generalLedgerName": "Sample Text Data", "appliedOrder": 2, "isActive": true, "isFreeTrial": true, "isNegativeAllowed": true, "details": { "packageServiceStatusDiscounts": [ { "identity": 73, "packageServiceDiscountId": 36, "serviceStatusTypeId": 29, "serviceStatusTypeName": "Sample Text Data", "discountPromoCodeCurrencyId": 53, "discountId": 3, "details": { "discountAmounts": [ { "identity": 14, "discountId": 15, "discountTypeId": 59, "discountTypeName": "Sample Text Data", "frequency": 24, "frequencyTypeId": 28, "frequencyTypeName": "Sample Text Data", "amount": 33.58, "appliedOrder": 59 } ] } } ] } } ] } } } |
PATCH | Package/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": 24, "packageFrequencyId": 25, "packageCurrencyId": 19, "accountPricePlanId": 1, "accountProductCodeId": 11, "priceBookId": 26, "generalLedgerId": 2, "serviceTaxCategoryId": 25, "isTaxInclusive": true } ] } } 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": 10, "packageServiceName": "Sample Text Data", "packageFrequencyId": 0, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 7, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 20, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 16, "accountProductCodeName": "Sample Text Data", "priceBookId": 15, "priceBookName": "Sample Text Data", "generalLedgerId": 9, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 16, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } } ] } } |
POST | Package/Service/PricePlan/ |
Create a new instance of the PackageServicePricePlan object. | |
Create a new instance of the PackageServicePricePlan object. POST Package/Service/PricePlan/ { "packageServiceId": 14, "packageFrequencyId": 10, "packageCurrencyId": 13, "accountPricePlanId": 13, "accountProductCodeId": 27, "priceBookId": 26, "generalLedgerId": 10, "serviceTaxCategoryId": 26, "isTaxInclusive": true } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "packageServiceId": 26, "packageServiceName": "Sample Text Data", "packageFrequencyId": 18, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 0, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 18, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 22, "accountProductCodeName": "Sample Text Data", "priceBookId": 12, "priceBookName": "Sample Text Data", "generalLedgerId": 6, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 1, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } ] } } |
PUT | Package/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": 17, "packageFrequencyId": 15, "packageCurrencyId": 0, "accountPricePlanId": 22, "accountProductCodeId": 17, "priceBookId": 15, "generalLedgerId": 14, "serviceTaxCategoryId": 10, "isTaxInclusive": true } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "packageServiceId": 8, "packageServiceName": "Sample Text Data", "packageFrequencyId": 9, "packageFrequencyName": "Sample Text Data", "packageCurrencyId": 7, "packageCurrencyName": "Sample Text Data", "accountPricePlanId": 4, "accountPricePlanName": "Sample Text Data", "accountProductCodeId": 19, "accountProductCodeName": "Sample Text Data", "priceBookId": 10, "priceBookName": "Sample Text Data", "generalLedgerId": 5, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 12, "serviceTaxCategoryName": "Sample Text Data", "isTaxInclusive": true } ] } } |