TAG LINE
TAG LINE
SMALL TITLE

Account / Package

(API Version v6)


This object contains all the information associated with a Package that has been assigned to an Account.


What can you do with AccountPackage?


Properties

Property Details
identity
READ-ONLY
"identity": "Hello World"
Type: String
This is the unique numeric identifier for the AccountPackage
accountId
"accountId": 14
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId 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.
nextBill
READ-ONLY
"nextBill": "2021-04-26T15:25:27.587Z"
Type: Date
The date in which this account will be billed next.

Date and time values are specified in the ISO 8601 format.
name
"name": "Hello World"
Type: String
The name of the Account Package.
lastStatusChanged
"lastStatusChanged": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
effective
"effective": "2021-04-26T15:25:27.587Z"
Type: Date
The start date on when this Account Package is to have its charge calculated.

Date and time values are specified in the ISO 8601 format.
updated
"updated": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
effectiveCancel
"effectiveCancel": "2021-04-26T15:25:27.587Z"
Type: Date
The date in which this Account Package should be cancelled.

Date and time values are specified in the ISO 8601 format.
packageFrequencyId
"packageFrequencyId": 24
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.
createdByUserId
READ-ONLY
"createdByUserId": 10
Type: Number
Unique identifier for the associated User object.
createdByUserName
READ-ONLY
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
billDay
"billDay": 7
Type: Number
If this Account Package is to be billed on a different day than the account's bill day.
updatedByUserId
READ-ONLY
"updatedByUserId": 9
Type: Number
Unique identifier for the associated User object.
updatedByUserName
READ-ONLY
"updatedByUserName": "Sample Name"
Type: String
The name of the object associated with the updatedByUserId property.
usageBillDay
"usageBillDay": 7
Type: Number
If this Account Package is to have it's usage billed on a different day than the account's usage bill day.
activation
"activation": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
finalBill
READ-ONLY
"finalBill": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this Account Package had it's final bill generated. Applies to Account Packages that have been cancelled.

Date and time values are specified in the ISO 8601 format.
lastBilled
READ-ONLY
"lastBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this Account Package was last billed.

Date and time values are specified in the ISO 8601 format.
accountSharePlanId
"accountSharePlanId": 5
Type: Number
Unique identifier for the associated AccountSharePlan object.
accountSharePlanName
"accountSharePlanName": "Sample Name"
Type: String
The name of the object associated with the accountSharePlanId property.
lastUsageBilled
READ-ONLY
"lastUsageBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this Account Package's usage was last billed.

Date and time values are specified in the ISO 8601 format.
accountProductCodeId
"accountProductCodeId": 18
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.
packageCategoryId
"packageCategoryId": 22
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
READ-ONLY
"chargeRecurringIfUsage": true
Type: Boolean
This is an inherited field from the Package that has been added to the account.
updatedByPortalUserId
READ-ONLY
"updatedByPortalUserId": 1
Type: Number
If this Account Package has been updated by the end customer in the LogiSense customer portal, then this ID represents that User.

Unique identifier for the associated PortalUser object.
updatedByPortalUserName
READ-ONLY
"updatedByPortalUserName": "Sample Name"
Type: String
The name of the object associated with the updatedByPortalUserId property.
pendingBillDay
"pendingBillDay": 24
Type: Number
pendingUsageBillDay
"pendingUsageBillDay": 25
Type: Number
billCancelOptionTypeId
"billCancelOptionTypeId": 14
Type: Number
Unique identifier for the associated BillCancelOptionType object.
billCancelOptionTypeName
"billCancelOptionTypeName": "Sample Name"
Type: String
The name of the object associated with the billCancelOptionTypeId property.
waiveEarlyTerminationFee
"waiveEarlyTerminationFee": true
Type: Boolean
billingActivationTypeId
"billingActivationTypeId": 27
Type: Number
Unique identifier for the associated BillingActivationType object.
billingActivationTypeName
"billingActivationTypeName": "Sample Name"
Type: String
The name of the object associated with the billingActivationTypeId property.
quantity
"quantity": 19
Type: Number
isQuantityAllowed
"isQuantityAllowed": true
Type: Boolean
importLastBilled
"importLastBilled": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
priceBookId
"priceBookId": 7
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.
accountContractId
"accountContractId": 3
Type: Number
Unique identifier for the associated AccountContract object.
accountContractName
"accountContractName": "Sample Name"
Type: String
The name of the object associated with the accountContractId property.
id
"id": "Hello World"
Type: String


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

Standard PATCH objects:

  • accountService - create, update, delete
  • usageRatePlan - create, update, delete
  • accountPackageTransitionPrice - create, update, delete
  • accountPackageRecurringPrice - create, update, delete
  • accountPackageServiceDiscount - create, update, delete

DataFlow PATCH objects:

  • accountPackage - create, update, delete
  • accountService - create, update, delete
  • usageRatePlan - create, update, delete
  • accountPackageTransitionPrice - create, update, delete
  • accountPackageRecurringPrice - create, update, delete
  • accountPackageServiceDiscount - create, update, delete

End Points

DELETEAccount/Package/{id}
Delete an instance of the AccountPackage 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 AccountPackage object.
Delete an instance of the AccountPackage object.
DELETE Account/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": "accountPackage"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
DELETEAccount/Package/{id}/CancelSetting
Delete a CancelSetting object from the AccountPackage. 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 AccountPackage object.
{cancelsettingId}Unique identifier for the CancelSetting object sent down in the body of the request in JSON format.
{
    "details": {
        "items": [
            {
                "identity": 1
            }
        ]
    }
}
Delete a CancelSetting object from the AccountPackage.
DELETE Account/Package/{id}/CancelSetting
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": "accountPackage"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETAccount/Package/
Retrieve all of the AccountPackage objects.
Retrieve all of the AccountPackage objects.
GET Account/Package/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 19,
            "accountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "nextBill": "2021-04-26T15:25:27.587Z",
            "name": "Sample Text Data",
            "lastStatusChanged": "2021-04-26T15:25:27.587Z",
            "effective": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z",
            "effectiveCancel": "2021-04-26T15:25:27.587Z",
            "packageFrequencyId": 12,
            "packageFrequencyName": "Sample Text Data",
            "createdByUserId": 25,
            "createdByUserName": "Sample Text Data",
            "billDay": 7,
            "updatedByUserId": 16,
            "updatedByUserName": "Sample Text Data",
            "usageBillDay": 7,
            "activation": "2021-04-26T15:25:27.587Z",
            "finalBill": "2021-04-26T15:25:27.587Z",
            "lastBilled": "2021-04-26T15:25:27.587Z",
            "accountSharePlanId": 8,
            "accountSharePlanName": "Sample Text Data",
            "lastUsageBilled": "2021-04-26T15:25:27.587Z",
            "accountProductCodeId": 14,
            "accountProductCodeName": "Sample Text Data",
            "packageCategoryId": 25,
            "packageCategoryName": "Sample Text Data",
            "chargeRecurringIfUsage": true,
            "updatedByPortalUserId": 11,
            "updatedByPortalUserName": "Sample Text Data",
            "pendingBillDay": 10,
            "pendingUsageBillDay": 20,
            "billCancelOptionTypeId": 24,
            "billCancelOptionTypeName": "Sample Text Data",
            "waiveEarlyTerminationFee": true,
            "billingActivationTypeId": 19,
            "billingActivationTypeName": "Sample Text Data",
            "quantity": 4,
            "isQuantityAllowed": true,
            "importLastBilled": "2021-04-26T15:25:27.587Z",
            "priceBookId": 6,
            "priceBookName": "Sample Text Data",
            "accountContractId": 2,
            "accountContractName": "Sample Text Data",
            "id": "Sample Text Data"
        }
    ]
}
GETAccount/Package/Paged
Retrieve all of the AccountPackage 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 AccountPackage objects in a paged fashion.
GET Account/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,
                "accountId": 9,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 12,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 22,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 2,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 6,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 20,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 15,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 1,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 25,
                "pendingUsageBillDay": 2,
                "billCancelOptionTypeId": 1,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 11,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 19,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 26,
                "priceBookName": "Sample Text Data",
                "accountContractId": 23,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}
GETAccount/Package/Paged/Detail
Retrieve all of the AccountPackage 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 AccountPackage objects in a paged fashion with all object details.
GET Account/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,
                "accountId": 17,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 18,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 3,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 5,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 15,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 14,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 9,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 6,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 1,
                "pendingUsageBillDay": 24,
                "billCancelOptionTypeId": 22,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 9,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 10,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 6,
                "priceBookName": "Sample Text Data",
                "accountContractId": 4,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data",
                "details": {
                    "accountServices": [
                        {
                            "serviceId": 40,
                            "serviceName": "Sample Text Data",
                            "accountId": 35,
                            "accountName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "accountPackageName": "Sample Text Data",
                            "name": "Sample Text Data",
                            "amount": 37.75,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "effective": "2021-04-26T15:25:27.587Z",
                            "posted": "2021-04-26T15:25:27.587Z",
                            "createdByUserId": 43,
                            "createdByUserName": "Sample Text Data",
                            "updatedByUserId": 75,
                            "updatedByUserName": "Sample Text Data",
                            "effectiveCancel": "2021-04-26T15:25:27.587Z",
                            "usageNextBill": "2021-04-26T15:25:27.587Z",
                            "usageFinalBill": "2021-04-26T15:25:27.587Z",
                            "finalBill": "2021-04-26T15:25:27.587Z",
                            "lastBilled": "2021-04-26T15:25:27.587Z",
                            "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                            "addOnPackageFrequencyId": 49,
                            "addOnPackageFrequencyName": "Sample Text Data",
                            "billCancelOptionTypeId": 23,
                            "billCancelOptionTypeName": "Sample Text Data",
                            "isTaxInclusive": true,
                            "serviceTaxCategoryId": 73,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "details": {
                                "temporalData": [
                                    {
                                        "accountServiceName": "Sample Text Data",
                                        "serviceStatusTypeId": 29,
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "udrUsageIdentifier": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "end": "2021-04-26T15:25:27.587Z"
                                    }
                                ],
                                "currentRatePlan": {
                                    "identity": 90,
                                    "name": "Sample Text Data",
                                    "displayName": "Sample Text Data",
                                    "start": "2021-04-26T15:25:27.587Z"
                                },
                                "accountServiceUsageBuckets": [
                                    {
                                        "identity": 92,
                                        "usageBucketId": 72,
                                        "usageBucketName": "Sample Text Data",
                                        "accountServiceName": "Sample Text Data",
                                        "refillFrequency": 37,
                                        "refillFrequencyTypeId": 5,
                                        "refillFrequencyTypeName": "Sample Text Data",
                                        "effective": "2021-04-26T15:25:27.587Z",
                                        "effectiveCancel": "2021-04-26T15:25:27.587Z",
                                        "prorate": true,
                                        "isInfiniteLastTier": true,
                                        "isThresholdPerAccountService": true,
                                        "usageBucketRefillTypeId": 9,
                                        "usageBucketRefillTypeName": "Sample Text Data",
                                        "expireAfterFrequency": 15,
                                        "expireAfterFrequencyTypeId": 39,
                                        "expireAfterFrequencyTypeName": "Sample Text Data",
                                        "expireAfterRecurrence": 50,
                                        "accountPackageActivation": true,
                                        "isSharedAcrossPackage": true,
                                        "overageUsageRatePlanId": 1,
                                        "overageUsageRatePlanName": "Sample Text Data",
                                        "details": {
                                            "tiers": [
                                                {
                                                    "identity": 45,
                                                    "usageBucketTierId": 75,
                                                    "accountServiceUsageBucketId": 66,
                                                    "threshold": 27.22,
                                                    "flatCharge": 6.6,
                                                    "usageUnitId": 39,
                                                    "usageUnitName": "Sample Text Data",
                                                    "money": 30.36
                                                }
                                            ],
                                            "contributions": [
                                                {
                                                    "identity": 97,
                                                    "accountSharePlanParticipationId": 57,
                                                    "accountServiceUsageBucketId": 50,
                                                    "isContributing": true,
                                                    "contributingAmount": 46.37,
                                                    "contributingUsageUnitId": 93,
                                                    "contributingUsageUnitName": "Sample Text Data"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "discountTracking": [
                                    {
                                        "identity": 25,
                                        "accountServiceName": "Sample Text Data",
                                        "accountPackageServiceDiscountId": 25,
                                        "frequency": 60,
                                        "frequencyTypeId": 9,
                                        "frequencyTypeName": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "lastProcessed": "2021-04-26T15:25:27.587Z",
                                        "finalized": "2021-04-26T15:25:27.587Z"
                                    }
                                ],
                                "discountPromoCodes": [
                                    {
                                        "identity": 90,
                                        "name": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "generalLedgerId": 31
                                    }
                                ]
                            }
                        }
                    ],
                    "currentRatePlan": {
                        "identity": 63,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "transitionPrices": [
                        {
                            "identity": 59,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 64,
                            "serviceTransitionId": 36,
                            "serviceTransitionName": "Sample Text Data",
                            "amount": 93.84,
                            "chargeServiceId": 13,
                            "chargeServiceName": "Sample Text Data",
                            "penaltyCharge": 61.54
                        }
                    ],
                    "nonRecurringPrices": [
                        {
                            "identity": 0,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 92,
                            "pricePlanTierTypeId": 0,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "amount": 10.14,
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 17,
                                        "accountPackageNonRecurringPriceId": 12,
                                        "amount": 1.9300000000000002,
                                        "threshold": 69
                                    }
                                ]
                            }
                        }
                    ],
                    "recurringPrices": [
                        {
                            "identity": 49,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 21,
                            "serviceStatusTypeId": 90,
                            "serviceStatusTypeName": "Sample Text Data",
                            "amount": 38.88,
                            "pricePlanTierTypeId": 84,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "details": {
                                "identity": 68,
                                "accountPackageRecurringPriceId": 11,
                                "threshold": 56,
                                "amount": 38.81,
                                "details": {
                                    "currentRatePlan": {
                                        "identity": 7,
                                        "name": "Sample Text Data",
                                        "displayName": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z"
                                    }
                                }
                            }
                        }
                    ],
                    "serviceDiscounts": [
                        {
                            "identity": 96,
                            "accountPackageName": "Sample Text Data",
                            "serviceId": 34,
                            "serviceName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "packageServiceDiscountId": 57,
                            "generalLedgerId": 84,
                            "generalLedgerName": "Sample Text Data",
                            "discountName": "Sample Text Data",
                            "isProrated": true,
                            "details": {
                                "identity": 59,
                                "accountPackageServiceDiscountId": 45,
                                "accountPackageServiceDiscountName": "Sample Text Data",
                                "serviceStatusTypeId": 94,
                                "serviceStatusTypeName": "Sample Text Data",
                                "discountPromoCodeId": 69,
                                "discountPromoCodeName": "Sample Text Data",
                                "discountId": 14,
                                "details": {
                                    "discountAmounts": [
                                        {
                                            "identity": 8,
                                            "discountId": 48,
                                            "discountTypeId": 27,
                                            "discountTypeName": "Sample Text Data",
                                            "frequency": 81,
                                            "frequencyTypeId": 8,
                                            "frequencyTypeName": "Sample Text Data",
                                            "amount": 98.38,
                                            "appliedOrder": 17
                                        }
                                    ]
                                }
                            }
                        }
                    ],
                    "temporalData": [
                        {
                            "accountPackageName": "Sample Text Data",
                            "accountPackageStatusTypeId": 96,
                            "accountPackageStatusTypeName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "end": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "latestPackageTerm": {
                        "accountPackageName": "Sample Text Data",
                        "termId": 61,
                        "name": "Sample Text Data",
                        "isActive": true,
                        "frequency": 52,
                        "frequencyTypeId": 43,
                        "frequencyTypeName": "Sample Text Data",
                        "penaltyServiceId": 64,
                        "penaltyServiceName": "Sample Text Data",
                        "chargeRemainder": true,
                        "termPenaltyAmount": 92.8,
                        "contractStart": "2021-04-26T15:25:27.587Z",
                        "termRenewalTypeId": 20,
                        "renewTermId": 3,
                        "renewTermStart": "2021-04-26T15:25:27.587Z",
                        "contractEnd": "2021-04-26T15:25:27.587Z"
                    },
                    "packageTerms": [
                        {
                            "accountPackageName": "Sample Text Data",
                            "termId": 19,
                            "termName": "Sample Text Data",
                            "termStart": "2021-04-26T15:25:27.587Z",
                            "termRenewalTypeId": 58,
                            "termRenewalTypeName": "Sample Text Data",
                            "renewTermId": 87,
                            "renewTermName": "Sample Text Data",
                            "renewTermStart": "2021-04-26T15:25:27.587Z",
                            "endDate": "2021-04-26T15:25:27.587Z"
                        }
                    ]
                }
            }
        ]
    }
}
GETAccount/Package/{id}
Retrieve an instance of the AccountPackage object by its ID.
{id}Unique identifier for the AccountPackage object.
Retrieve an instance of the AccountPackage object by its ID.
GET Account/Package/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 5,
        "accountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "nextBill": "2021-04-26T15:25:27.587Z",
        "name": "Sample Text Data",
        "lastStatusChanged": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "effectiveCancel": "2021-04-26T15:25:27.587Z",
        "packageFrequencyId": 10,
        "packageFrequencyName": "Sample Text Data",
        "createdByUserId": 21,
        "createdByUserName": "Sample Text Data",
        "billDay": 7,
        "updatedByUserId": 6,
        "updatedByUserName": "Sample Text Data",
        "usageBillDay": 7,
        "activation": "2021-04-26T15:25:27.587Z",
        "finalBill": "2021-04-26T15:25:27.587Z",
        "lastBilled": "2021-04-26T15:25:27.587Z",
        "accountSharePlanId": 15,
        "accountSharePlanName": "Sample Text Data",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "accountProductCodeId": 8,
        "accountProductCodeName": "Sample Text Data",
        "packageCategoryId": 23,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "updatedByPortalUserId": 6,
        "updatedByPortalUserName": "Sample Text Data",
        "pendingBillDay": 1,
        "pendingUsageBillDay": 9,
        "billCancelOptionTypeId": 12,
        "billCancelOptionTypeName": "Sample Text Data",
        "waiveEarlyTerminationFee": true,
        "billingActivationTypeId": 11,
        "billingActivationTypeName": "Sample Text Data",
        "quantity": 9,
        "isQuantityAllowed": true,
        "importLastBilled": "2021-04-26T15:25:27.587Z",
        "priceBookId": 16,
        "priceBookName": "Sample Text Data",
        "accountContractId": 15,
        "accountContractName": "Sample Text Data",
        "id": "Sample Text Data"
    }
}
GETAccount/Package/{id}/Detail
Retrieve deep detail of the AccountPackage 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 AccountPackage object.
Retrieve deep detail of the AccountPackage object by its ID.
GET Account/Package/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 23,
        "accountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "nextBill": "2021-04-26T15:25:27.587Z",
        "name": "Sample Text Data",
        "lastStatusChanged": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "effectiveCancel": "2021-04-26T15:25:27.587Z",
        "packageFrequencyId": 5,
        "packageFrequencyName": "Sample Text Data",
        "createdByUserId": 23,
        "createdByUserName": "Sample Text Data",
        "billDay": 7,
        "updatedByUserId": 25,
        "updatedByUserName": "Sample Text Data",
        "usageBillDay": 7,
        "activation": "2021-04-26T15:25:27.587Z",
        "finalBill": "2021-04-26T15:25:27.587Z",
        "lastBilled": "2021-04-26T15:25:27.587Z",
        "accountSharePlanId": 25,
        "accountSharePlanName": "Sample Text Data",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "accountProductCodeId": 14,
        "accountProductCodeName": "Sample Text Data",
        "packageCategoryId": 5,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "updatedByPortalUserId": 8,
        "updatedByPortalUserName": "Sample Text Data",
        "pendingBillDay": 1,
        "pendingUsageBillDay": 15,
        "billCancelOptionTypeId": 26,
        "billCancelOptionTypeName": "Sample Text Data",
        "waiveEarlyTerminationFee": true,
        "billingActivationTypeId": 4,
        "billingActivationTypeName": "Sample Text Data",
        "quantity": 8,
        "isQuantityAllowed": true,
        "importLastBilled": "2021-04-26T15:25:27.587Z",
        "priceBookId": 15,
        "priceBookName": "Sample Text Data",
        "accountContractId": 26,
        "accountContractName": "Sample Text Data",
        "id": "Sample Text Data",
        "details": {
            "accountServices": [
                {
                    "serviceId": 40,
                    "serviceName": "Sample Text Data",
                    "accountId": 35,
                    "accountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "accountPackageName": "Sample Text Data",
                    "name": "Sample Text Data",
                    "amount": 37.75,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "effective": "2021-04-26T15:25:27.587Z",
                    "posted": "2021-04-26T15:25:27.587Z",
                    "createdByUserId": 43,
                    "createdByUserName": "Sample Text Data",
                    "updatedByUserId": 75,
                    "updatedByUserName": "Sample Text Data",
                    "effectiveCancel": "2021-04-26T15:25:27.587Z",
                    "usageNextBill": "2021-04-26T15:25:27.587Z",
                    "usageFinalBill": "2021-04-26T15:25:27.587Z",
                    "finalBill": "2021-04-26T15:25:27.587Z",
                    "lastBilled": "2021-04-26T15:25:27.587Z",
                    "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                    "addOnPackageFrequencyId": 49,
                    "addOnPackageFrequencyName": "Sample Text Data",
                    "billCancelOptionTypeId": 23,
                    "billCancelOptionTypeName": "Sample Text Data",
                    "isTaxInclusive": true,
                    "serviceTaxCategoryId": 73,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "details": {
                        "temporalData": [
                            {
                                "accountServiceName": "Sample Text Data",
                                "serviceStatusTypeId": 29,
                                "serviceStatusTypeName": "Sample Text Data",
                                "udrUsageIdentifier": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "end": "2021-04-26T15:25:27.587Z"
                            }
                        ],
                        "currentRatePlan": {
                            "identity": 90,
                            "name": "Sample Text Data",
                            "displayName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z"
                        },
                        "accountServiceUsageBuckets": [
                            {
                                "identity": 92,
                                "usageBucketId": 72,
                                "usageBucketName": "Sample Text Data",
                                "accountServiceName": "Sample Text Data",
                                "refillFrequency": 37,
                                "refillFrequencyTypeId": 5,
                                "refillFrequencyTypeName": "Sample Text Data",
                                "effective": "2021-04-26T15:25:27.587Z",
                                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                                "prorate": true,
                                "isInfiniteLastTier": true,
                                "isThresholdPerAccountService": true,
                                "usageBucketRefillTypeId": 9,
                                "usageBucketRefillTypeName": "Sample Text Data",
                                "expireAfterFrequency": 15,
                                "expireAfterFrequencyTypeId": 39,
                                "expireAfterFrequencyTypeName": "Sample Text Data",
                                "expireAfterRecurrence": 50,
                                "accountPackageActivation": true,
                                "isSharedAcrossPackage": true,
                                "overageUsageRatePlanId": 1,
                                "overageUsageRatePlanName": "Sample Text Data",
                                "details": {
                                    "tiers": [
                                        {
                                            "identity": 45,
                                            "usageBucketTierId": 75,
                                            "accountServiceUsageBucketId": 66,
                                            "threshold": 27.22,
                                            "flatCharge": 6.6,
                                            "usageUnitId": 39,
                                            "usageUnitName": "Sample Text Data",
                                            "money": 30.36
                                        }
                                    ],
                                    "contributions": [
                                        {
                                            "identity": 97,
                                            "accountSharePlanParticipationId": 57,
                                            "accountServiceUsageBucketId": 50,
                                            "isContributing": true,
                                            "contributingAmount": 46.37,
                                            "contributingUsageUnitId": 93,
                                            "contributingUsageUnitName": "Sample Text Data"
                                        }
                                    ]
                                }
                            }
                        ],
                        "discountTracking": [
                            {
                                "identity": 25,
                                "accountServiceName": "Sample Text Data",
                                "accountPackageServiceDiscountId": 25,
                                "frequency": 60,
                                "frequencyTypeId": 9,
                                "frequencyTypeName": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "lastProcessed": "2021-04-26T15:25:27.587Z",
                                "finalized": "2021-04-26T15:25:27.587Z"
                            }
                        ],
                        "discountPromoCodes": [
                            {
                                "identity": 90,
                                "name": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "generalLedgerId": 31
                            }
                        ]
                    }
                }
            ],
            "currentRatePlan": {
                "identity": 63,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "transitionPrices": [
                {
                    "identity": 59,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 64,
                    "serviceTransitionId": 36,
                    "serviceTransitionName": "Sample Text Data",
                    "amount": 93.84,
                    "chargeServiceId": 13,
                    "chargeServiceName": "Sample Text Data",
                    "penaltyCharge": 61.54
                }
            ],
            "nonRecurringPrices": [
                {
                    "identity": 0,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 92,
                    "pricePlanTierTypeId": 0,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "amount": 10.14,
                    "details": {
                        "tiers": [
                            {
                                "identity": 17,
                                "accountPackageNonRecurringPriceId": 12,
                                "amount": 1.9300000000000002,
                                "threshold": 69
                            }
                        ]
                    }
                }
            ],
            "recurringPrices": [
                {
                    "identity": 49,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 21,
                    "serviceStatusTypeId": 90,
                    "serviceStatusTypeName": "Sample Text Data",
                    "amount": 38.88,
                    "pricePlanTierTypeId": 84,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "details": {
                        "identity": 68,
                        "accountPackageRecurringPriceId": 11,
                        "threshold": 56,
                        "amount": 38.81,
                        "details": {
                            "currentRatePlan": {
                                "identity": 7,
                                "name": "Sample Text Data",
                                "displayName": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z"
                            }
                        }
                    }
                }
            ],
            "serviceDiscounts": [
                {
                    "identity": 96,
                    "accountPackageName": "Sample Text Data",
                    "serviceId": 34,
                    "serviceName": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "packageServiceDiscountId": 57,
                    "generalLedgerId": 84,
                    "generalLedgerName": "Sample Text Data",
                    "discountName": "Sample Text Data",
                    "isProrated": true,
                    "details": {
                        "identity": 59,
                        "accountPackageServiceDiscountId": 45,
                        "accountPackageServiceDiscountName": "Sample Text Data",
                        "serviceStatusTypeId": 94,
                        "serviceStatusTypeName": "Sample Text Data",
                        "discountPromoCodeId": 69,
                        "discountPromoCodeName": "Sample Text Data",
                        "discountId": 14,
                        "details": {
                            "discountAmounts": [
                                {
                                    "identity": 8,
                                    "discountId": 48,
                                    "discountTypeId": 27,
                                    "discountTypeName": "Sample Text Data",
                                    "frequency": 81,
                                    "frequencyTypeId": 8,
                                    "frequencyTypeName": "Sample Text Data",
                                    "amount": 98.38,
                                    "appliedOrder": 17
                                }
                            ]
                        }
                    }
                }
            ],
            "temporalData": [
                {
                    "accountPackageName": "Sample Text Data",
                    "accountPackageStatusTypeId": 96,
                    "accountPackageStatusTypeName": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "end": "2021-04-26T15:25:27.587Z"
                }
            ],
            "latestPackageTerm": {
                "accountPackageName": "Sample Text Data",
                "termId": 61,
                "name": "Sample Text Data",
                "isActive": true,
                "frequency": 52,
                "frequencyTypeId": 43,
                "frequencyTypeName": "Sample Text Data",
                "penaltyServiceId": 64,
                "penaltyServiceName": "Sample Text Data",
                "chargeRemainder": true,
                "termPenaltyAmount": 92.8,
                "contractStart": "2021-04-26T15:25:27.587Z",
                "termRenewalTypeId": 20,
                "renewTermId": 3,
                "renewTermStart": "2021-04-26T15:25:27.587Z",
                "contractEnd": "2021-04-26T15:25:27.587Z"
            },
            "packageTerms": [
                {
                    "accountPackageName": "Sample Text Data",
                    "termId": 19,
                    "termName": "Sample Text Data",
                    "termStart": "2021-04-26T15:25:27.587Z",
                    "termRenewalTypeId": 58,
                    "termRenewalTypeName": "Sample Text Data",
                    "renewTermId": 87,
                    "renewTermName": "Sample Text Data",
                    "renewTermStart": "2021-04-26T15:25:27.587Z",
                    "endDate": "2021-04-26T15:25:27.587Z"
                }
            ]
        }
    }
}
GETAccount/Package/{id}/HasBucketedUsage
Retrieve all of the HasBucketedUsage objects for the specified AccountPackage.
{id}Unique identifier for the AccountPackage object.
Retrieve all of the HasBucketedUsage objects for the specified AccountPackage.
GET Account/Package/{id}/HasBucketedUsage
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 22,
        "accountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "nextBill": "2021-04-26T15:25:27.587Z",
        "name": "Sample Text Data",
        "lastStatusChanged": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "effectiveCancel": "2021-04-26T15:25:27.587Z",
        "packageFrequencyId": 8,
        "packageFrequencyName": "Sample Text Data",
        "createdByUserId": 8,
        "createdByUserName": "Sample Text Data",
        "billDay": 7,
        "updatedByUserId": 7,
        "updatedByUserName": "Sample Text Data",
        "usageBillDay": 7,
        "activation": "2021-04-26T15:25:27.587Z",
        "finalBill": "2021-04-26T15:25:27.587Z",
        "lastBilled": "2021-04-26T15:25:27.587Z",
        "accountSharePlanId": 23,
        "accountSharePlanName": "Sample Text Data",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "accountProductCodeId": 25,
        "accountProductCodeName": "Sample Text Data",
        "packageCategoryId": 2,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "updatedByPortalUserId": 22,
        "updatedByPortalUserName": "Sample Text Data",
        "pendingBillDay": 25,
        "pendingUsageBillDay": 4,
        "billCancelOptionTypeId": 17,
        "billCancelOptionTypeName": "Sample Text Data",
        "waiveEarlyTerminationFee": true,
        "billingActivationTypeId": 1,
        "billingActivationTypeName": "Sample Text Data",
        "quantity": 18,
        "isQuantityAllowed": true,
        "importLastBilled": "2021-04-26T15:25:27.587Z",
        "priceBookId": 9,
        "priceBookName": "Sample Text Data",
        "accountContractId": 23,
        "accountContractName": "Sample Text Data",
        "id": "Sample Text Data"
    }
}
PATCHAccount/Package/{id}
Update or Add the AccountPackage 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 AccountPackage object.
Update or Add the AccountPackage object and optionally make changes to any child objects.
PATCH Account/Package/{id}

{
    "details": {},
    "accountPackages": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "accountId": 10,
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 1,
                "billDay": 7,
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 27,
                "accountProductCodeId": 10,
                "packageCategoryId": 5,
                "pendingBillDay": 26,
                "pendingUsageBillDay": 18,
                "billCancelOptionTypeId": 22,
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 25,
                "quantity": 11,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 21,
                "accountContractId": 10,
                "id": "Sample Text Data"
            }
        ]
    }
}
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": "accountPackage",
                "instance": {
                    "identity": 1,
                    "accountId": 26,
                    "accountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "nextBill": "2021-04-26T15:25:27.587Z",
                    "name": "Sample Text Data",
                    "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                    "effective": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "effectiveCancel": "2021-04-26T15:25:27.587Z",
                    "packageFrequencyId": 15,
                    "packageFrequencyName": "Sample Text Data",
                    "createdByUserId": 6,
                    "createdByUserName": "Sample Text Data",
                    "billDay": 7,
                    "updatedByUserId": 1,
                    "updatedByUserName": "Sample Text Data",
                    "usageBillDay": 7,
                    "activation": "2021-04-26T15:25:27.587Z",
                    "finalBill": "2021-04-26T15:25:27.587Z",
                    "lastBilled": "2021-04-26T15:25:27.587Z",
                    "accountSharePlanId": 26,
                    "accountSharePlanName": "Sample Text Data",
                    "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                    "accountProductCodeId": 7,
                    "accountProductCodeName": "Sample Text Data",
                    "packageCategoryId": 27,
                    "packageCategoryName": "Sample Text Data",
                    "chargeRecurringIfUsage": true,
                    "updatedByPortalUserId": 5,
                    "updatedByPortalUserName": "Sample Text Data",
                    "pendingBillDay": 8,
                    "pendingUsageBillDay": 10,
                    "billCancelOptionTypeId": 19,
                    "billCancelOptionTypeName": "Sample Text Data",
                    "waiveEarlyTerminationFee": true,
                    "billingActivationTypeId": 19,
                    "billingActivationTypeName": "Sample Text Data",
                    "quantity": 7,
                    "isQuantityAllowed": true,
                    "importLastBilled": "2021-04-26T15:25:27.587Z",
                    "priceBookId": 9,
                    "priceBookName": "Sample Text Data",
                    "accountContractId": 4,
                    "accountContractName": "Sample Text Data",
                    "id": "Sample Text Data"
                }
            }
        ]
    }
}
POSTAccount/Package/
Create a new instance of the AccountPackage object.
Create a new instance of the AccountPackage object.
POST Account/Package/

{
    "accountId": 26,
    "name": "Sample Text Data",
    "lastStatusChanged": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "updated": "2021-04-26T15:25:27.587Z",
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "packageFrequencyId": 11,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 19,
    "accountProductCodeId": 18,
    "packageCategoryId": 25,
    "pendingBillDay": 3,
    "pendingUsageBillDay": 8,
    "billCancelOptionTypeId": 19,
    "waiveEarlyTerminationFee": true,
    "billingActivationTypeId": 17,
    "quantity": 17,
    "isQuantityAllowed": true,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 6,
    "accountContractId": 6,
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 14,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 16,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 9,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 14,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 24,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 11,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 7,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 16,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 13,
                "pendingUsageBillDay": 14,
                "billCancelOptionTypeId": 0,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 6,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 24,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 15,
                "priceBookName": "Sample Text Data",
                "accountContractId": 21,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}
POSTAccount/Package/FromCatalog
Adds an AccountPackage to the Account and inherits all of the Package properties from the product catalog.
POSTAccount/Package/{id}/CancelSetting
Create a new instance of a CancelSetting object that belongs to the AccountPackage.
{id}Unique identifier for the AccountPackage object.
Create a new instance of a CancelSetting object that belongs to the AccountPackage.
POST Account/Package/{id}/CancelSetting

{
    "accountId": 16,
    "name": "Sample Text Data",
    "lastStatusChanged": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "updated": "2021-04-26T15:25:27.587Z",
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "packageFrequencyId": 24,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 7,
    "accountProductCodeId": 26,
    "packageCategoryId": 15,
    "pendingBillDay": 0,
    "pendingUsageBillDay": 27,
    "billCancelOptionTypeId": 6,
    "waiveEarlyTerminationFee": true,
    "billingActivationTypeId": 22,
    "quantity": 12,
    "isQuantityAllowed": true,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 18,
    "accountContractId": 19,
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 17,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 14,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 19,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 14,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 14,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 17,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 16,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 4,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 26,
                "pendingUsageBillDay": 23,
                "billCancelOptionTypeId": 18,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 3,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 15,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 9,
                "priceBookName": "Sample Text Data",
                "accountContractId": 25,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}
PUTAccount/Package/{id}
Update an existing instance of the AccountPackage object.
Update an existing instance of the AccountPackage object.
PUT Account/Package/{id}

{
    "identity": 1,
    "accountId": 19,
    "name": "Sample Text Data",
    "lastStatusChanged": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "updated": "2021-04-26T15:25:27.587Z",
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "packageFrequencyId": 16,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 24,
    "accountProductCodeId": 12,
    "packageCategoryId": 18,
    "pendingBillDay": 6,
    "pendingUsageBillDay": 22,
    "billCancelOptionTypeId": 6,
    "waiveEarlyTerminationFee": true,
    "billingActivationTypeId": 17,
    "quantity": 19,
    "isQuantityAllowed": true,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 5,
    "accountContractId": 23,
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 25,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 9,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 25,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 20,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 15,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 16,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 25,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 8,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 27,
                "pendingUsageBillDay": 26,
                "billCancelOptionTypeId": 8,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 4,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 19,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 27,
                "priceBookName": "Sample Text Data",
                "accountContractId": 24,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}
PUTAccount/Package/{id}/CancelSetting
Update an existing instance of a CancelSetting object that belongs to the AccountPackage.
{id}Unique identifier for the AccountPackage object.
Update an existing instance of a CancelSetting object that belongs to the AccountPackage.
PUT Account/Package/{id}/CancelSetting

{
    "identity": 1,
    "accountId": 2,
    "name": "Sample Text Data",
    "lastStatusChanged": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "updated": "2021-04-26T15:25:27.587Z",
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "packageFrequencyId": 18,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 24,
    "accountProductCodeId": 19,
    "packageCategoryId": 0,
    "pendingBillDay": 3,
    "pendingUsageBillDay": 17,
    "billCancelOptionTypeId": 10,
    "waiveEarlyTerminationFee": true,
    "billingActivationTypeId": 10,
    "quantity": 8,
    "isQuantityAllowed": true,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 16,
    "accountContractId": 22,
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 24,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "nextBill": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "lastStatusChanged": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "packageFrequencyId": 3,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 9,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 9,
                "updatedByUserName": "Sample Text Data",
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 14,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 0,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 25,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 8,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": 17,
                "pendingUsageBillDay": 6,
                "billCancelOptionTypeId": 7,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": true,
                "billingActivationTypeId": 11,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": 11,
                "isQuantityAllowed": true,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 17,
                "priceBookName": "Sample Text Data",
                "accountContractId": 5,
                "accountContractName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}