TAG LINE
TAG LINE
SMALL TITLE

Usage / Bucket / Share Plan

(API Version v5)


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": 3
Type: Number
This is the unique numeric identifier for the UsageBucketSharePlan
ownerId
READ-ONLY
"ownerId": 21
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": 9
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": 10
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
isAvailable
"isAvailable": true
Type: Boolean
defaultServiceStatusTypeId
"defaultServiceStatusTypeId": 8
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
sharePlanTypeId
"sharePlanTypeId": 7
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 reelated objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the 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": 15,
            "ownerName": "Sample Text Data",
            "usageBucketShareLevelId": 13,
            "usageBucketShareLevelName": "Sample Text Data",
            "name": "Gold Plan Bucket",
            "description": "100MB Inclusion",
            "usageBucketSharePlanActivationTypeId": 9,
            "usageBucketSharePlanActivationTypeName": "Sample Text Data",
            "isActive": true,
            "isAvailable": true,
            "defaultServiceStatusTypeId": 7,
            "defaultServiceStatusTypeName": "Sample Text Data",
            "isPackageLevelParticipation": true,
            "sharePlanTypeId": 4,
            "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": 26,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 7,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 10,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 19,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 22,
        "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": 0,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 16,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 10,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 3,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 25,
        "sharePlanTypeName": "Sample Text Data",
        "details": {
            "sampleSingleObject": {
                "identity": 2,
                "property1": "Sample Text",
                "property2": "2021-04-26T15:25:29.117Z",
                "property3": 2
            },
            "sampleMultipleObjects": {
                "totalCount": 1,
                "items": [
                    {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    }
                ]
            }
        }
    }
}
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": 19,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 21,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 2,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 13,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 22,
                "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": 19,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 22,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 19,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 20,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 13,
                "sharePlanTypeName": "Sample Text Data",
                "details": {
                    "sampleSingleObject": {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    },
                    "sampleMultipleObjects": {
                        "totalCount": 1,
                        "items": [
                            {
                                "identity": 2,
                                "property1": "Sample Text",
                                "property2": "2021-04-26T15:25:29.117Z",
                                "property3": 2
                            }
                        ]
                    }
                }
            }
        ]
    }
}
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": 11,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 12,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 1,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 1,
        "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": 15,
        "ownerName": "Sample Text Data",
        "usageBucketShareLevelId": 15,
        "usageBucketShareLevelName": "Sample Text Data",
        "name": "Gold Plan Bucket",
        "description": "100MB Inclusion",
        "usageBucketSharePlanActivationTypeId": 3,
        "usageBucketSharePlanActivationTypeName": "Sample Text Data",
        "isActive": true,
        "isAvailable": true,
        "defaultServiceStatusTypeId": 2,
        "defaultServiceStatusTypeName": "Sample Text Data",
        "isPackageLevelParticipation": true,
        "sharePlanTypeId": 13,
        "sharePlanTypeName": "Sample Text Data",
        "details": {
            "sampleSingleObject": {
                "identity": 2,
                "property1": "Sample Text",
                "property2": "2021-04-26T15:25:29.117Z",
                "property3": 2
            },
            "sampleMultipleObjects": {
                "totalCount": 1,
                "items": [
                    {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    }
                ]
            }
        }
    }
}
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": 5,
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 23,
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 9
            }
        ]
    }
}
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": 18,
                    "ownerName": "Sample Text Data",
                    "usageBucketShareLevelId": 7,
                    "usageBucketShareLevelName": "Sample Text Data",
                    "name": "Gold Plan Bucket",
                    "description": "100MB Inclusion",
                    "usageBucketSharePlanActivationTypeId": 20,
                    "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                    "isActive": true,
                    "isAvailable": true,
                    "defaultServiceStatusTypeId": 6,
                    "defaultServiceStatusTypeName": "Sample Text Data",
                    "isPackageLevelParticipation": true,
                    "sharePlanTypeId": 15,
                    "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": 21,
    "name": "Gold Plan Bucket",
    "description": "100MB Inclusion",
    "usageBucketSharePlanActivationTypeId": 15,
    "isActive": true,
    "isAvailable": true,
    "defaultServiceStatusTypeId": 15,
    "isPackageLevelParticipation": true,
    "sharePlanTypeId": 21
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 21,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 5,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 22,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 17,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 5,
                "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": 27,
    "name": "Gold Plan Bucket",
    "description": "100MB Inclusion",
    "usageBucketSharePlanActivationTypeId": 18,
    "isActive": true,
    "isAvailable": true,
    "defaultServiceStatusTypeId": 15,
    "isPackageLevelParticipation": true,
    "sharePlanTypeId": 16
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 23,
                "ownerName": "Sample Text Data",
                "usageBucketShareLevelId": 10,
                "usageBucketShareLevelName": "Sample Text Data",
                "name": "Gold Plan Bucket",
                "description": "100MB Inclusion",
                "usageBucketSharePlanActivationTypeId": 22,
                "usageBucketSharePlanActivationTypeName": "Sample Text Data",
                "isActive": true,
                "isAvailable": true,
                "defaultServiceStatusTypeId": 1,
                "defaultServiceStatusTypeName": "Sample Text Data",
                "isPackageLevelParticipation": true,
                "sharePlanTypeId": 12,
                "sharePlanTypeName": "Sample Text Data"
            }
        ]
    }
}