TAG LINE
TAG LINE
SMALL TITLE

Usage / Bucket / Base Detail

(API Version v6)


Depending Base Bucket this entity allows for specification of Classes or Locations that are either included or excluded from the Base Bucket.


What can you do with UsageBucketBaseDetail?


Properties

Property Details
identity
READ-ONLY
"identity": 26
Type: Number
This is the unique numeric identifier for the UsageBucketBaseDetail
usageBucketBaseId
"usageBucketBaseId": 13
Type: Number
Unique identifier for the associated UsageBucketBase object.
usageBucketBaseName
"usageBucketBaseName": "Sample Name"
Type: String
The name of the object associated with the usageBucketBaseId property.
usageClassId
"usageClassId": 0
Type: Number
Unique identifier for the associated UsageClass object.
usageClassName
"usageClassName": "Sample Name"
Type: String
The name of the object associated with the usageClassId property.
geoTreeLocationId
"geoTreeLocationId": 6
Type: Number
Unique identifier for the associated GeoTreeLocation object.
geoTreeLocationName
"geoTreeLocationName": "Sample Name"
Type: String
The name of the object associated with the geoTreeLocationId property.
exclude
"exclude": true
Type: Boolean
Whether or not to exclude the location and/or class specified.
geoTreeLocationGroupId
"geoTreeLocationGroupId": 12
Type: Number
Unique identifier for the associated GeoTreeLocationGroup object.
geoTreeLocationGroupName
"geoTreeLocationGroupName": "Sample Name"
Type: String
The name of the object associated with the geoTreeLocationGroupId property.


End Points

DELETEUsage/Bucket/BaseDetail/{id}
Delete an instance of the UsageBucketBaseDetail 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 UsageBucketBaseDetail object.
Delete an instance of the UsageBucketBaseDetail object.
DELETE Usage/Bucket/BaseDetail/{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": "usageBucketBaseDetail"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETUsage/Bucket/BaseDetail/
Retrieve all of the UsageBucketBaseDetail objects.
Retrieve all of the UsageBucketBaseDetail objects.
GET Usage/Bucket/BaseDetail/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "usageBucketBaseId": 22,
            "usageBucketBaseName": "Sample Text Data",
            "usageClassId": 21,
            "usageClassName": "Sample Text Data",
            "geoTreeLocationId": 22,
            "geoTreeLocationName": "Sample Text Data",
            "exclude": true,
            "geoTreeLocationGroupId": 5,
            "geoTreeLocationGroupName": "Sample Text Data"
        }
    ]
}
GETUsage/Bucket/BaseDetail/Paged
Retrieve all of the UsageBucketBaseDetail 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 UsageBucketBaseDetail objects in a paged fashion.
GET Usage/Bucket/BaseDetail/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,
                "usageBucketBaseId": 14,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 9,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 3,
                "geoTreeLocationName": "Sample Text Data",
                "exclude": true,
                "geoTreeLocationGroupId": 23,
                "geoTreeLocationGroupName": "Sample Text Data"
            }
        ]
    }
}
GETUsage/Bucket/BaseDetail/{id}
Retrieve an instance of the UsageBucketBaseDetail object by its ID.
{id}Unique identifier for the UsageBucketBaseDetail object.
Retrieve an instance of the UsageBucketBaseDetail object by its ID.
GET Usage/Bucket/BaseDetail/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "usageBucketBaseId": 14,
        "usageBucketBaseName": "Sample Text Data",
        "usageClassId": 20,
        "usageClassName": "Sample Text Data",
        "geoTreeLocationId": 22,
        "geoTreeLocationName": "Sample Text Data",
        "exclude": true,
        "geoTreeLocationGroupId": 11,
        "geoTreeLocationGroupName": "Sample Text Data"
    }
}
POSTUsage/Bucket/BaseDetail/
Create a new instance of the UsageBucketBaseDetail object.
Create a new instance of the UsageBucketBaseDetail object.
POST Usage/Bucket/BaseDetail/

{
    "usageBucketBaseId": 0,
    "usageClassId": 20,
    "geoTreeLocationId": 10,
    "exclude": true,
    "geoTreeLocationGroupId": 23
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "usageBucketBaseId": 8,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 5,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 0,
                "geoTreeLocationName": "Sample Text Data",
                "exclude": true,
                "geoTreeLocationGroupId": 0,
                "geoTreeLocationGroupName": "Sample Text Data"
            }
        ]
    }
}
PUTUsage/Bucket/BaseDetail/{id}
Update an existing instance of the UsageBucketBaseDetail object.
Update an existing instance of the UsageBucketBaseDetail object.
PUT Usage/Bucket/BaseDetail/{id}

{
    "identity": 1,
    "usageBucketBaseId": 24,
    "usageClassId": 7,
    "geoTreeLocationId": 18,
    "exclude": true,
    "geoTreeLocationGroupId": 11
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "usageBucketBaseId": 11,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 2,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 10,
                "geoTreeLocationName": "Sample Text Data",
                "exclude": true,
                "geoTreeLocationGroupId": 21,
                "geoTreeLocationGroupName": "Sample Text Data"
            }
        ]
    }
}