TAG LINE
TAG LINE
SMALL TITLE
Defines properties for an individual Usage Rate within the system.
identity READ-ONLY | "identity": 4 Type: Number This is the unique numeric identifier for the UsageRate |
usageRateGroupId | "usageRateGroupId": 24 Type: Number Unique identifier for the associated UsageRateGroup object. |
usageRateGroupName | "usageRateGroupName": "Sample Name" Type: String The name of the object associated with the usageRateGroupId property. |
usageClassId | "usageClassId": 1 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. |
amount | "amount": 2.52 Type: Number The amount to charge for this rate |
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. |
additional | "additional": true Type: Boolean Unused |
retired READ-ONLY | "retired": true Type: Boolean System generated when a rate group is retired |
ownerId READ-ONLY | "ownerId": 22 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. |
usageRoundingId | "usageRoundingId": 15 Type: Number Unique identifier for the associated UsageRounding object. |
usageRoundingName | "usageRoundingName": "Sample Name" Type: String The name of the object associated with the usageRoundingId property. |
displayName | "displayName": "My Rate" Type: String The optional user defined display name for the Usage Rate |
geoTreeLocationGroupId | "geoTreeLocationGroupId": 24 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. |
minimumCharge | "minimumCharge": 5.34 Type: Number Minimum amount to charge for the record |
usageUnitId | "usageUnitId": 10 Type: Number Unique identifier for the associated UsageUnit object. |
usageUnitName | "usageUnitName": "Sample Name" Type: String The name of the object associated with the usageUnitId property. |
usageRateCalculationTypeId | "usageRateCalculationTypeId": 5 Type: Number Unique identifier for the associated UsageRateCalculationType object. |
usageRateCalculationTypeName | "usageRateCalculationTypeName": "Sample Name" Type: String The name of the object associated with the usageRateCalculationTypeId 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. |
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. |
generalLedgerId | "generalLedgerId": 9 Type: Number Unique identifier for the associated GeneralLedger object. |
generalLedgerName | "generalLedgerName": "Sample Name" Type: String The name of the object associated with the generalLedgerId property. |
serviceTaxCategoryId | "serviceTaxCategoryId": 21 Type: Number Unique identifier for the associated ServiceTaxCategory object. |
serviceTaxCategoryName | "serviceTaxCategoryName": "Sample Name" Type: String The name of the object associated with the serviceTaxCategoryId property. |
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 UsageRate object.
Standard PATCH objects:
DataFlow PATCH objects:
DELETE | Usage/Rate/{id} |
Delete an instance of the UsageRate 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 UsageRate object. |
Delete an instance of the UsageRate object. DELETE Usage/Rate/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "usageRate" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
GET | Usage/Rate/ |
Retrieve all of the UsageRate objects. | |
Retrieve all of the UsageRate objects. GET Usage/Rate/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "usageRateGroupId": 26, "usageRateGroupName": "Sample Text Data", "usageClassId": 6, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 19, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 14, "ownerName": "Sample Text Data", "usageRoundingId": 5, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 23, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 19, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 1, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 22, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 3, "serviceTaxCategoryName": "Sample Text Data" } ] } |
GET | Usage/Rate/Paged |
Retrieve all of the UsageRate 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 UsageRate objects in a paged fashion. GET Usage/Rate/Paged HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "usageRateGroupId": 3, "usageRateGroupName": "Sample Text Data", "usageClassId": 8, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 17, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 10, "ownerName": "Sample Text Data", "usageRoundingId": 16, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 24, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 22, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 20, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 13, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 17, "serviceTaxCategoryName": "Sample Text Data" } ] } } |
GET | Usage/Rate/Paged/Detail |
Retrieve all of the UsageRate 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 UsageRate objects in a paged fashion with all object details. GET Usage/Rate/Paged/Detail HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "usageRateGroupId": 12, "usageRateGroupName": "Sample Text Data", "usageClassId": 7, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 19, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 13, "ownerName": "Sample Text Data", "usageRoundingId": 23, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 11, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 15, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 0, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 10, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 4, "serviceTaxCategoryName": "Sample Text Data", "details": { "usageRateTierConfiguration": { "identity": 20, "usageRateId": 29, "pricePlanTierTypeId": 41, "pricePlanTierTypeName": "Sample Text Data", "countingRuleId": 69, "countingRuleName": "Sample Text Data" } } } ] } } |
GET | Usage/Rate/{id} |
Retrieve an instance of the UsageRate object by its ID. | |
{id} | Unique identifier for the UsageRate object. |
Retrieve an instance of the UsageRate object by its ID. GET Usage/Rate/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "usageRateGroupId": 4, "usageRateGroupName": "Sample Text Data", "usageClassId": 20, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 12, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 8, "ownerName": "Sample Text Data", "usageRoundingId": 25, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 21, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 19, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 13, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 2, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 22, "serviceTaxCategoryName": "Sample Text Data" } } |
GET | Usage/Rate/{id}/Detail |
Retrieve deep detail of the UsageRate 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 UsageRate object. |
Retrieve deep detail of the UsageRate object by its ID. GET Usage/Rate/{id}/Detail HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "usageRateGroupId": 11, "usageRateGroupName": "Sample Text Data", "usageClassId": 24, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 10, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 15, "ownerName": "Sample Text Data", "usageRoundingId": 11, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 3, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 23, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 7, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 20, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 0, "serviceTaxCategoryName": "Sample Text Data", "details": { "usageRateTierConfiguration": { "identity": 20, "usageRateId": 29, "pricePlanTierTypeId": 41, "pricePlanTierTypeName": "Sample Text Data", "countingRuleId": 69, "countingRuleName": "Sample Text Data" } } } } |
PATCH | Usage/Rate/{id} |
Update or Add the UsageRate 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 UsageRate object. |
Update or Add the UsageRate object and optionally make changes to any child objects. PATCH Usage/Rate/{id} { "details": {}, "usageRates": { "items": [ { "patchType": "create", "patchClientId": 1, "usageRateGroupId": 21, "usageClassId": 14, "amount": 2.52, "geoTreeLocationId": 9, "additional": true, "usageRoundingId": 0, "displayName": "My Rate", "geoTreeLocationGroupId": 2, "minimumCharge": 5.34, "usageUnitId": 17, "usageRateCalculationTypeId": 8, "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 18, "serviceTaxCategoryId": 19 } ] } } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "patch", "results": { "totalCount": 1, "items": [ { "identity": 1, "action": "created", "dtoTypeKey": "usageRate", "instance": { "identity": 1, "usageRateGroupId": 20, "usageRateGroupName": "Sample Text Data", "usageClassId": 8, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 23, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 20, "ownerName": "Sample Text Data", "usageRoundingId": 1, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 18, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 1, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 12, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 16, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 21, "serviceTaxCategoryName": "Sample Text Data" } } ] } } |
POST | Usage/Rate/ |
Create a new instance of the UsageRate object. | |
Create a new instance of the UsageRate object. POST Usage/Rate/ { "usageRateGroupId": 0, "usageClassId": 15, "amount": 2.52, "geoTreeLocationId": 5, "additional": true, "usageRoundingId": 8, "displayName": "My Rate", "geoTreeLocationGroupId": 7, "minimumCharge": 5.34, "usageUnitId": 7, "usageRateCalculationTypeId": 22, "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 23, "serviceTaxCategoryId": 2 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "usageRateGroupId": 2, "usageRateGroupName": "Sample Text Data", "usageClassId": 11, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 0, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 5, "ownerName": "Sample Text Data", "usageRoundingId": 23, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 3, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 8, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 1, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 24, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 19, "serviceTaxCategoryName": "Sample Text Data" } ] } } |
PUT | Usage/Rate/{id} |
Update an existing instance of the UsageRate object. | |
Update an existing instance of the UsageRate object. PUT Usage/Rate/{id} { "identity": 1, "usageRateGroupId": 4, "usageClassId": 14, "amount": 2.52, "geoTreeLocationId": 22, "additional": true, "usageRoundingId": 10, "displayName": "My Rate", "geoTreeLocationGroupId": 7, "minimumCharge": 5.34, "usageUnitId": 23, "usageRateCalculationTypeId": 11, "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 20, "serviceTaxCategoryId": 12 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "usageRateGroupId": 17, "usageRateGroupName": "Sample Text Data", "usageClassId": 20, "usageClassName": "Sample Text Data", "amount": 2.52, "geoTreeLocationId": 12, "geoTreeLocationName": "Sample Text Data", "additional": true, "retired": true, "ownerId": 8, "ownerName": "Sample Text Data", "usageRoundingId": 5, "usageRoundingName": "Sample Text Data", "displayName": "My Rate", "geoTreeLocationGroupId": 7, "geoTreeLocationGroupName": "Sample Text Data", "minimumCharge": 5.34, "usageUnitId": 9, "usageUnitName": "Sample Text Data", "usageRateCalculationTypeId": 13, "usageRateCalculationTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "generalLedgerId": 23, "generalLedgerName": "Sample Text Data", "serviceTaxCategoryId": 2, "serviceTaxCategoryName": "Sample Text Data" } ] } } |