TAG LINE
TAG LINE
SMALL TITLE

Account / Package

(API Version v9)


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": 6
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
READ-ONLY
"updated": "2021-04-26T15:25:27.587Z"
Type: Date
The date time stamp when this record was updated. Date and time values are specified in the ISO 8601 format.
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": 25
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": 6
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": 15
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": 13
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": 14
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": 3
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": 17
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": 15
Type: Number
Details an upcoming change to the existing billDay i.e. the day of the month that this account's subscriptions and one time charges will be billed.
pendingUsageBillDay
"pendingUsageBillDay": 15
Type: Number
Details an upcoming change to the existing usageBillDay i.e. the day of the month that this account's metered usage is billed.
billCancelOptionTypeId
"billCancelOptionTypeId": 22
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": false
Type: Boolean
Details whether early termination fees should be waived or not for the package if terminated.
billingActivationTypeId
"billingActivationTypeId": 3
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": 1
Type: Number
Details the number of instances of the object.
isQuantityAllowed
"isQuantityAllowed": false
Type: Boolean
Details whether multiple instances of the object are allowed.
importLastBilled
"importLastBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date the account package was imported.

Date and time values are specified in the ISO 8601 format.
priceBookId
"priceBookId": 23
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": 7
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.
taxAddressId
"taxAddressId": 8
Type: Number
Unique identifier for the associated TaxAddress object.
taxAddressName
"taxAddressName": "Sample Name"
Type: String
The name of the object associated with the taxAddressId 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 related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the 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 related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the 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": 20,
            "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": 2,
            "packageFrequencyName": "Sample Text Data",
            "createdByUserId": 2,
            "createdByUserName": "Sample Text Data",
            "billDay": 7,
            "updatedByUserId": 4,
            "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": 17,
            "accountSharePlanName": "Sample Text Data",
            "lastUsageBilled": "2021-04-26T15:25:27.587Z",
            "accountProductCodeId": 13,
            "accountProductCodeName": "Sample Text Data",
            "packageCategoryId": 6,
            "packageCategoryName": "Sample Text Data",
            "chargeRecurringIfUsage": true,
            "updatedByPortalUserId": 24,
            "updatedByPortalUserName": "Sample Text Data",
            "pendingBillDay": "15",
            "pendingUsageBillDay": "15",
            "billCancelOptionTypeId": 22,
            "billCancelOptionTypeName": "Sample Text Data",
            "waiveEarlyTerminationFee": false,
            "billingActivationTypeId": 24,
            "billingActivationTypeName": "Sample Text Data",
            "quantity": "1",
            "isQuantityAllowed": false,
            "importLastBilled": "2021-04-26T15:25:27.587Z",
            "priceBookId": 12,
            "priceBookName": "Sample Text Data",
            "accountContractId": 16,
            "accountContractName": "Sample Text Data",
            "taxAddressId": 26,
            "taxAddressName": "Sample Text Data",
            "id": "Sample Text Data"
        }
    ]
}
GETAccount/Package/ByExtension
Retrieve all of the AccountPackage objects.
Retrieve all of the AccountPackage objects.
GET Account/Package/ByExtension
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 6,
            "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": 24,
            "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": 6,
            "accountProductCodeName": "Sample Text Data",
            "packageCategoryId": 4,
            "packageCategoryName": "Sample Text Data",
            "chargeRecurringIfUsage": true,
            "updatedByPortalUserId": 8,
            "updatedByPortalUserName": "Sample Text Data",
            "pendingBillDay": "15",
            "pendingUsageBillDay": "15",
            "billCancelOptionTypeId": 7,
            "billCancelOptionTypeName": "Sample Text Data",
            "waiveEarlyTerminationFee": false,
            "billingActivationTypeId": 23,
            "billingActivationTypeName": "Sample Text Data",
            "quantity": "1",
            "isQuantityAllowed": false,
            "importLastBilled": "2021-04-26T15:25:27.587Z",
            "priceBookId": 8,
            "priceBookName": "Sample Text Data",
            "accountContractId": 3,
            "accountContractName": "Sample Text Data",
            "taxAddressId": 26,
            "taxAddressName": "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": 0,
                "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": 23,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 16,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 18,
                "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": 4,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 12,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 11,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 20,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 2,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 19,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 14,
                "priceBookName": "Sample Text Data",
                "accountContractId": 0,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 15,
                "taxAddressName": "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": 0,
                "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": 19,
                "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": 22,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 18,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 15,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 18,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 8,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 10,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 5,
                "priceBookName": "Sample Text Data",
                "accountContractId": 9,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 0,
                "taxAddressName": "Sample Text Data",
                "id": "Sample Text Data",
                "details": {
                    "accountServices": [
                        {
                            "serviceId": 0,
                            "serviceName": "Sample Text Data",
                            "accountId": 69,
                            "accountName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "accountPackageName": "Sample Text Data",
                            "name": "Sample Text Data",
                            "amount": 70.48,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "effective": "2021-04-26T15:25:27.587Z",
                            "posted": "2021-04-26T15:25:27.587Z",
                            "createdByUserId": 47,
                            "createdByUserName": "Sample Text Data",
                            "updatedByUserId": 88,
                            "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": 14,
                            "addOnPackageFrequencyName": "Sample Text Data",
                            "billCancelOptionTypeId": 13,
                            "billCancelOptionTypeName": "Sample Text Data",
                            "isTaxInclusive": true,
                            "serviceTaxCategoryId": 22,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "details": {
                                "temporalData": [
                                    {
                                        "accountServiceName": "Sample Text Data",
                                        "serviceStatusTypeId": 98,
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "udrUsageIdentifier": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "end": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z"
                                    }
                                ],
                                "accountServiceUsageBuckets": [
                                    {
                                        "identity": 48,
                                        "usageBucketId": 87,
                                        "usageBucketName": "Sample Text Data",
                                        "accountServiceName": "Sample Text Data",
                                        "refillFrequency": 17,
                                        "refillFrequencyTypeId": 46,
                                        "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": 28,
                                        "usageBucketRefillTypeName": "Sample Text Data",
                                        "expireAfterFrequency": 49,
                                        "expireAfterFrequencyTypeId": 44,
                                        "expireAfterFrequencyTypeName": "Sample Text Data",
                                        "expireAfterRecurrence": 27,
                                        "accountPackageActivation": true,
                                        "isSharedAcrossPackage": true,
                                        "overageUsageRatePlanId": 87,
                                        "overageUsageRatePlanName": "Sample Text Data",
                                        "details": {
                                            "tiers": [
                                                {
                                                    "identity": 43,
                                                    "usageBucketTierId": 40,
                                                    "accountServiceUsageBucketId": 6,
                                                    "threshold": 65.12,
                                                    "flatCharge": 79.65,
                                                    "usageUnitId": 85,
                                                    "usageUnitName": "Sample Text Data",
                                                    "money": 32.2
                                                }
                                            ],
                                            "contributions": [
                                                {
                                                    "identity": 84,
                                                    "accountSharePlanParticipationId": 56,
                                                    "accountServiceUsageBucketId": 98,
                                                    "isContributing": true,
                                                    "contributingAmount": 39.25,
                                                    "contributingUsageUnitId": 58,
                                                    "contributingUsageUnitName": "Sample Text Data"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "discountTracking": [
                                    {
                                        "identity": 87,
                                        "accountServiceName": "Sample Text Data",
                                        "accountPackageServiceDiscountId": 65,
                                        "frequency": 79,
                                        "frequencyTypeId": 93,
                                        "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": 64,
                                        "name": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "generalLedgerId": 81,
                                        "isFreeTrial": true,
                                        "isNegativeAllowed": true
                                    }
                                ]
                            }
                        }
                    ],
                    "currentRatePlan": {
                        "identity": 4,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "updated": "2021-04-26T15:25:27.587Z",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "transitionPrices": [
                        {
                            "identity": 94,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 88,
                            "serviceTransitionId": 69,
                            "serviceTransitionName": "Sample Text Data",
                            "amount": 57.63,
                            "chargeServiceId": 48,
                            "chargeServiceName": "Sample Text Data",
                            "penaltyCharge": 61.9,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "nonRecurringPrices": [
                        {
                            "identity": 20,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 72,
                            "pricePlanTierTypeId": 94,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "amount": 62.41,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 57,
                                        "accountPackageNonRecurringPriceId": 45,
                                        "amount": 38.55,
                                        "threshold": 32,
                                        "created": "2021-04-26T15:25:27.587Z",
                                        "updated": "2021-04-26T15:25:27.587Z"
                                    }
                                ]
                            }
                        }
                    ],
                    "recurringPrices": [
                        {
                            "identity": 54,
                            "accountPackageName": "Sample Text Data",
                            "packageServicePricePlanId": 89,
                            "serviceStatusTypeId": 73,
                            "serviceStatusTypeName": "Sample Text Data",
                            "amount": 88.79,
                            "pricePlanTierTypeId": 37,
                            "pricePlanTierTypeName": "Sample Text Data",
                            "details": {
                                "identity": 44,
                                "accountPackageRecurringPriceId": 55,
                                "threshold": 64,
                                "amount": 85.25,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            },
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "serviceDiscounts": [
                        {
                            "identity": 94,
                            "accountPackageName": "Sample Text Data",
                            "serviceId": 74,
                            "serviceName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "packageServiceDiscountId": 65,
                            "generalLedgerId": 31,
                            "generalLedgerName": "Sample Text Data",
                            "discountName": "Sample Text Data",
                            "isProrated": true,
                            "isFreeTrial": true,
                            "isNegativeAllowed": true,
                            "details": {
                                "identity": 37,
                                "accountPackageServiceDiscountId": 46,
                                "accountPackageServiceDiscountName": "Sample Text Data",
                                "serviceStatusTypeId": 71,
                                "serviceStatusTypeName": "Sample Text Data",
                                "discountPromoCodeId": 70,
                                "discountPromoCodeName": "Sample Text Data",
                                "discountId": 82,
                                "details": {
                                    "discountAmounts": [
                                        {
                                            "identity": 34,
                                            "discountId": 17,
                                            "discountTypeId": 13,
                                            "discountTypeName": "Sample Text Data",
                                            "frequency": 61,
                                            "frequencyTypeId": 12,
                                            "frequencyTypeName": "Sample Text Data",
                                            "amount": 43.6,
                                            "appliedOrder": 47
                                        }
                                    ]
                                }
                            }
                        }
                    ],
                    "temporalData": [
                        {
                            "accountPackageName": "Sample Text Data",
                            "accountPackageStatusTypeId": 63,
                            "accountPackageStatusTypeName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "end": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "latestPackageTerm": {
                        "accountPackageName": "Sample Text Data",
                        "termId": 24,
                        "name": "Sample Text Data",
                        "isActive": true,
                        "frequency": 65,
                        "frequencyTypeId": 15,
                        "frequencyTypeName": "Sample Text Data",
                        "penaltyServiceId": 25,
                        "penaltyServiceName": "Sample Text Data",
                        "chargeRemainder": true,
                        "termPenaltyAmount": 63.35,
                        "contractStart": "2021-04-26T15:25:27.587Z",
                        "termRenewalTypeId": 89,
                        "renewTermId": 31,
                        "renewTermStart": "2021-04-26T15:25:27.587Z",
                        "contractEnd": "2021-04-26T15:25:27.587Z"
                    },
                    "packageTerms": [
                        {
                            "accountPackageName": "Sample Text Data",
                            "termId": 11,
                            "termName": "Sample Text Data",
                            "termStart": "2021-04-26T15:25:27.587Z",
                            "termRenewalTypeId": 62,
                            "termRenewalTypeName": "Sample Text Data",
                            "renewTermId": 97,
                            "renewTermName": "Sample Text Data",
                            "renewTermStart": "2021-04-26T15:25:27.587Z",
                            "endDate": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "taxAddress": {
                        "identity": 34,
                        "name": "Sample Text Data",
                        "isShared": true,
                        "accountId": 78,
                        "accountName": "Sample Text Data",
                        "addressId": 15,
                        "created": "2021-04-26T15:25:27.587Z",
                        "updated": "2021-04-26T15:25:27.587Z",
                        "saveTaxAddressOnInvoicer": true,
                        "address1": "Sample Text Data",
                        "address2": "Sample Text Data",
                        "stateId": 27,
                        "stateName": "Sample Text Data",
                        "stateCode": "Sample Text Data",
                        "countryId": 18,
                        "countryName": "Sample Text Data",
                        "countryCode": "Sample Text Data",
                        "zipCode": "Sample Text Data",
                        "cityName": "Sample Text Data",
                        "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                        "isIncorporated": true,
                        "fetchTaxJurisdicationAsync": true
                    }
                }
            }
        ]
    }
}
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": 27,
        "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": 27,
        "packageFrequencyName": "Sample Text Data",
        "createdByUserId": 20,
        "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": 10,
        "accountSharePlanName": "Sample Text Data",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "accountProductCodeId": 5,
        "accountProductCodeName": "Sample Text Data",
        "packageCategoryId": 7,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "updatedByPortalUserId": 1,
        "updatedByPortalUserName": "Sample Text Data",
        "pendingBillDay": "15",
        "pendingUsageBillDay": "15",
        "billCancelOptionTypeId": 12,
        "billCancelOptionTypeName": "Sample Text Data",
        "waiveEarlyTerminationFee": false,
        "billingActivationTypeId": 18,
        "billingActivationTypeName": "Sample Text Data",
        "quantity": "1",
        "isQuantityAllowed": false,
        "importLastBilled": "2021-04-26T15:25:27.587Z",
        "priceBookId": 10,
        "priceBookName": "Sample Text Data",
        "accountContractId": 8,
        "accountContractName": "Sample Text Data",
        "taxAddressId": 1,
        "taxAddressName": "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": 8,
        "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": 24,
        "packageFrequencyName": "Sample Text Data",
        "createdByUserId": 5,
        "createdByUserName": "Sample Text Data",
        "billDay": 7,
        "updatedByUserId": 27,
        "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": 16,
        "accountSharePlanName": "Sample Text Data",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "accountProductCodeId": 0,
        "accountProductCodeName": "Sample Text Data",
        "packageCategoryId": 3,
        "packageCategoryName": "Sample Text Data",
        "chargeRecurringIfUsage": true,
        "updatedByPortalUserId": 21,
        "updatedByPortalUserName": "Sample Text Data",
        "pendingBillDay": "15",
        "pendingUsageBillDay": "15",
        "billCancelOptionTypeId": 1,
        "billCancelOptionTypeName": "Sample Text Data",
        "waiveEarlyTerminationFee": false,
        "billingActivationTypeId": 17,
        "billingActivationTypeName": "Sample Text Data",
        "quantity": "1",
        "isQuantityAllowed": false,
        "importLastBilled": "2021-04-26T15:25:27.587Z",
        "priceBookId": 17,
        "priceBookName": "Sample Text Data",
        "accountContractId": 23,
        "accountContractName": "Sample Text Data",
        "taxAddressId": 20,
        "taxAddressName": "Sample Text Data",
        "id": "Sample Text Data",
        "details": {
            "accountServices": [
                {
                    "serviceId": 0,
                    "serviceName": "Sample Text Data",
                    "accountId": 69,
                    "accountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "accountPackageName": "Sample Text Data",
                    "name": "Sample Text Data",
                    "amount": 70.48,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "effective": "2021-04-26T15:25:27.587Z",
                    "posted": "2021-04-26T15:25:27.587Z",
                    "createdByUserId": 47,
                    "createdByUserName": "Sample Text Data",
                    "updatedByUserId": 88,
                    "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": 14,
                    "addOnPackageFrequencyName": "Sample Text Data",
                    "billCancelOptionTypeId": 13,
                    "billCancelOptionTypeName": "Sample Text Data",
                    "isTaxInclusive": true,
                    "serviceTaxCategoryId": 22,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "details": {
                        "temporalData": [
                            {
                                "accountServiceName": "Sample Text Data",
                                "serviceStatusTypeId": 98,
                                "serviceStatusTypeName": "Sample Text Data",
                                "udrUsageIdentifier": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "end": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        ],
                        "accountServiceUsageBuckets": [
                            {
                                "identity": 48,
                                "usageBucketId": 87,
                                "usageBucketName": "Sample Text Data",
                                "accountServiceName": "Sample Text Data",
                                "refillFrequency": 17,
                                "refillFrequencyTypeId": 46,
                                "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": 28,
                                "usageBucketRefillTypeName": "Sample Text Data",
                                "expireAfterFrequency": 49,
                                "expireAfterFrequencyTypeId": 44,
                                "expireAfterFrequencyTypeName": "Sample Text Data",
                                "expireAfterRecurrence": 27,
                                "accountPackageActivation": true,
                                "isSharedAcrossPackage": true,
                                "overageUsageRatePlanId": 87,
                                "overageUsageRatePlanName": "Sample Text Data",
                                "details": {
                                    "tiers": [
                                        {
                                            "identity": 43,
                                            "usageBucketTierId": 40,
                                            "accountServiceUsageBucketId": 6,
                                            "threshold": 65.12,
                                            "flatCharge": 79.65,
                                            "usageUnitId": 85,
                                            "usageUnitName": "Sample Text Data",
                                            "money": 32.2
                                        }
                                    ],
                                    "contributions": [
                                        {
                                            "identity": 84,
                                            "accountSharePlanParticipationId": 56,
                                            "accountServiceUsageBucketId": 98,
                                            "isContributing": true,
                                            "contributingAmount": 39.25,
                                            "contributingUsageUnitId": 58,
                                            "contributingUsageUnitName": "Sample Text Data"
                                        }
                                    ]
                                }
                            }
                        ],
                        "discountTracking": [
                            {
                                "identity": 87,
                                "accountServiceName": "Sample Text Data",
                                "accountPackageServiceDiscountId": 65,
                                "frequency": 79,
                                "frequencyTypeId": 93,
                                "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": 64,
                                "name": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "generalLedgerId": 81,
                                "isFreeTrial": true,
                                "isNegativeAllowed": true
                            }
                        ]
                    }
                }
            ],
            "currentRatePlan": {
                "identity": 4,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "transitionPrices": [
                {
                    "identity": 94,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 88,
                    "serviceTransitionId": 69,
                    "serviceTransitionName": "Sample Text Data",
                    "amount": 57.63,
                    "chargeServiceId": 48,
                    "chargeServiceName": "Sample Text Data",
                    "penaltyCharge": 61.9,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "nonRecurringPrices": [
                {
                    "identity": 20,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 72,
                    "pricePlanTierTypeId": 94,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "amount": 62.41,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "details": {
                        "tiers": [
                            {
                                "identity": 57,
                                "accountPackageNonRecurringPriceId": 45,
                                "amount": 38.55,
                                "threshold": 32,
                                "created": "2021-04-26T15:25:27.587Z",
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        ]
                    }
                }
            ],
            "recurringPrices": [
                {
                    "identity": 54,
                    "accountPackageName": "Sample Text Data",
                    "packageServicePricePlanId": 89,
                    "serviceStatusTypeId": 73,
                    "serviceStatusTypeName": "Sample Text Data",
                    "amount": 88.79,
                    "pricePlanTierTypeId": 37,
                    "pricePlanTierTypeName": "Sample Text Data",
                    "details": {
                        "identity": 44,
                        "accountPackageRecurringPriceId": 55,
                        "threshold": 64,
                        "amount": 85.25,
                        "created": "2021-04-26T15:25:27.587Z",
                        "updated": "2021-04-26T15:25:27.587Z"
                    },
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "serviceDiscounts": [
                {
                    "identity": 94,
                    "accountPackageName": "Sample Text Data",
                    "serviceId": 74,
                    "serviceName": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "packageServiceDiscountId": 65,
                    "generalLedgerId": 31,
                    "generalLedgerName": "Sample Text Data",
                    "discountName": "Sample Text Data",
                    "isProrated": true,
                    "isFreeTrial": true,
                    "isNegativeAllowed": true,
                    "details": {
                        "identity": 37,
                        "accountPackageServiceDiscountId": 46,
                        "accountPackageServiceDiscountName": "Sample Text Data",
                        "serviceStatusTypeId": 71,
                        "serviceStatusTypeName": "Sample Text Data",
                        "discountPromoCodeId": 70,
                        "discountPromoCodeName": "Sample Text Data",
                        "discountId": 82,
                        "details": {
                            "discountAmounts": [
                                {
                                    "identity": 34,
                                    "discountId": 17,
                                    "discountTypeId": 13,
                                    "discountTypeName": "Sample Text Data",
                                    "frequency": 61,
                                    "frequencyTypeId": 12,
                                    "frequencyTypeName": "Sample Text Data",
                                    "amount": 43.6,
                                    "appliedOrder": 47
                                }
                            ]
                        }
                    }
                }
            ],
            "temporalData": [
                {
                    "accountPackageName": "Sample Text Data",
                    "accountPackageStatusTypeId": 63,
                    "accountPackageStatusTypeName": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "end": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "latestPackageTerm": {
                "accountPackageName": "Sample Text Data",
                "termId": 24,
                "name": "Sample Text Data",
                "isActive": true,
                "frequency": 65,
                "frequencyTypeId": 15,
                "frequencyTypeName": "Sample Text Data",
                "penaltyServiceId": 25,
                "penaltyServiceName": "Sample Text Data",
                "chargeRemainder": true,
                "termPenaltyAmount": 63.35,
                "contractStart": "2021-04-26T15:25:27.587Z",
                "termRenewalTypeId": 89,
                "renewTermId": 31,
                "renewTermStart": "2021-04-26T15:25:27.587Z",
                "contractEnd": "2021-04-26T15:25:27.587Z"
            },
            "packageTerms": [
                {
                    "accountPackageName": "Sample Text Data",
                    "termId": 11,
                    "termName": "Sample Text Data",
                    "termStart": "2021-04-26T15:25:27.587Z",
                    "termRenewalTypeId": 62,
                    "termRenewalTypeName": "Sample Text Data",
                    "renewTermId": 97,
                    "renewTermName": "Sample Text Data",
                    "renewTermStart": "2021-04-26T15:25:27.587Z",
                    "endDate": "2021-04-26T15:25:27.587Z"
                }
            ],
            "taxAddress": {
                "identity": 34,
                "name": "Sample Text Data",
                "isShared": true,
                "accountId": 78,
                "accountName": "Sample Text Data",
                "addressId": 15,
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "saveTaxAddressOnInvoicer": true,
                "address1": "Sample Text Data",
                "address2": "Sample Text Data",
                "stateId": 27,
                "stateName": "Sample Text Data",
                "stateCode": "Sample Text Data",
                "countryId": 18,
                "countryName": "Sample Text Data",
                "countryCode": "Sample Text Data",
                "zipCode": "Sample Text Data",
                "cityName": "Sample Text Data",
                "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                "isIncorporated": true,
                "fetchTaxJurisdicationAsync": true
            }
        }
    }
}
GETAccount/Package/{id}/HasBucketedUsage
Returns a boolean value depending on whether an account package has Usage Buckets.
{id}Unique identifier for the AccountPackage object.
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": 6,
                "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,
                "billDay": 7,
                "usageBillDay": 7,
                "activation": "2021-04-26T15:25:27.587Z",
                "accountSharePlanId": 16,
                "accountProductCodeId": 3,
                "packageCategoryId": 6,
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 2,
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 10,
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 10,
                "accountContractId": 22,
                "taxAddressId": 26,
                "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": 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": 25,
                    "packageFrequencyName": "Sample Text Data",
                    "createdByUserId": 12,
                    "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": 17,
                    "accountSharePlanName": "Sample Text Data",
                    "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                    "accountProductCodeId": 5,
                    "accountProductCodeName": "Sample Text Data",
                    "packageCategoryId": 1,
                    "packageCategoryName": "Sample Text Data",
                    "chargeRecurringIfUsage": true,
                    "updatedByPortalUserId": 24,
                    "updatedByPortalUserName": "Sample Text Data",
                    "pendingBillDay": "15",
                    "pendingUsageBillDay": "15",
                    "billCancelOptionTypeId": 11,
                    "billCancelOptionTypeName": "Sample Text Data",
                    "waiveEarlyTerminationFee": false,
                    "billingActivationTypeId": 25,
                    "billingActivationTypeName": "Sample Text Data",
                    "quantity": "1",
                    "isQuantityAllowed": false,
                    "importLastBilled": "2021-04-26T15:25:27.587Z",
                    "priceBookId": 18,
                    "priceBookName": "Sample Text Data",
                    "accountContractId": 19,
                    "accountContractName": "Sample Text Data",
                    "taxAddressId": 26,
                    "taxAddressName": "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": 9,
    "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": 0,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 3,
    "accountProductCodeId": 24,
    "packageCategoryId": 27,
    "pendingBillDay": "15",
    "pendingUsageBillDay": "15",
    "billCancelOptionTypeId": 12,
    "waiveEarlyTerminationFee": false,
    "billingActivationTypeId": 26,
    "quantity": "1",
    "isQuantityAllowed": false,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 11,
    "accountContractId": 23,
    "taxAddressId": 9,
    "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": 0,
                "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": 0,
                "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": 25,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 17,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 22,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 24,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 1,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 15,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 1,
                "priceBookName": "Sample Text Data",
                "accountContractId": 21,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 2,
                "taxAddressName": "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": 18,
    "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,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 14,
    "accountProductCodeId": 21,
    "packageCategoryId": 21,
    "pendingBillDay": "15",
    "pendingUsageBillDay": "15",
    "billCancelOptionTypeId": 0,
    "waiveEarlyTerminationFee": false,
    "billingActivationTypeId": 26,
    "quantity": "1",
    "isQuantityAllowed": false,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 7,
    "accountContractId": 22,
    "taxAddressId": 13,
    "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": 27,
                "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": 2,
                "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": 10,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 24,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 16,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 25,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 21,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 7,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 19,
                "priceBookName": "Sample Text Data",
                "accountContractId": 16,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 15,
                "taxAddressName": "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": 1,
    "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,
    "billDay": 7,
    "usageBillDay": 7,
    "activation": "2021-04-26T15:25:27.587Z",
    "accountSharePlanId": 16,
    "accountProductCodeId": 27,
    "packageCategoryId": 27,
    "pendingBillDay": "15",
    "pendingUsageBillDay": "15",
    "billCancelOptionTypeId": 26,
    "waiveEarlyTerminationFee": false,
    "billingActivationTypeId": 19,
    "quantity": "1",
    "isQuantityAllowed": false,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 1,
    "accountContractId": 2,
    "taxAddressId": 27,
    "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": 23,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 22,
                "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": 10,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 21,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 13,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 2,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 17,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 3,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 18,
                "priceBookName": "Sample Text Data",
                "accountContractId": 9,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 2,
                "taxAddressName": "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": 27,
    "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": 11,
    "accountProductCodeId": 2,
    "packageCategoryId": 3,
    "pendingBillDay": "15",
    "pendingUsageBillDay": "15",
    "billCancelOptionTypeId": 17,
    "waiveEarlyTerminationFee": false,
    "billingActivationTypeId": 18,
    "quantity": "1",
    "isQuantityAllowed": false,
    "importLastBilled": "2021-04-26T15:25:27.587Z",
    "priceBookId": 26,
    "accountContractId": 12,
    "taxAddressId": 16,
    "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": 10,
                "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": 6,
                "packageFrequencyName": "Sample Text Data",
                "createdByUserId": 17,
                "createdByUserName": "Sample Text Data",
                "billDay": 7,
                "updatedByUserId": 27,
                "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": 27,
                "accountSharePlanName": "Sample Text Data",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "accountProductCodeId": 7,
                "accountProductCodeName": "Sample Text Data",
                "packageCategoryId": 13,
                "packageCategoryName": "Sample Text Data",
                "chargeRecurringIfUsage": true,
                "updatedByPortalUserId": 26,
                "updatedByPortalUserName": "Sample Text Data",
                "pendingBillDay": "15",
                "pendingUsageBillDay": "15",
                "billCancelOptionTypeId": 22,
                "billCancelOptionTypeName": "Sample Text Data",
                "waiveEarlyTerminationFee": false,
                "billingActivationTypeId": 2,
                "billingActivationTypeName": "Sample Text Data",
                "quantity": "1",
                "isQuantityAllowed": false,
                "importLastBilled": "2021-04-26T15:25:27.587Z",
                "priceBookId": 8,
                "priceBookName": "Sample Text Data",
                "accountContractId": 27,
                "accountContractName": "Sample Text Data",
                "taxAddressId": 8,
                "taxAddressName": "Sample Text Data",
                "id": "Sample Text Data"
            }
        ]
    }
}