TAG LINE
TAG LINE
SMALL TITLE

Package

(API Version v6)


Represents a product available for sale.


What can you do with Package?


Properties

Property Details
identity
READ-ONLY
"identity": 18
Type: Number
This is the unique numeric identifier for the Package
name
"name": "Gold Service Plan"
Type: String
User defined name for the Package.
ownerId
READ-ONLY
"ownerId": 13
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId 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.
start
"start": "2021-04-26T15:25:27.587Z"
Type: Date
Date Time for when this Package is available for purchase.

Date and time values are specified in the ISO 8601 format.
expiry
"expiry": "2021-04-26T15:25:27.587Z"
Type: Date
Date Time for when this Package is no longer available for purchase.

Date and time values are specified in the ISO 8601 format.
fullPeriod
"fullPeriod": true
Type: Boolean
Whether or not when this package charges the full period and does not prorate.
invoiceDetail
"invoiceDetail": "Hello World"
Type: String
postPaid
"postPaid": true
Type: Boolean
Whether or not this package is post-paid.
billOnAccountBillDay
"billOnAccountBillDay": true
Type: Boolean
defaultAccountPackageStatusTypeId
"defaultAccountPackageStatusTypeId": 11
Type: Number
Unique identifier for the associated AccountPackageStatusType object.
defaultAccountPackageStatusTypeName
"defaultAccountPackageStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the defaultAccountPackageStatusTypeId property.
packageCategoryId
"packageCategoryId": 15
Type: Number
Unique identifier for the associated PackageCategory object.
packageCategoryName
"packageCategoryName": "Sample Name"
Type: String
The name of the object associated with the packageCategoryId property.
chargeRecurringIfUsage
"chargeRecurringIfUsage": true
Type: Boolean
Whether or not to only charge recurring fees if there are usage charges for this period.
isGlobalAddOnEligible
"isGlobalAddOnEligible": true
Type: Boolean
Whether or not this package is eligible to have Global Add-ons attached to it.
description
"description": "The best service plan available"
Type: String
A user defined description for this Package
isQuantityAllowed
"isQuantityAllowed": true
Type: Boolean
id
"id": 10
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 Package object.

Standard PATCH objects:

DataFlow PATCH objects:


End Points

DELETEPackage/{id}
Delete an instance of the Package 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 Package object.
Delete an instance of the Package object.
DELETE Package/{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": "package"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETPackage/
Retrieve all of the Package objects.
Retrieve all of the Package objects.
GET Package/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Gold Service Plan",
            "ownerId": 4,
            "ownerName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "start": "2021-04-26T15:25:27.587Z",
            "expiry": "2021-04-26T15:25:27.587Z",
            "fullPeriod": true,
            "invoiceDetail": "Sample Text Data",
            "postPaid": true,
            "billOnAccountBillDay": true,
            "defaultAccountPackageStatusTypeId": 8,
            "defaultAccountPackageStatusTypeName": "Sample Text Data",
            "packageCategoryId": 25,
            "packageCategoryName": "Sample Text Data",
            "chargeRecurringIfUsage": true,
            "isGlobalAddOnEligible": true,
            "description": "The best service plan available",
            "isQuantityAllowed": true,
            "id": 1
        }
    ]
}
GETPackage/AvailableFor/Account/{id}
Retrieve an instance of the Package object by its ID.
{id}Unique identifier for the Package object.
Retrieve an instance of the Package object by its ID.
GET Package/AvailableFor/Account/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Gold Service Plan",
        "ownerId": 5,
        "ownerName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "start": "2021-04-26T15:25:27.587Z",
        "expiry": "2021-04-26T15:25:27.587Z",
        "fullPeriod": true,
        "invoiceDetail": "Sample Text Data",
        "postPaid": true,
        "billOnAccountBillDay": true,
        "defaultAccountPackageStatusTypeId": 25,
        "defaultAccountPackageStatusTypeName": "Sample Text Data",
        "packageCategoryId": 4,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "isGlobalAddOnEligible": true,
        "description": "The best service plan available",
        "isQuantityAllowed": true,
        "id": 7
    }
}
GETPackage/AvailableFor/Account/{id}/PriceBook/{priceBookId}
Retrieve a specified PriceBook object by its ID for a specified Package.
{id}Unique identifier for the Package object.
{priceBookId}Unique identifier for the PriceBook object.
Retrieve a specified PriceBook object by its ID for a specified Package.
GET Package/AvailableFor/Account/{id}/PriceBook/{priceBookId}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "details": {
            "totalCount": 1,
            "items": [
                {
                    "identity": 1,
                    "ownerId": 24,
                    "ownerName": "Sample Text Data",
                    "name": "Sample Text Data",
                    "priceBookRegionId": 5,
                    "priceBookRegionName": "Sample Text Data",
                    "description": "Sample Text Data",
                    "isStandard": true,
                    "isActive": true,
                    "created": "2021-04-26T15:25:27.587Z"
                }
            ]
        }
    }
}
GETPackage/AvailableFor/Currency/{id}
Retrieve Package objects that are avaialable for the specified Currency.
{id}Unique identifier for the Currency object.
Retrieve Package objects that are avaialable for the specified Currency.
GET Package/AvailableFor/Currency/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "a09f1146-6e20-46b6-ba73-35755561f273",
    "totalCount": 1,
    "items": [
        {
            "identity": 2,
            "name": "DialUp Package",
            "created": "2005-02-11T11:23:11",
            "fullPeriod": false,
            "postPaid": false,
            "syncToBillDay": true,
            "defaultAccountPackageStatusTypeId": 99,
            "defaultAccountPackageStatusTypeName": "Enable",
            "packageCategoryId": 2,
            "packageCategoryName": "Default"
        }
    ]
}
GETPackage/AvailableFor/SharePlan/Participation
Internal endpoint that is not currently used.
GETPackage/Paged
Retrieve all of the Package 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 Package objects in a paged fashion.
GET Package/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,
                "name": "Gold Service Plan",
                "ownerId": 24,
                "ownerName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z",
                "expiry": "2021-04-26T15:25:27.587Z",
                "fullPeriod": true,
                "invoiceDetail": "Sample Text Data",
                "postPaid": true,
                "billOnAccountBillDay": true,
                "defaultAccountPackageStatusTypeId": 11,
                "defaultAccountPackageStatusTypeName": "Sample Text Data",
                "packageCategoryId": 13,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "isGlobalAddOnEligible": true,
                "description": "The best service plan available",
                "isQuantityAllowed": true,
                "id": 14
            }
        ]
    }
}
GETPackage/Paged/Detail
Retrieve all of the Package 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 Package objects in a paged fashion with all object details.
GET Package/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,
                "name": "Gold Service Plan",
                "ownerId": 8,
                "ownerName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z",
                "expiry": "2021-04-26T15:25:27.587Z",
                "fullPeriod": true,
                "invoiceDetail": "Sample Text Data",
                "postPaid": true,
                "billOnAccountBillDay": true,
                "defaultAccountPackageStatusTypeId": 15,
                "defaultAccountPackageStatusTypeName": "Sample Text Data",
                "packageCategoryId": 13,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "isGlobalAddOnEligible": true,
                "description": "The best service plan available",
                "isQuantityAllowed": true,
                "id": 8,
                "details": {
                    "services": [
                        {
                            "identity": 58,
                            "packageId": 45,
                            "packageName": "Sample Text Data",
                            "serviceId": 3,
                            "serviceName": "Sample Text Data",
                            "defaultInstances": 36,
                            "minimumInstances": 67,
                            "maximumInstances": 73,
                            "termId": 91,
                            "termName": "Sample Text Data",
                            "isUsageBucketSharePlanPackageService": true,
                            "usageClassDynamicId": 13,
                            "usageClassDynamicName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "serviceCategoryId": 73,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "details": {
                                "usageBuckets": [
                                    {
                                        "identity": 36,
                                        "name": "Sample Text Data",
                                        "prorate": true,
                                        "isInfiniteLastTier": true,
                                        "isThresholdPerAccountService": true,
                                        "usageBucketRefillTypeId": 9,
                                        "usageBucketRefillTypeName": "Sample Text Data",
                                        "refillFrequency": 33,
                                        "refillFrequencyTypeId": 69,
                                        "refillFrequencyTypeName": "Sample Text Data",
                                        "expireAfterFrequency": 9,
                                        "expireAfterFrequencyTypeId": 74,
                                        "expireAfterFrequencyTypeName": "Sample Text Data",
                                        "expireAfterRecurrence": 57,
                                        "isAssociatedWithSharePlan": true,
                                        "accountPackageActivation": true,
                                        "overageUsageRatePlanId": 8,
                                        "isSharedAcrossPackage": true,
                                        "overageUsageRatePlanName": "Sample Text Data",
                                        "isBytesInBinaryUnit": true,
                                        "usageBucketBaseUnitId": 13,
                                        "usageBucketBaseUnitName": "Sample Text Data",
                                        "details": {
                                            "tiers": [
                                                {
                                                    "identity": 23,
                                                    "usageBucketId": 74,
                                                    "usageBucketName": "Sample Text Data",
                                                    "threshold": 53.56,
                                                    "flatCharge": 83.82,
                                                    "usageUnitId": 76,
                                                    "usageUnitName": "Sample Text Data",
                                                    "packageFrequencyId": 91,
                                                    "packageFrequencyName": "Sample Text Data",
                                                    "packageServiceId": 27,
                                                    "currencyId": 84,
                                                    "currencyName": "Sample Text Data",
                                                    "money": 20.22
                                                }
                                            ],
                                            "contributions": [
                                                {
                                                    "identity": 6,
                                                    "usageBucketSharePlanParticipationId": 43,
                                                    "usageBucketId": 24,
                                                    "usageBucketName": "Sample Text Data",
                                                    "isContributing": true,
                                                    "contributingAmount": 58.05,
                                                    "contributingUsageUnitId": 49,
                                                    "contributingUsageUnitName": "Sample Text Data",
                                                    "moneyCurrencyId": 69,
                                                    "serviceId": 79,
                                                    "serviceName": "Sample Text Data",
                                                    "packageId": 43,
                                                    "packageName": "Sample Text Data"
                                                }
                                            ],
                                            "usageBucketNotifications": [
                                                {
                                                    "identity": 79,
                                                    "usageBucketServiceId": 56,
                                                    "emailConfigurationId": 20,
                                                    "emailConfigurationName": "Sample Text Data",
                                                    "webhookConfigurationId": 93,
                                                    "webhookConfigurationName": "Sample Text Data",
                                                    "thresholdPercent": 20,
                                                    "details": {
                                                        "emailConfiguration": {
                                                            "identity": 11,
                                                            "name": "Sample Text Data",
                                                            "eventSubscriptionId": 86,
                                                            "eventSubscriptionName": "Sample Text Data",
                                                            "emailTemplateId": 71,
                                                            "emailTemplateName": "Sample Text Data",
                                                            "details": {
                                                                "emailToAddresses": [
                                                                    {
                                                                        "identity": 20,
                                                                        "emailConfigurationId": 78,
                                                                        "emailConfigurationName": "Sample Text Data",
                                                                        "userId": 45,
                                                                        "userName": "Sample Text Data",
                                                                        "contactTypeTypeId": 89,
                                                                        "contactTypeTypeName": "Sample Text Data",
                                                                        "email": "Sample Text Data"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "webhookConfiguration": {
                                                            "identity": 28,
                                                            "name": "Sample Text Data",
                                                            "url": "Sample Text Data",
                                                            "requestVerb": "Sample Text Data",
                                                            "webhookTemplateId": 16,
                                                            "webhookTemplateName": "Sample Text Data",
                                                            "keyValuePairAuthorizationTokenKey": "Sample Text Data",
                                                            "keyValuePairAuthorizationTokenValue": "Sample Text Data",
                                                            "eventSubscriptionId": 18,
                                                            "eventSubscriptionName": "Sample Text Data",
                                                            "webhookAuthorizationTypeId": 96,
                                                            "webhookAuthorizationTypeName": "Sample Text Data",
                                                            "oAuthUsername": "Sample Text Data",
                                                            "oAuthPassword": "Sample Text Data",
                                                            "oAuthClientId": "Sample Text Data",
                                                            "oAuthAuthorizationURL": "Sample Text Data",
                                                            "hasCredentialsSet": true
                                                        }
                                                    }
                                                }
                                            ],
                                            "usageBucketBase": [
                                                {
                                                    "identity": 17,
                                                    "name": "Sample Text Data",
                                                    "start": "2021-04-26T15:25:27.587Z",
                                                    "end": "2021-04-26T15:25:27.587Z",
                                                    "retired": true,
                                                    "usageBucketBaseUnitId": 39,
                                                    "usageBucketBaseUnitName": "Sample Text Data",
                                                    "details": {
                                                        "identity": 62,
                                                        "usageBucketBaseId": 34,
                                                        "usageBucketBaseName": "Sample Text Data",
                                                        "usageClassId": 72,
                                                        "usageClassName": "Sample Text Data",
                                                        "geoTreeLocationId": 48,
                                                        "geoTreeLocationName": "Sample Text Data",
                                                        "exclude": true,
                                                        "geoTreeLocationGroupId": 19,
                                                        "geoTreeLocationGroupName": "Sample Text Data"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "frequencies": [
                        {
                            "identity": 48,
                            "frequency": 70,
                            "isActive": true,
                            "packageId": 6,
                            "packageName": "Sample Text Data",
                            "frequencyTypeId": 23,
                            "frequencyTypeName": "Sample Text Data",
                            "termId": 11,
                            "termName": "Sample Text Data",
                            "sku": "Sample Text Data",
                            "name": "Sample Text Data",
                            "isUsageBucketSharePlanPackageFrequency": true,
                            "countingRuleId": 69,
                            "countingRuleName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "currencies": [
                        {
                            "identity": 43,
                            "packageId": 17,
                            "packageName": "Sample Text Data",
                            "currencyId": 59,
                            "currencyName": "Sample Text Data",
                            "currencyCode": "Sample Text Data"
                        }
                    ]
                }
            }
        ]
    }
}
GETPackage/{id}
Retrieve an instance of the Package object by its ID.
{id}Unique identifier for the Package object.
Retrieve an instance of the Package object by its ID.
GET Package/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Gold Service Plan",
        "ownerId": 26,
        "ownerName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "start": "2021-04-26T15:25:27.587Z",
        "expiry": "2021-04-26T15:25:27.587Z",
        "fullPeriod": true,
        "invoiceDetail": "Sample Text Data",
        "postPaid": true,
        "billOnAccountBillDay": true,
        "defaultAccountPackageStatusTypeId": 16,
        "defaultAccountPackageStatusTypeName": "Sample Text Data",
        "packageCategoryId": 19,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "isGlobalAddOnEligible": true,
        "description": "The best service plan available",
        "isQuantityAllowed": true,
        "id": 8
    }
}
GETPackage/{id}/Detail
Retrieve deep detail of the Package 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 Package object.
Retrieve deep detail of the Package object by its ID.
GET Package/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Gold Service Plan",
        "ownerId": 13,
        "ownerName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "start": "2021-04-26T15:25:27.587Z",
        "expiry": "2021-04-26T15:25:27.587Z",
        "fullPeriod": true,
        "invoiceDetail": "Sample Text Data",
        "postPaid": true,
        "billOnAccountBillDay": true,
        "defaultAccountPackageStatusTypeId": 8,
        "defaultAccountPackageStatusTypeName": "Sample Text Data",
        "packageCategoryId": 3,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "isGlobalAddOnEligible": true,
        "description": "The best service plan available",
        "isQuantityAllowed": true,
        "id": 25,
        "details": {
            "services": [
                {
                    "identity": 58,
                    "packageId": 45,
                    "packageName": "Sample Text Data",
                    "serviceId": 3,
                    "serviceName": "Sample Text Data",
                    "defaultInstances": 36,
                    "minimumInstances": 67,
                    "maximumInstances": 73,
                    "termId": 91,
                    "termName": "Sample Text Data",
                    "isUsageBucketSharePlanPackageService": true,
                    "usageClassDynamicId": 13,
                    "usageClassDynamicName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "serviceCategoryId": 73,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "details": {
                        "usageBuckets": [
                            {
                                "identity": 36,
                                "name": "Sample Text Data",
                                "prorate": true,
                                "isInfiniteLastTier": true,
                                "isThresholdPerAccountService": true,
                                "usageBucketRefillTypeId": 9,
                                "usageBucketRefillTypeName": "Sample Text Data",
                                "refillFrequency": 33,
                                "refillFrequencyTypeId": 69,
                                "refillFrequencyTypeName": "Sample Text Data",
                                "expireAfterFrequency": 9,
                                "expireAfterFrequencyTypeId": 74,
                                "expireAfterFrequencyTypeName": "Sample Text Data",
                                "expireAfterRecurrence": 57,
                                "isAssociatedWithSharePlan": true,
                                "accountPackageActivation": true,
                                "overageUsageRatePlanId": 8,
                                "isSharedAcrossPackage": true,
                                "overageUsageRatePlanName": "Sample Text Data",
                                "isBytesInBinaryUnit": true,
                                "usageBucketBaseUnitId": 13,
                                "usageBucketBaseUnitName": "Sample Text Data",
                                "details": {
                                    "tiers": [
                                        {
                                            "identity": 23,
                                            "usageBucketId": 74,
                                            "usageBucketName": "Sample Text Data",
                                            "threshold": 53.56,
                                            "flatCharge": 83.82,
                                            "usageUnitId": 76,
                                            "usageUnitName": "Sample Text Data",
                                            "packageFrequencyId": 91,
                                            "packageFrequencyName": "Sample Text Data",
                                            "packageServiceId": 27,
                                            "currencyId": 84,
                                            "currencyName": "Sample Text Data",
                                            "money": 20.22
                                        }
                                    ],
                                    "contributions": [
                                        {
                                            "identity": 6,
                                            "usageBucketSharePlanParticipationId": 43,
                                            "usageBucketId": 24,
                                            "usageBucketName": "Sample Text Data",
                                            "isContributing": true,
                                            "contributingAmount": 58.05,
                                            "contributingUsageUnitId": 49,
                                            "contributingUsageUnitName": "Sample Text Data",
                                            "moneyCurrencyId": 69,
                                            "serviceId": 79,
                                            "serviceName": "Sample Text Data",
                                            "packageId": 43,
                                            "packageName": "Sample Text Data"
                                        }
                                    ],
                                    "usageBucketNotifications": [
                                        {
                                            "identity": 79,
                                            "usageBucketServiceId": 56,
                                            "emailConfigurationId": 20,
                                            "emailConfigurationName": "Sample Text Data",
                                            "webhookConfigurationId": 93,
                                            "webhookConfigurationName": "Sample Text Data",
                                            "thresholdPercent": 20,
                                            "details": {
                                                "emailConfiguration": {
                                                    "identity": 11,
                                                    "name": "Sample Text Data",
                                                    "eventSubscriptionId": 86,
                                                    "eventSubscriptionName": "Sample Text Data",
                                                    "emailTemplateId": 71,
                                                    "emailTemplateName": "Sample Text Data",
                                                    "details": {
                                                        "emailToAddresses": [
                                                            {
                                                                "identity": 20,
                                                                "emailConfigurationId": 78,
                                                                "emailConfigurationName": "Sample Text Data",
                                                                "userId": 45,
                                                                "userName": "Sample Text Data",
                                                                "contactTypeTypeId": 89,
                                                                "contactTypeTypeName": "Sample Text Data",
                                                                "email": "Sample Text Data"
                                                            }
                                                        ]
                                                    }
                                                },
                                                "webhookConfiguration": {
                                                    "identity": 28,
                                                    "name": "Sample Text Data",
                                                    "url": "Sample Text Data",
                                                    "requestVerb": "Sample Text Data",
                                                    "webhookTemplateId": 16,
                                                    "webhookTemplateName": "Sample Text Data",
                                                    "keyValuePairAuthorizationTokenKey": "Sample Text Data",
                                                    "keyValuePairAuthorizationTokenValue": "Sample Text Data",
                                                    "eventSubscriptionId": 18,
                                                    "eventSubscriptionName": "Sample Text Data",
                                                    "webhookAuthorizationTypeId": 96,
                                                    "webhookAuthorizationTypeName": "Sample Text Data",
                                                    "oAuthUsername": "Sample Text Data",
                                                    "oAuthPassword": "Sample Text Data",
                                                    "oAuthClientId": "Sample Text Data",
                                                    "oAuthAuthorizationURL": "Sample Text Data",
                                                    "hasCredentialsSet": true
                                                }
                                            }
                                        }
                                    ],
                                    "usageBucketBase": [
                                        {
                                            "identity": 17,
                                            "name": "Sample Text Data",
                                            "start": "2021-04-26T15:25:27.587Z",
                                            "end": "2021-04-26T15:25:27.587Z",
                                            "retired": true,
                                            "usageBucketBaseUnitId": 39,
                                            "usageBucketBaseUnitName": "Sample Text Data",
                                            "details": {
                                                "identity": 62,
                                                "usageBucketBaseId": 34,
                                                "usageBucketBaseName": "Sample Text Data",
                                                "usageClassId": 72,
                                                "usageClassName": "Sample Text Data",
                                                "geoTreeLocationId": 48,
                                                "geoTreeLocationName": "Sample Text Data",
                                                "exclude": true,
                                                "geoTreeLocationGroupId": 19,
                                                "geoTreeLocationGroupName": "Sample Text Data"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ],
            "frequencies": [
                {
                    "identity": 48,
                    "frequency": 70,
                    "isActive": true,
                    "packageId": 6,
                    "packageName": "Sample Text Data",
                    "frequencyTypeId": 23,
                    "frequencyTypeName": "Sample Text Data",
                    "termId": 11,
                    "termName": "Sample Text Data",
                    "sku": "Sample Text Data",
                    "name": "Sample Text Data",
                    "isUsageBucketSharePlanPackageFrequency": true,
                    "countingRuleId": 69,
                    "countingRuleName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "currencies": [
                {
                    "identity": 43,
                    "packageId": 17,
                    "packageName": "Sample Text Data",
                    "currencyId": 59,
                    "currencyName": "Sample Text Data",
                    "currencyCode": "Sample Text Data"
                }
            ]
        }
    }
}
PATCHPackage/{id}
Update or Add the Package 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 Package object.
Update or Add the Package object and optionally make changes to any child objects.
PATCH Package/{id}

{
    "details": {},
    "packages": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "name": "Gold Service Plan",
                "start": "2021-04-26T15:25:27.587Z",
                "expiry": "2021-04-26T15:25:27.587Z",
                "fullPeriod": true,
                "invoiceDetail": "Sample Text Data",
                "postPaid": true,
                "billOnAccountBillDay": true,
                "defaultAccountPackageStatusTypeId": 13,
                "packageCategoryId": 5,
                "chargeRecurringIfUsage": true,
                "isGlobalAddOnEligible": true,
                "description": "The best service plan available",
                "isQuantityAllowed": true,
                "id": 14
            }
        ]
    }
}
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": "package",
                "instance": {
                    "identity": 1,
                    "name": "Gold Service Plan",
                    "ownerId": 3,
                    "ownerName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "start": "2021-04-26T15:25:27.587Z",
                    "expiry": "2021-04-26T15:25:27.587Z",
                    "fullPeriod": true,
                    "invoiceDetail": "Sample Text Data",
                    "postPaid": true,
                    "billOnAccountBillDay": true,
                    "defaultAccountPackageStatusTypeId": 27,
                    "defaultAccountPackageStatusTypeName": "Sample Text Data",
                    "packageCategoryId": 17,
                    "packageCategoryName": "Sample Text Data",
                    "chargeRecurringIfUsage": true,
                    "isGlobalAddOnEligible": true,
                    "description": "The best service plan available",
                    "isQuantityAllowed": true,
                    "id": 18
                }
            }
        ]
    }
}
POSTPackage/
Create a new instance of the Package object.
Create a new instance of the Package object.
POST Package/

{
    "name": "Gold Service Plan",
    "start": "2021-04-26T15:25:27.587Z",
    "expiry": "2021-04-26T15:25:27.587Z",
    "fullPeriod": true,
    "invoiceDetail": "Sample Text Data",
    "postPaid": true,
    "billOnAccountBillDay": true,
    "defaultAccountPackageStatusTypeId": 20,
    "packageCategoryId": 8,
    "chargeRecurringIfUsage": true,
    "isGlobalAddOnEligible": true,
    "description": "The best service plan available",
    "isQuantityAllowed": true,
    "id": 23
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Gold Service Plan",
                "ownerId": 7,
                "ownerName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z",
                "expiry": "2021-04-26T15:25:27.587Z",
                "fullPeriod": true,
                "invoiceDetail": "Sample Text Data",
                "postPaid": true,
                "billOnAccountBillDay": true,
                "defaultAccountPackageStatusTypeId": 25,
                "defaultAccountPackageStatusTypeName": "Sample Text Data",
                "packageCategoryId": 8,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "isGlobalAddOnEligible": true,
                "description": "The best service plan available",
                "isQuantityAllowed": true,
                "id": 10
            }
        ]
    }
}
PUTPackage/{id}
Update an existing instance of the Package object.
Update an existing instance of the Package object.
PUT Package/{id}

{
    "identity": 1,
    "name": "Gold Service Plan",
    "start": "2021-04-26T15:25:27.587Z",
    "expiry": "2021-04-26T15:25:27.587Z",
    "fullPeriod": true,
    "invoiceDetail": "Sample Text Data",
    "postPaid": true,
    "billOnAccountBillDay": true,
    "defaultAccountPackageStatusTypeId": 27,
    "packageCategoryId": 11,
    "chargeRecurringIfUsage": true,
    "isGlobalAddOnEligible": true,
    "description": "The best service plan available",
    "isQuantityAllowed": true,
    "id": 5
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Gold Service Plan",
                "ownerId": 6,
                "ownerName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z",
                "expiry": "2021-04-26T15:25:27.587Z",
                "fullPeriod": true,
                "invoiceDetail": "Sample Text Data",
                "postPaid": true,
                "billOnAccountBillDay": true,
                "defaultAccountPackageStatusTypeId": 16,
                "defaultAccountPackageStatusTypeName": "Sample Text Data",
                "packageCategoryId": 24,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "isGlobalAddOnEligible": true,
                "description": "The best service plan available",
                "isQuantityAllowed": true,
                "id": 25
            }
        ]
    }
}