TAG LINE
TAG LINE
SMALL TITLE

Usage / Bucket / Share Plan

(API Version v10)


System defined list of levels of sharing that can occur. Such as account level or invoice recipient level.


What can you do with UsageBucketSharePlan?


Properties

Property Details
identity
READ-ONLY
"identity": 22
Type: Number
This is the unique numeric identifier for the UsageBucketSharePlan
ownerId
READ-ONLY
"ownerId": 26
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId property.
usageBucketShareLevelId
"usageBucketShareLevelId": 15
Type: Number
Unique identifier for the associated UsageBucketShareLevel object.
usageBucketShareLevelName
"usageBucketShareLevelName": "Sample Name"
Type: String
The name of the object associated with the usageBucketShareLevelId property.
name
"name": "Gold Plan Bucket"
Type: String
User defined name for the Share Plan Bucket.
description
"description": "100MB Inclusion"
Type: String
User defined description for the Share Plan Bucket.
usageBucketSharePlanActivationTypeId
"usageBucketSharePlanActivationTypeId": 9
Type: Number
Unique identifier for the associated UsageBucketSharePlanActivationType object.
usageBucketSharePlanActivationTypeName
"usageBucketSharePlanActivationTypeName": "Sample Name"
Type: String
The name of the object associated with the usageBucketSharePlanActivationTypeId property.
isActive
"isActive": true
Type: Boolean
Determines if the Share Plan is active.
isAvailable
"isAvailable": true
Type: Boolean
Determines if the Share Plan is available.
defaultServiceStatusTypeId
"defaultServiceStatusTypeId": 22
Type: Number
Unique identifier for the associated ServiceStatusType object.
defaultServiceStatusTypeName
"defaultServiceStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the defaultServiceStatusTypeId property.
isPackageLevelParticipation
"isPackageLevelParticipation": true
Type: Boolean
TBC.
sharePlanTypeId
"sharePlanTypeId": 19
Type: Number
Unique identifier for the associated SharePlanType object.
sharePlanTypeName
"sharePlanTypeName": "Sample Name"
Type: String
The name of the object associated with the sharePlanTypeId property.

DataFlow PATCH objects:


End Points

DELETEUsage/Bucket/SharePlan/{id}
Delete an instance of the UsageBucketSharePlan 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 UsageBucketSharePlan object.
Delete an instance of the UsageBucketSharePlan object.
DELETE Usage/Bucket/SharePlan/{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": "usageBucketSharePlan"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETUsage/Bucket/SharePlan/
Retrieve all of the UsageBucketSharePlan objects.
Retrieve all of the UsageBucketSharePlan objects.
GET Usage/Bucket/SharePlan/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 19,
            "ownerName": "Sample Text Data",
            "usageBucketShareLevelId": 15,
            "usageBucketShareLevelName": "Sample Text Data",
            "name": "Gold Plan Bucket",
            "description": "100MB Inclusion",
            "usageBucketSharePlanActivationTypeId": 17,
            "usageBucketSharePlanActivationTypeName": "Sample Text Data",
            "isActive": true,
            "isAvailable": true,
            "defaultServiceStatusTypeId": 1,
            "defaultServiceStatusTypeName": "Sample Text Data",
            "isPackageLevelParticipation": true,
            "sharePlanTypeId": 3,
            "sharePlanTypeName": "Sample Text Data"
        }
    ]
}
GETUsage/Bucket/SharePlan/ForService/{id}
Return the UsageBucketSharePlan objects that are related to the specified Service.
{id}Unique identifier for the Service object.
Return the UsageBucketSharePlan objects that are related to the specified Service.
GET Usage/Bucket/SharePlan/ForService/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 13,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 18,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 9,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 25,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 27,
        "sharePlanTypeName": "Sample Text Data"
    }
}
GETUsage/Bucket/SharePlan/ForService/{id}/Detail
Return the UsageBucketSharePlan object details that are related to the specified Service. 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 Service object.
Return the UsageBucketSharePlan object details that are related to the specified Service.
GET Usage/Bucket/SharePlan/ForService/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 15,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 8,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 23,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 13,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 21,
        "sharePlanTypeName": "Sample Text Data",
        "details": {
            "usageBuckets": [
                {
                    "identity": 15,
                    "name": "Sample Text Data",
                    "prorate": true,
                    "isInfiniteLastTier": true,
                    "isThresholdPerAccountService": true,
                    "usageBucketRefillTypeId": 65,
                    "usageBucketRefillTypeName": "Sample Text Data",
                    "refillFrequency": 85,
                    "refillFrequencyTypeId": 10,
                    "refillFrequencyTypeName": "Sample Text Data",
                    "expireAfterFrequency": 70,
                    "expireAfterFrequencyTypeId": 0,
                    "expireAfterFrequencyTypeName": "Sample Text Data",
                    "expireAfterRecurrence": 10,
                    "isAssociatedWithSharePlan": true,
                    "accountPackageActivation": true,
                    "overageUsageRatePlanId": 34,
                    "isSharedAcrossPackage": true,
                    "overageUsageRatePlanName": "Sample Text Data",
                    "isBytesInBinaryUnit": true,
                    "usageBucketBaseUnitId": 17,
                    "usageBucketBaseUnitName": "Sample Text Data",
                    "details": {
                        "tiers": [
                            {
                                "identity": 75,
                                "usageBucketId": 54,
                                "usageBucketName": "Sample Text Data",
                                "threshold": 8,
                                "flatCharge": 34.87,
                                "usageUnitId": 85,
                                "usageUnitName": "Sample Text Data",
                                "packageFrequencyId": 49,
                                "packageFrequencyName": "Sample Text Data",
                                "packageServiceId": 92,
                                "currencyId": 13,
                                "currencyName": "Sample Text Data",
                                "money": 41.67,
                                "priceBookId": 4,
                                "priceBookName": "Sample Text Data",
                                "tierOverride": true
                            }
                        ],
                        "contributions": [
                            {
                                "identity": 38,
                                "usageBucketSharePlanParticipationId": 50,
                                "usageBucketId": 56,
                                "usageBucketName": "Sample Text Data",
                                "isContributing": true,
                                "contributingAmount": 62.65,
                                "contributingUsageUnitId": 11,
                                "contributingUsageUnitName": "Sample Text Data",
                                "moneyCurrencyId": 30,
                                "serviceId": 45,
                                "serviceName": "Sample Text Data",
                                "packageId": 48,
                                "packageName": "Sample Text Data"
                            }
                        ],
                        "usageBucketNotifications": [
                            {
                                "identity": 1,
                                "usageBucketServiceId": 95,
                                "emailConfigurationId": 23,
                                "emailConfigurationName": "Sample Text Data",
                                "webhookConfigurationId": 93,
                                "webhookConfigurationName": "Sample Text Data",
                                "thresholdPercent": 75,
                                "details": {
                                    "emailConfiguration": {
                                        "identity": 11,
                                        "name": "Sample Text Data",
                                        "eventSubscriptionId": 13,
                                        "eventSubscriptionName": "Sample Text Data",
                                        "emailTemplateId": 56,
                                        "emailTemplateName": "Sample Text Data",
                                        "details": {
                                            "emailToAddresses": [
                                                {
                                                    "identity": 67,
                                                    "emailConfigurationId": 10,
                                                    "emailConfigurationName": "Sample Text Data",
                                                    "userId": 78,
                                                    "userName": "Sample Text Data",
                                                    "contactTypeTypeId": 30,
                                                    "contactTypeTypeName": "Sample Text Data",
                                                    "email": "Sample Text Data"
                                                }
                                            ]
                                        }
                                    },
                                    "webhookConfiguration": {
                                        "identity": 90,
                                        "name": "Sample Text Data",
                                        "url": "Sample Text Data",
                                        "requestVerb": "Sample Text Data",
                                        "webhookTemplateId": 16,
                                        "webhookTemplateName": "Sample Text Data",
                                        "keyValuePairAuthorizationTokenKey": "Sample Text Data",
                                        "keyValuePairAuthorizationTokenValue": "Sample Text Data",
                                        "eventSubscriptionId": 23,
                                        "eventSubscriptionName": "Sample Text Data",
                                        "webhookAuthorizationTypeId": 25,
                                        "webhookAuthorizationTypeName": "Sample Text Data",
                                        "oAuthUsername": "Sample Text Data",
                                        "oAuthPassword": "Sample Text Data",
                                        "oAuthClientId": "Sample Text Data",
                                        "oAuthAuthorizationURL": "Sample Text Data",
                                        "hasCredentialsSet": true,
                                        "webhookFormatTypeId": 39,
                                        "webhookFormatTypeName": "Sample Text Data",
                                        "oAuthClientSecret": "Sample Text Data"
                                    }
                                }
                            }
                        ],
                        "usageBucketBase": [
                            {
                                "identity": 93,
                                "name": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "end": "2021-04-26T15:25:27.587Z",
                                "retired": true,
                                "usageBucketBaseUnitId": 72,
                                "usageBucketBaseUnitName": "Sample Text Data"
                            }
                        ]
                    }
                }
            ],
            "participation": [
                {
                    "identity": 57,
                    "usageBucketSharePlanId": 76,
                    "usageBucketSharePlanName": "Sample Text Data",
                    "serviceId": 49,
                    "serviceName": "Sample Text Data",
                    "packageId": 13,
                    "packageName": "Sample Text Data",
                    "dataParticipatingLimit": 1.19,
                    "dataUsageUnitId": 38,
                    "dataUsageUnitName": "Sample Text Data",
                    "timeParticipatingLimit": 57.75,
                    "timeUsageUnitId": 19,
                    "timeUsageUnitName": "Sample Text Data",
                    "countParticipatingLimit": 32.63,
                    "countUsageUnitId": 73,
                    "countUsageUnitName": "Sample Text Data",
                    "moneyParticipatingLimit": 72.83,
                    "moneyUsageUnitId": 13,
                    "moneyUsageUnitName": "Sample Text Data",
                    "moneyCurrencyId": 16,
                    "moneyCurrencyName": "Sample Text Data"
                }
            ],
            "sellingService": {
                "identity": 90,
                "name": "Sample Text Data",
                "serviceTypeId": 56,
                "serviceTypeName": "Sample Text Data",
                "usageFrequency": 5,
                "usageFrequencyTypeId": 45,
                "usageFrequencyTypeName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "isActive": true,
                "isTaxExempt": true,
                "isTaxInclusive": true,
                "generalLedgerId": 37,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 7,
                "serviceTaxCategoryName": "Sample Text Data",
                "defaultServiceStatusTypeId": 68,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "serviceCategoryId": 94,
                "serviceCategoryName": "Sample Text Data",
                "description": "Sample Text Data",
                "serviceBaseTypeId": 69,
                "serviceBaseTypeName": "Sample Text Data"
            }
        }
    }
}
GETUsage/Bucket/SharePlan/Paged
Retrieve all of the UsageBucketSharePlan 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 UsageBucketSharePlan objects in a paged fashion.
GET Usage/Bucket/SharePlan/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,
                "ownerId": 5,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 14,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 16,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 10,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 14,
                "sharePlanTypeName": "Sample Text Data"
            }
        ]
    }
}
GETUsage/Bucket/SharePlan/Paged/Detail
Retrieve all of the UsageBucketSharePlan 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 UsageBucketSharePlan objects in a paged fashion with all object details.
GET Usage/Bucket/SharePlan/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,
                "ownerId": 22,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 6,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 24,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 25,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 8,
                "sharePlanTypeName": "Sample Text Data",
                "details": {
                    "usageBuckets": [
                        {
                            "identity": 15,
                            "name": "Sample Text Data",
                            "prorate": true,
                            "isInfiniteLastTier": true,
                            "isThresholdPerAccountService": true,
                            "usageBucketRefillTypeId": 65,
                            "usageBucketRefillTypeName": "Sample Text Data",
                            "refillFrequency": 85,
                            "refillFrequencyTypeId": 10,
                            "refillFrequencyTypeName": "Sample Text Data",
                            "expireAfterFrequency": 70,
                            "expireAfterFrequencyTypeId": 0,
                            "expireAfterFrequencyTypeName": "Sample Text Data",
                            "expireAfterRecurrence": 10,
                            "isAssociatedWithSharePlan": true,
                            "accountPackageActivation": true,
                            "overageUsageRatePlanId": 34,
                            "isSharedAcrossPackage": true,
                            "overageUsageRatePlanName": "Sample Text Data",
                            "isBytesInBinaryUnit": true,
                            "usageBucketBaseUnitId": 17,
                            "usageBucketBaseUnitName": "Sample Text Data",
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 75,
                                        "usageBucketId": 54,
                                        "usageBucketName": "Sample Text Data",
                                        "threshold": 8,
                                        "flatCharge": 34.87,
                                        "usageUnitId": 85,
                                        "usageUnitName": "Sample Text Data",
                                        "packageFrequencyId": 49,
                                        "packageFrequencyName": "Sample Text Data",
                                        "packageServiceId": 92,
                                        "currencyId": 13,
                                        "currencyName": "Sample Text Data",
                                        "money": 41.67,
                                        "priceBookId": 4,
                                        "priceBookName": "Sample Text Data",
                                        "tierOverride": true
                                    }
                                ],
                                "contributions": [
                                    {
                                        "identity": 38,
                                        "usageBucketSharePlanParticipationId": 50,
                                        "usageBucketId": 56,
                                        "usageBucketName": "Sample Text Data",
                                        "isContributing": true,
                                        "contributingAmount": 62.65,
                                        "contributingUsageUnitId": 11,
                                        "contributingUsageUnitName": "Sample Text Data",
                                        "moneyCurrencyId": 30,
                                        "serviceId": 45,
                                        "serviceName": "Sample Text Data",
                                        "packageId": 48,
                                        "packageName": "Sample Text Data"
                                    }
                                ],
                                "usageBucketNotifications": [
                                    {
                                        "identity": 1,
                                        "usageBucketServiceId": 95,
                                        "emailConfigurationId": 23,
                                        "emailConfigurationName": "Sample Text Data",
                                        "webhookConfigurationId": 93,
                                        "webhookConfigurationName": "Sample Text Data",
                                        "thresholdPercent": 75,
                                        "details": {
                                            "emailConfiguration": {
                                                "identity": 11,
                                                "name": "Sample Text Data",
                                                "eventSubscriptionId": 13,
                                                "eventSubscriptionName": "Sample Text Data",
                                                "emailTemplateId": 56,
                                                "emailTemplateName": "Sample Text Data",
                                                "details": {
                                                    "emailToAddresses": [
                                                        {
                                                            "identity": 67,
                                                            "emailConfigurationId": 10,
                                                            "emailConfigurationName": "Sample Text Data",
                                                            "userId": 78,
                                                            "userName": "Sample Text Data",
                                                            "contactTypeTypeId": 30,
                                                            "contactTypeTypeName": "Sample Text Data",
                                                            "email": "Sample Text Data"
                                                        }
                                                    ]
                                                }
                                            },
                                            "webhookConfiguration": {
                                                "identity": 90,
                                                "name": "Sample Text Data",
                                                "url": "Sample Text Data",
                                                "requestVerb": "Sample Text Data",
                                                "webhookTemplateId": 16,
                                                "webhookTemplateName": "Sample Text Data",
                                                "keyValuePairAuthorizationTokenKey": "Sample Text Data",
                                                "keyValuePairAuthorizationTokenValue": "Sample Text Data",
                                                "eventSubscriptionId": 23,
                                                "eventSubscriptionName": "Sample Text Data",
                                                "webhookAuthorizationTypeId": 25,
                                                "webhookAuthorizationTypeName": "Sample Text Data",
                                                "oAuthUsername": "Sample Text Data",
                                                "oAuthPassword": "Sample Text Data",
                                                "oAuthClientId": "Sample Text Data",
                                                "oAuthAuthorizationURL": "Sample Text Data",
                                                "hasCredentialsSet": true,
                                                "webhookFormatTypeId": 39,
                                                "webhookFormatTypeName": "Sample Text Data",
                                                "oAuthClientSecret": "Sample Text Data"
                                            }
                                        }
                                    }
                                ],
                                "usageBucketBase": [
                                    {
                                        "identity": 93,
                                        "name": "Sample Text Data",
                                        "start": "2021-04-26T15:25:27.587Z",
                                        "end": "2021-04-26T15:25:27.587Z",
                                        "retired": true,
                                        "usageBucketBaseUnitId": 72,
                                        "usageBucketBaseUnitName": "Sample Text Data"
                                    }
                                ]
                            }
                        }
                    ],
                    "participation": [
                        {
                            "identity": 57,
                            "usageBucketSharePlanId": 76,
                            "usageBucketSharePlanName": "Sample Text Data",
                            "serviceId": 49,
                            "serviceName": "Sample Text Data",
                            "packageId": 13,
                            "packageName": "Sample Text Data",
                            "dataParticipatingLimit": 1.19,
                            "dataUsageUnitId": 38,
                            "dataUsageUnitName": "Sample Text Data",
                            "timeParticipatingLimit": 57.75,
                            "timeUsageUnitId": 19,
                            "timeUsageUnitName": "Sample Text Data",
                            "countParticipatingLimit": 32.63,
                            "countUsageUnitId": 73,
                            "countUsageUnitName": "Sample Text Data",
                            "moneyParticipatingLimit": 72.83,
                            "moneyUsageUnitId": 13,
                            "moneyUsageUnitName": "Sample Text Data",
                            "moneyCurrencyId": 16,
                            "moneyCurrencyName": "Sample Text Data"
                        }
                    ],
                    "sellingService": {
                        "identity": 90,
                        "name": "Sample Text Data",
                        "serviceTypeId": 56,
                        "serviceTypeName": "Sample Text Data",
                        "usageFrequency": 5,
                        "usageFrequencyTypeId": 45,
                        "usageFrequencyTypeName": "Sample Text Data",
                        "created": "2021-04-26T15:25:27.587Z",
                        "isActive": true,
                        "isTaxExempt": true,
                        "isTaxInclusive": true,
                        "generalLedgerId": 37,
                        "generalLedgerName": "Sample Text Data",
                        "serviceTaxCategoryId": 7,
                        "serviceTaxCategoryName": "Sample Text Data",
                        "defaultServiceStatusTypeId": 68,
                        "defaultServiceStatusTypeName": "Sample Text Data",
                        "serviceCategoryId": 94,
                        "serviceCategoryName": "Sample Text Data",
                        "description": "Sample Text Data",
                        "serviceBaseTypeId": 69,
                        "serviceBaseTypeName": "Sample Text Data"
                    }
                }
            }
        ]
    }
}
GETUsage/Bucket/SharePlan/{id}
Retrieve an instance of the UsageBucketSharePlan object by its ID.
{id}Unique identifier for the UsageBucketSharePlan object.
Retrieve an instance of the UsageBucketSharePlan object by its ID.
GET Usage/Bucket/SharePlan/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 5,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 1,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 12,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 23,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 7,
        "sharePlanTypeName": "Sample Text Data"
    }
}
GETUsage/Bucket/SharePlan/{id}/Detail
Retrieve deep detail of the UsageBucketSharePlan 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 UsageBucketSharePlan object.
Retrieve deep detail of the UsageBucketSharePlan object by its ID.
GET Usage/Bucket/SharePlan/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 20,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 13,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 14,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 8,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 5,
        "sharePlanTypeName": "Sample Text Data",
        "details": {
            "usageBuckets": [
                {
                    "identity": 15,
                    "name": "Sample Text Data",
                    "prorate": true,
                    "isInfiniteLastTier": true,
                    "isThresholdPerAccountService": true,
                    "usageBucketRefillTypeId": 65,
                    "usageBucketRefillTypeName": "Sample Text Data",
                    "refillFrequency": 85,
                    "refillFrequencyTypeId": 10,
                    "refillFrequencyTypeName": "Sample Text Data",
                    "expireAfterFrequency": 70,
                    "expireAfterFrequencyTypeId": 0,
                    "expireAfterFrequencyTypeName": "Sample Text Data",
                    "expireAfterRecurrence": 10,
                    "isAssociatedWithSharePlan": true,
                    "accountPackageActivation": true,
                    "overageUsageRatePlanId": 34,
                    "isSharedAcrossPackage": true,
                    "overageUsageRatePlanName": "Sample Text Data",
                    "isBytesInBinaryUnit": true,
                    "usageBucketBaseUnitId": 17,
                    "usageBucketBaseUnitName": "Sample Text Data",
                    "details": {
                        "tiers": [
                            {
                                "identity": 75,
                                "usageBucketId": 54,
                                "usageBucketName": "Sample Text Data",
                                "threshold": 8,
                                "flatCharge": 34.87,
                                "usageUnitId": 85,
                                "usageUnitName": "Sample Text Data",
                                "packageFrequencyId": 49,
                                "packageFrequencyName": "Sample Text Data",
                                "packageServiceId": 92,
                                "currencyId": 13,
                                "currencyName": "Sample Text Data",
                                "money": 41.67,
                                "priceBookId": 4,
                                "priceBookName": "Sample Text Data",
                                "tierOverride": true
                            }
                        ],
                        "contributions": [
                            {
                                "identity": 38,
                                "usageBucketSharePlanParticipationId": 50,
                                "usageBucketId": 56,
                                "usageBucketName": "Sample Text Data",
                                "isContributing": true,
                                "contributingAmount": 62.65,
                                "contributingUsageUnitId": 11,
                                "contributingUsageUnitName": "Sample Text Data",
                                "moneyCurrencyId": 30,
                                "serviceId": 45,
                                "serviceName": "Sample Text Data",
                                "packageId": 48,
                                "packageName": "Sample Text Data"
                            }
                        ],
                        "usageBucketNotifications": [
                            {
                                "identity": 1,
                                "usageBucketServiceId": 95,
                                "emailConfigurationId": 23,
                                "emailConfigurationName": "Sample Text Data",
                                "webhookConfigurationId": 93,
                                "webhookConfigurationName": "Sample Text Data",
                                "thresholdPercent": 75,
                                "details": {
                                    "emailConfiguration": {
                                        "identity": 11,
                                        "name": "Sample Text Data",
                                        "eventSubscriptionId": 13,
                                        "eventSubscriptionName": "Sample Text Data",
                                        "emailTemplateId": 56,
                                        "emailTemplateName": "Sample Text Data",
                                        "details": {
                                            "emailToAddresses": [
                                                {
                                                    "identity": 67,
                                                    "emailConfigurationId": 10,
                                                    "emailConfigurationName": "Sample Text Data",
                                                    "userId": 78,
                                                    "userName": "Sample Text Data",
                                                    "contactTypeTypeId": 30,
                                                    "contactTypeTypeName": "Sample Text Data",
                                                    "email": "Sample Text Data"
                                                }
                                            ]
                                        }
                                    },
                                    "webhookConfiguration": {
                                        "identity": 90,
                                        "name": "Sample Text Data",
                                        "url": "Sample Text Data",
                                        "requestVerb": "Sample Text Data",
                                        "webhookTemplateId": 16,
                                        "webhookTemplateName": "Sample Text Data",
                                        "keyValuePairAuthorizationTokenKey": "Sample Text Data",
                                        "keyValuePairAuthorizationTokenValue": "Sample Text Data",
                                        "eventSubscriptionId": 23,
                                        "eventSubscriptionName": "Sample Text Data",
                                        "webhookAuthorizationTypeId": 25,
                                        "webhookAuthorizationTypeName": "Sample Text Data",
                                        "oAuthUsername": "Sample Text Data",
                                        "oAuthPassword": "Sample Text Data",
                                        "oAuthClientId": "Sample Text Data",
                                        "oAuthAuthorizationURL": "Sample Text Data",
                                        "hasCredentialsSet": true,
                                        "webhookFormatTypeId": 39,
                                        "webhookFormatTypeName": "Sample Text Data",
                                        "oAuthClientSecret": "Sample Text Data"
                                    }
                                }
                            }
                        ],
                        "usageBucketBase": [
                            {
                                "identity": 93,
                                "name": "Sample Text Data",
                                "start": "2021-04-26T15:25:27.587Z",
                                "end": "2021-04-26T15:25:27.587Z",
                                "retired": true,
                                "usageBucketBaseUnitId": 72,
                                "usageBucketBaseUnitName": "Sample Text Data"
                            }
                        ]
                    }
                }
            ],
            "participation": [
                {
                    "identity": 57,
                    "usageBucketSharePlanId": 76,
                    "usageBucketSharePlanName": "Sample Text Data",
                    "serviceId": 49,
                    "serviceName": "Sample Text Data",
                    "packageId": 13,
                    "packageName": "Sample Text Data",
                    "dataParticipatingLimit": 1.19,
                    "dataUsageUnitId": 38,
                    "dataUsageUnitName": "Sample Text Data",
                    "timeParticipatingLimit": 57.75,
                    "timeUsageUnitId": 19,
                    "timeUsageUnitName": "Sample Text Data",
                    "countParticipatingLimit": 32.63,
                    "countUsageUnitId": 73,
                    "countUsageUnitName": "Sample Text Data",
                    "moneyParticipatingLimit": 72.83,
                    "moneyUsageUnitId": 13,
                    "moneyUsageUnitName": "Sample Text Data",
                    "moneyCurrencyId": 16,
                    "moneyCurrencyName": "Sample Text Data"
                }
            ],
            "sellingService": {
                "identity": 90,
                "name": "Sample Text Data",
                "serviceTypeId": 56,
                "serviceTypeName": "Sample Text Data",
                "usageFrequency": 5,
                "usageFrequencyTypeId": 45,
                "usageFrequencyTypeName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "isActive": true,
                "isTaxExempt": true,
                "isTaxInclusive": true,
                "generalLedgerId": 37,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 7,
                "serviceTaxCategoryName": "Sample Text Data",
                "defaultServiceStatusTypeId": 68,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "serviceCategoryId": 94,
                "serviceCategoryName": "Sample Text Data",
                "description": "Sample Text Data",
                "serviceBaseTypeId": 69,
                "serviceBaseTypeName": "Sample Text Data"
            }
        }
    }
}
PATCHUsage/Bucket/SharePlan/{id}
Update or Add the UsageBucketSharePlan 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 UsageBucketSharePlan object.
Update or Add the UsageBucketSharePlan object and optionally make changes to any child objects.
PATCH Usage/Bucket/SharePlan/{id}

{
    "details": {},
    "usageBucketSharePlans": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "usageBucketShareLevelId": 0,
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 18,
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 2,
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 11
            }
        ]
    }
}
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": "usageBucketSharePlan",
                "instance": {
                    "identity": 1,
                    "ownerId": 24,
                    "ownerName": "Sample Text Data",
                    "usageBucketShareLevelId": 16,
                    "usageBucketShareLevelName": "Sample Text Data",
                    "name": "Gold Plan Bucket",
                    "description": "100MB Inclusion",
                    "usageBucketSharePlanActivationTypeId": 3,
                    "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                    "isActive": true,
                    "isAvailable": true,
                    "defaultServiceStatusTypeId": 25,
                    "defaultServiceStatusTypeName": "Sample Text Data",
                    "isPackageLevelParticipation": true,
                    "sharePlanTypeId": 20,
                    "sharePlanTypeName": "Sample Text Data"
                }
            }
        ]
    }
}
POSTUsage/Bucket/SharePlan/
Create a new instance of the UsageBucketSharePlan object.
Create a new instance of the UsageBucketSharePlan object.
POST Usage/Bucket/SharePlan/

{
    "usageBucketShareLevelId": 16,
    "name": "Gold Plan Bucket",
    "description": "100MB Inclusion",
    "usageBucketSharePlanActivationTypeId": 27,
    "isActive": true,
    "isAvailable": true,
    "defaultServiceStatusTypeId": 17,
    "isPackageLevelParticipation": true,
    "sharePlanTypeId": 3
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 9,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 19,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 22,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 12,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 13,
                "sharePlanTypeName": "Sample Text Data"
            }
        ]
    }
}
PUTUsage/Bucket/SharePlan/{id}
Update an existing instance of the UsageBucketSharePlan object.
Update an existing instance of the UsageBucketSharePlan object.
PUT Usage/Bucket/SharePlan/{id}

{
    "identity": 1,
    "usageBucketShareLevelId": 3,
    "name": "Gold Plan Bucket",
    "description": "100MB Inclusion",
    "usageBucketSharePlanActivationTypeId": 8,
    "isActive": true,
    "isAvailable": true,
    "defaultServiceStatusTypeId": 21,
    "isPackageLevelParticipation": true,
    "sharePlanTypeId": 25
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 25,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 9,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 24,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 11,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 1,
                "sharePlanTypeName": "Sample Text Data"
            }
        ]
    }
}