TAG LINE
TAG LINE
SMALL TITLE

Usage / Bucket / Base Detail

(API Version v10)


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": 17
Type: Number
This is the unique numeric identifier for the UsageBucketBaseDetail
usageBucketBaseId
"usageBucketBaseId": 17
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": 24
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": 25
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": 14
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 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 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": 2,
            "usageBucketBaseName": "Sample Text Data",
            "usageClassId": 12,
            "usageClassName": "Sample Text Data",
            "geoTreeLocationId": 25,
            "geoTreeLocationName": "Sample Text Data",
            "exclude": true,
            "geoTreeLocationGroupId": 17,
            "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": 20,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 0,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 27,
                "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": 0,
        "usageBucketBaseName": "Sample Text Data",
        "usageClassId": 1,
        "usageClassName": "Sample Text Data",
        "geoTreeLocationId": 0,
        "geoTreeLocationName": "Sample Text Data",
        "exclude": true,
        "geoTreeLocationGroupId": 2,
        "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": 17,
    "usageClassId": 26,
    "geoTreeLocationId": 6,
    "exclude": true,
    "geoTreeLocationGroupId": 14
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "usageBucketBaseId": 0,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 1,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 10,
                "geoTreeLocationName": "Sample Text Data",
                "exclude": true,
                "geoTreeLocationGroupId": 3,
                "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": 21,
    "usageClassId": 24,
    "geoTreeLocationId": 5,
    "exclude": true,
    "geoTreeLocationGroupId": 16
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "usageBucketBaseId": 2,
                "usageBucketBaseName": "Sample Text Data",
                "usageClassId": 18,
                "usageClassName": "Sample Text Data",
                "geoTreeLocationId": 26,
                "geoTreeLocationName": "Sample Text Data",
                "exclude": true,
                "geoTreeLocationGroupId": 6,
                "geoTreeLocationGroupName": "Sample Text Data"
            }
        ]
    }
}