TAG LINE
TAG LINE
SMALL TITLE

Package / Frequency

(API Version v10)


Represents a frequency in which a Package can be sold.


What can you do with PackageFrequency?


Properties

Property Details
identity
READ-ONLY
"identity": 20
Type: Number
This is the unique numeric identifier for the PackageFrequency
frequency
"frequency": 19
Type: Number
Number representing how often this package bills.
isActive
"isActive": true
Type: Boolean
Whether or not this Package Frequency is active.
packageId
"packageId": 26
Type: Number
Unique identifier for the associated Package object.
packageName
"packageName": "Sample Name"
Type: String
The name of the object associated with the packageId property.
frequencyTypeId
"frequencyTypeId": 10
Type: Number
Unique identifier for the associated FrequencyType object.
frequencyTypeName
"frequencyTypeName": "Sample Name"
Type: String
The name of the object associated with the frequencyTypeId property.
termId
"termId": 18
Type: Number
Unique identifier for the associated Term object.
termName
"termName": "Sample Name"
Type: String
The name of the object associated with the termId property.
sku
"sku": "SKU-123-FOO"
Type: String
A user defined SKU identifier for this Package Frequency.
name
"name": "Monthly Gold Package"
Type: String
A user defined name for the Package Frequency.
isUsageBucketSharePlanPackageFrequency
"isUsageBucketSharePlanPackageFrequency": false
Type: Boolean
A user defined name for the Package Frequency.
countingRuleId
"countingRuleId": 13
Type: Number
Unique identifier for the associated CountingRule object.
countingRuleName
"countingRuleName": "Sample Name"
Type: String
The name of the object associated with the countingRuleId property.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.
updated
READ-ONLY
"updated": "2021-04-26T15:25:27.587Z"
Type: Date
The date time stamp when this record was updated. Date and time values are specified in the ISO 8601 format.
id
"id": 15
Type: Number


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 PackageFrequency object.

Standard PATCH objects:

DataFlow PATCH objects:


End Points

DELETEPackage/Frequency/{id}
Delete an instance of the PackageFrequency 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 PackageFrequency object.
Delete an instance of the PackageFrequency object.
DELETE Package/Frequency/{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": "packageFrequency"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETPackage/Frequency/
Retrieve all of the PackageFrequency objects.
Retrieve all of the PackageFrequency objects.
GET Package/Frequency/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "frequency": 26,
            "isActive": true,
            "packageId": 14,
            "packageName": "Sample Text Data",
            "frequencyTypeId": 16,
            "frequencyTypeName": "Sample Text Data",
            "termId": 3,
            "termName": "Sample Text Data",
            "sku": "SKU-123-FOO",
            "name": "Monthly Gold Package",
            "isUsageBucketSharePlanPackageFrequency": false,
            "countingRuleId": 27,
            "countingRuleName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z",
            "id": 6
        }
    ]
}
GETPackage/Frequency/AvailableFor/Package/{id}/Currency/{currencyId}
Retrieve the PackageFrequency objects for the specified Package and Currency
{id}Unique identifier for the Package object.
{currencyId}Unique identifier for the Currency object.
GETPackage/Frequency/Paged
Retrieve all of the PackageFrequency 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 PackageFrequency objects in a paged fashion.
GET Package/Frequency/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,
                "frequency": 16,
                "isActive": true,
                "packageId": 9,
                "packageName": "Sample Text Data",
                "frequencyTypeId": 24,
                "frequencyTypeName": "Sample Text Data",
                "termId": 3,
                "termName": "Sample Text Data",
                "sku": "SKU-123-FOO",
                "name": "Monthly Gold Package",
                "isUsageBucketSharePlanPackageFrequency": false,
                "countingRuleId": 13,
                "countingRuleName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "id": 21
            }
        ]
    }
}
GETPackage/Frequency/Paged/Detail
Retrieve all of the PackageFrequency 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 PackageFrequency objects in a paged fashion with all object details.
GET Package/Frequency/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,
                "frequency": 9,
                "isActive": true,
                "packageId": 2,
                "packageName": "Sample Text Data",
                "frequencyTypeId": 24,
                "frequencyTypeName": "Sample Text Data",
                "termId": 25,
                "termName": "Sample Text Data",
                "sku": "SKU-123-FOO",
                "name": "Monthly Gold Package",
                "isUsageBucketSharePlanPackageFrequency": false,
                "countingRuleId": 11,
                "countingRuleName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "id": 21,
                "details": {
                    "pricePlans": [
                        {
                            "identity": 51,
                            "packageServiceId": 47,
                            "packageFrequencyId": 56,
                            "packageFrequencyName": "Sample Text Data",
                            "packageCurrencyId": 1,
                            "priceBookId": 24,
                            "priceBookName": "Sample Text Data",
                            "generalLedgerId": 6,
                            "generalLedgerName": "Sample Text Data",
                            "serviceTaxCategoryId": 91,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "isTaxInclusive": true,
                            "packageId": 70,
                            "packageName": "Sample Text Data",
                            "serviceId": 4,
                            "serviceName": "Sample Text Data",
                            "packageFrequencyPackageCurrencyIsActive": true,
                            "currencyId": 32,
                            "currencyName": "Sample Text Data",
                            "currencyCode": "Sample Text Data",
                            "countingRuleId": 2,
                            "countingRuleName": "Sample Text Data",
                            "details": {
                                "recurringPrices": [
                                    {
                                        "identity": 39,
                                        "packageServicePricePlanId": 39,
                                        "serviceStatusTypeId": 21,
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "amount": 21.64,
                                        "pricePlanTierTypeId": 24,
                                        "pricePlanTierTypeName": "Sample Text Data",
                                        "created": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z",
                                        "details": {
                                            "identity": 64,
                                            "amount": 56.88,
                                            "threshold": 60,
                                            "packageServiceRecurringPriceId": 15,
                                            "created": "2021-04-26T15:25:27.587Z",
                                            "updated": "2021-04-26T15:25:27.587Z"
                                        }
                                    }
                                ],
                                "transitionPrices": [
                                    {
                                        "identity": 7,
                                        "amount": 2.95,
                                        "packageServicePricePlanId": 33,
                                        "serviceTransitionId": 15,
                                        "serviceTransitionName": "Sample Text Data",
                                        "chargeServiceId": 73,
                                        "chargeServiceName": "Sample Text Data",
                                        "transitionDuration": 82,
                                        "frequencyTypeId": 95,
                                        "frequencyTypeName": "Sample Text Data",
                                        "transitionDurationPenaltyAmount": 3.74,
                                        "transitionLimit": 44,
                                        "created": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z"
                                    }
                                ],
                                "currentRatePlan": {
                                    "identity": 91,
                                    "name": "Sample Text Data",
                                    "displayName": "Sample Text Data",
                                    "updated": "2021-04-26T15:25:27.587Z",
                                    "start": "2021-04-26T15:25:27.587Z"
                                },
                                "nonRecurringPrices": [
                                    {
                                        "identity": 90,
                                        "packageServicePricePlanId": 98,
                                        "pricePlanTierTypeId": 71,
                                        "pricePlanTierTypeName": "Sample Text Data",
                                        "amount": 63.33,
                                        "created": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z",
                                        "details": {
                                            "tiers": [
                                                {
                                                    "identity": 66,
                                                    "packageServiceNonRecurringPriceId": 85,
                                                    "amount": 6.43,
                                                    "threshold": 64,
                                                    "created": "2021-04-26T15:25:27.587Z",
                                                    "updated": "2021-04-26T15:25:27.587Z"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "packageServiceDiscounts": [
                                    {
                                        "identity": 74,
                                        "packageServicePricePlanId": 83,
                                        "discountName": "Sample Text Data",
                                        "discountStart": "2021-04-26T15:25:27.587Z",
                                        "discountEnd": "2021-04-26T15:25:27.587Z",
                                        "isProrated": true,
                                        "generalLedgerId": 93,
                                        "generalLedgerName": "Sample Text Data",
                                        "appliedOrder": 66,
                                        "isActive": true,
                                        "isFreeTrial": true,
                                        "isNegativeAllowed": true,
                                        "details": {
                                            "packageServiceStatusDiscounts": [
                                                {
                                                    "identity": 51,
                                                    "packageServiceDiscountId": 93,
                                                    "serviceStatusTypeId": 52,
                                                    "serviceStatusTypeName": "Sample Text Data",
                                                    "discountPromoCodeCurrencyId": 62,
                                                    "discountId": 4,
                                                    "details": {
                                                        "discountAmounts": [
                                                            {
                                                                "identity": 18,
                                                                "discountId": 64,
                                                                "discountTypeId": 2,
                                                                "discountTypeName": "Sample Text Data",
                                                                "frequency": 74,
                                                                "frequencyTypeId": 98,
                                                                "frequencyTypeName": "Sample Text Data",
                                                                "amount": 43.33,
                                                                "appliedOrder": 93
                                                            }
                                                        ]
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "currentRatePlan": {
                        "identity": 39,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "updated": "2021-04-26T15:25:27.587Z",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "currencies": [
                        {
                            "identity": 45,
                            "isActive": true,
                            "packageFrequencyId": 77,
                            "packageFrequencyName": "Sample Text Data",
                            "packageCurrencyId": 17,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "priceBookId": 41,
                            "priceBookName": "Sample Text Data",
                            "currencyId": 85,
                            "currencyName": "Sample Text Data",
                            "currencyCode": "Sample Text Data"
                        }
                    ],
                    "usageBucketTiers": [
                        {
                            "identity": 86,
                            "usageBucketId": 47,
                            "usageBucketName": "Sample Text Data",
                            "threshold": 21.1,
                            "flatCharge": 99.56,
                            "usageUnitId": 88,
                            "usageUnitName": "Sample Text Data",
                            "packageFrequencyId": 6,
                            "packageFrequencyName": "Sample Text Data",
                            "packageServiceId": 99,
                            "currencyId": 90,
                            "currencyName": "Sample Text Data",
                            "priceBookId": 46,
                            "priceBookName": "Sample Text Data",
                            "tierOverride": true
                        }
                    ],
                    "moneyBuckets": [
                        {
                            "identity": 68,
                            "usageBucketId": 6,
                            "usageBucketName": "Sample Text Data",
                            "usageUnitId": 8,
                            "usageUnitName": "Sample Text Data",
                            "packageFrequencyId": 61,
                            "packageFrequencyName": "Sample Text Data",
                            "packageServiceId": 50,
                            "currencyId": 48,
                            "currencyName": "Sample Text Data",
                            "money": 31.17,
                            "priceBookId": 54,
                            "priceBookName": "Sample Text Data",
                            "tierOverride": true
                        }
                    ]
                }
            }
        ]
    }
}
GETPackage/Frequency/{id}
Retrieve an instance of the PackageFrequency object by its ID.
{id}Unique identifier for the PackageFrequency object.
Retrieve an instance of the PackageFrequency object by its ID.
GET Package/Frequency/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "frequency": 11,
        "isActive": true,
        "packageId": 10,
        "packageName": "Sample Text Data",
        "frequencyTypeId": 4,
        "frequencyTypeName": "Sample Text Data",
        "termId": 21,
        "termName": "Sample Text Data",
        "sku": "SKU-123-FOO",
        "name": "Monthly Gold Package",
        "isUsageBucketSharePlanPackageFrequency": false,
        "countingRuleId": 6,
        "countingRuleName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "id": 4
    }
}
GETPackage/Frequency/{id}/Detail
Retrieve deep detail of the PackageFrequency 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 PackageFrequency object.
Retrieve deep detail of the PackageFrequency object by its ID.
GET Package/Frequency/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "frequency": 4,
        "isActive": true,
        "packageId": 10,
        "packageName": "Sample Text Data",
        "frequencyTypeId": 23,
        "frequencyTypeName": "Sample Text Data",
        "termId": 12,
        "termName": "Sample Text Data",
        "sku": "SKU-123-FOO",
        "name": "Monthly Gold Package",
        "isUsageBucketSharePlanPackageFrequency": false,
        "countingRuleId": 20,
        "countingRuleName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "id": 14,
        "details": {
            "pricePlans": [
                {
                    "identity": 51,
                    "packageServiceId": 47,
                    "packageFrequencyId": 56,
                    "packageFrequencyName": "Sample Text Data",
                    "packageCurrencyId": 1,
                    "priceBookId": 24,
                    "priceBookName": "Sample Text Data",
                    "generalLedgerId": 6,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 91,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "isTaxInclusive": true,
                    "packageId": 70,
                    "packageName": "Sample Text Data",
                    "serviceId": 4,
                    "serviceName": "Sample Text Data",
                    "packageFrequencyPackageCurrencyIsActive": true,
                    "currencyId": 32,
                    "currencyName": "Sample Text Data",
                    "currencyCode": "Sample Text Data",
                    "countingRuleId": 2,
                    "countingRuleName": "Sample Text Data",
                    "details": {
                        "recurringPrices": [
                            {
                                "identity": 39,
                                "packageServicePricePlanId": 39,
                                "serviceStatusTypeId": 21,
                                "serviceStatusTypeName": "Sample Text Data",
                                "amount": 21.64,
                                "pricePlanTierTypeId": 24,
                                "pricePlanTierTypeName": "Sample Text Data",
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z",
                                "details": {
                                    "identity": 64,
                                    "amount": 56.88,
                                    "threshold": 60,
                                    "packageServiceRecurringPriceId": 15,
                                    "created": "2021-04-26T15:25:27.587Z",
                                    "updated": "2021-04-26T15:25:27.587Z"
                                }
                            }
                        ],
                        "transitionPrices": [
                            {
                                "identity": 7,
                                "amount": 2.95,
                                "packageServicePricePlanId": 33,
                                "serviceTransitionId": 15,
                                "serviceTransitionName": "Sample Text Data",
                                "chargeServiceId": 73,
                                "chargeServiceName": "Sample Text Data",
                                "transitionDuration": 82,
                                "frequencyTypeId": 95,
                                "frequencyTypeName": "Sample Text Data",
                                "transitionDurationPenaltyAmount": 3.74,
                                "transitionLimit": 44,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        ],
                        "currentRatePlan": {
                            "identity": 91,
                            "name": "Sample Text Data",
                            "displayName": "Sample Text Data",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "start": "2021-04-26T15:25:27.587Z"
                        },
                        "nonRecurringPrices": [
                            {
                                "identity": 90,
                                "packageServicePricePlanId": 98,
                                "pricePlanTierTypeId": 71,
                                "pricePlanTierTypeName": "Sample Text Data",
                                "amount": 63.33,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z",
                                "details": {
                                    "tiers": [
                                        {
                                            "identity": 66,
                                            "packageServiceNonRecurringPriceId": 85,
                                            "amount": 6.43,
                                            "threshold": 64,
                                            "created": "2021-04-26T15:25:27.587Z",
                                            "updated": "2021-04-26T15:25:27.587Z"
                                        }
                                    ]
                                }
                            }
                        ],
                        "packageServiceDiscounts": [
                            {
                                "identity": 74,
                                "packageServicePricePlanId": 83,
                                "discountName": "Sample Text Data",
                                "discountStart": "2021-04-26T15:25:27.587Z",
                                "discountEnd": "2021-04-26T15:25:27.587Z",
                                "isProrated": true,
                                "generalLedgerId": 93,
                                "generalLedgerName": "Sample Text Data",
                                "appliedOrder": 66,
                                "isActive": true,
                                "isFreeTrial": true,
                                "isNegativeAllowed": true,
                                "details": {
                                    "packageServiceStatusDiscounts": [
                                        {
                                            "identity": 51,
                                            "packageServiceDiscountId": 93,
                                            "serviceStatusTypeId": 52,
                                            "serviceStatusTypeName": "Sample Text Data",
                                            "discountPromoCodeCurrencyId": 62,
                                            "discountId": 4,
                                            "details": {
                                                "discountAmounts": [
                                                    {
                                                        "identity": 18,
                                                        "discountId": 64,
                                                        "discountTypeId": 2,
                                                        "discountTypeName": "Sample Text Data",
                                                        "frequency": 74,
                                                        "frequencyTypeId": 98,
                                                        "frequencyTypeName": "Sample Text Data",
                                                        "amount": 43.33,
                                                        "appliedOrder": 93
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ],
            "currentRatePlan": {
                "identity": 39,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "currencies": [
                {
                    "identity": 45,
                    "isActive": true,
                    "packageFrequencyId": 77,
                    "packageFrequencyName": "Sample Text Data",
                    "packageCurrencyId": 17,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "priceBookId": 41,
                    "priceBookName": "Sample Text Data",
                    "currencyId": 85,
                    "currencyName": "Sample Text Data",
                    "currencyCode": "Sample Text Data"
                }
            ],
            "usageBucketTiers": [
                {
                    "identity": 86,
                    "usageBucketId": 47,
                    "usageBucketName": "Sample Text Data",
                    "threshold": 21.1,
                    "flatCharge": 99.56,
                    "usageUnitId": 88,
                    "usageUnitName": "Sample Text Data",
                    "packageFrequencyId": 6,
                    "packageFrequencyName": "Sample Text Data",
                    "packageServiceId": 99,
                    "currencyId": 90,
                    "currencyName": "Sample Text Data",
                    "priceBookId": 46,
                    "priceBookName": "Sample Text Data",
                    "tierOverride": true
                }
            ],
            "moneyBuckets": [
                {
                    "identity": 68,
                    "usageBucketId": 6,
                    "usageBucketName": "Sample Text Data",
                    "usageUnitId": 8,
                    "usageUnitName": "Sample Text Data",
                    "packageFrequencyId": 61,
                    "packageFrequencyName": "Sample Text Data",
                    "packageServiceId": 50,
                    "currencyId": 48,
                    "currencyName": "Sample Text Data",
                    "money": 31.17,
                    "priceBookId": 54,
                    "priceBookName": "Sample Text Data",
                    "tierOverride": true
                }
            ]
        }
    }
}
GETPackage/Frequency/{packageFrequencyid}/PriceBook/{priceBookId}/Currency/{currencyCode:alpha}/UsageBucketTier
Retrieve all of the PackageFrequency objects.
Retrieve all of the PackageFrequency objects.
GET Package/Frequency/{packageFrequencyid}/PriceBook/{priceBookId}/Currency/{currencyCode:alpha}/UsageBucketTier
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "frequency": 17,
            "isActive": true,
            "packageId": 5,
            "packageName": "Sample Text Data",
            "frequencyTypeId": 10,
            "frequencyTypeName": "Sample Text Data",
            "termId": 23,
            "termName": "Sample Text Data",
            "sku": "SKU-123-FOO",
            "name": "Monthly Gold Package",
            "isUsageBucketSharePlanPackageFrequency": false,
            "countingRuleId": 0,
            "countingRuleName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z",
            "id": 9
        }
    ]
}
GETPackage/Frequency/{packageFrequencyid}/PriceBook/{priceBookId}/Currency/{currencyId}/UsageBucketTier
Retrieve all of the PackageFrequency objects.
Retrieve all of the PackageFrequency objects.
GET Package/Frequency/{packageFrequencyid}/PriceBook/{priceBookId}/Currency/{currencyId}/UsageBucketTier
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "frequency": 3,
            "isActive": true,
            "packageId": 6,
            "packageName": "Sample Text Data",
            "frequencyTypeId": 17,
            "frequencyTypeName": "Sample Text Data",
            "termId": 1,
            "termName": "Sample Text Data",
            "sku": "SKU-123-FOO",
            "name": "Monthly Gold Package",
            "isUsageBucketSharePlanPackageFrequency": false,
            "countingRuleId": 21,
            "countingRuleName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z",
            "id": 12
        }
    ]
}
PATCHPackage/Frequency/{id}
Update or Add the PackageFrequency 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 PackageFrequency object.
Update or Add the PackageFrequency object and optionally make changes to any child objects.
PATCH Package/Frequency/{id}

{
    "details": {},
    "packageFrequencys": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "frequency": 2,
                "isActive": true,
                "packageId": 1,
                "frequencyTypeId": 8,
                "termId": 10,
                "sku": "SKU-123-FOO",
                "name": "Monthly Gold Package",
                "isUsageBucketSharePlanPackageFrequency": false,
                "countingRuleId": 26,
                "updated": "2021-04-26T15:25:27.587Z",
                "id": 19
            }
        ]
    }
}
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": "packageFrequency",
                "instance": {
                    "identity": 1,
                    "frequency": 5,
                    "isActive": true,
                    "packageId": 23,
                    "packageName": "Sample Text Data",
                    "frequencyTypeId": 1,
                    "frequencyTypeName": "Sample Text Data",
                    "termId": 7,
                    "termName": "Sample Text Data",
                    "sku": "SKU-123-FOO",
                    "name": "Monthly Gold Package",
                    "isUsageBucketSharePlanPackageFrequency": false,
                    "countingRuleId": 4,
                    "countingRuleName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "id": 18
                }
            }
        ]
    }
}
POSTPackage/Frequency/
Create a new instance of the PackageFrequency object.
Create a new instance of the PackageFrequency object.
POST Package/Frequency/

{
    "frequency": 0,
    "isActive": true,
    "packageId": 5,
    "frequencyTypeId": 20,
    "termId": 20,
    "sku": "SKU-123-FOO",
    "name": "Monthly Gold Package",
    "isUsageBucketSharePlanPackageFrequency": false,
    "countingRuleId": 24,
    "updated": "2021-04-26T15:25:27.587Z",
    "id": 16
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "frequency": 24,
                "isActive": true,
                "packageId": 20,
                "packageName": "Sample Text Data",
                "frequencyTypeId": 26,
                "frequencyTypeName": "Sample Text Data",
                "termId": 8,
                "termName": "Sample Text Data",
                "sku": "SKU-123-FOO",
                "name": "Monthly Gold Package",
                "isUsageBucketSharePlanPackageFrequency": false,
                "countingRuleId": 6,
                "countingRuleName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "id": 20
            }
        ]
    }
}
PUTPackage/Frequency/{id}
Update an existing instance of the PackageFrequency object.
Update an existing instance of the PackageFrequency object.
PUT Package/Frequency/{id}

{
    "identity": 1,
    "frequency": 26,
    "isActive": true,
    "packageId": 0,
    "frequencyTypeId": 27,
    "termId": 15,
    "sku": "SKU-123-FOO",
    "name": "Monthly Gold Package",
    "isUsageBucketSharePlanPackageFrequency": false,
    "countingRuleId": 18,
    "updated": "2021-04-26T15:25:27.587Z",
    "id": 9
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "frequency": 19,
                "isActive": true,
                "packageId": 14,
                "packageName": "Sample Text Data",
                "frequencyTypeId": 4,
                "frequencyTypeName": "Sample Text Data",
                "termId": 13,
                "termName": "Sample Text Data",
                "sku": "SKU-123-FOO",
                "name": "Monthly Gold Package",
                "isUsageBucketSharePlanPackageFrequency": false,
                "countingRuleId": 4,
                "countingRuleName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "id": 14
            }
        ]
    }
}