TAG LINE
SMALL TITLE

Usage / Rate / Calculation Type

(API Version v4)


Defines a system list of different calculation types such as Rated, Fixed etc.


What can you do with UsageRateCalculationType?


Properties

Property Details
identity
READ-ONLY
"identity": 27
Type: Number
This is the unique numeric identifier for the UsageRateCalculationType
name
"name": "Rated"
Type: String
The system defined name for the Calculation Type
description
"description": "Rated"
Type: String
The system defined description for the Calculation Type
sortOrder
READ-ONLY
"sortOrder": 12
Type: Number
Unused
visible
READ-ONLY
"visible": true
Type: Boolean
Unused


End Points

GETapi/v4/Usage/Rate/CalculationType/
Retrieve all of the UsageRateCalculationType objects.
Retrieve all of the UsageRateCalculationType objects.
GET api/v4/Usage/Rate/CalculationType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Rated",
            "description": "Rated",
            "sortOrder": 14,
            "visible": true
        }
    ]
}
GETapi/v4/Usage/Rate/CalculationType/Paged
Retrieve all of the UsageRateCalculationType 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 UsageRateCalculationType objects in a paged fashion.
GET api/v4/Usage/Rate/CalculationType/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,
                "name": "Rated",
                "description": "Rated",
                "sortOrder": 11,
                "visible": true
            }
        ]
    }
}
GETapi/v4/Usage/Rate/CalculationType/{id}
Retrieve an instance of the UsageRateCalculationType object by its ID.
{id}Unique identifier for the UsageRateCalculationType object.
Retrieve an instance of the UsageRateCalculationType object by its ID.
GET api/v4/Usage/Rate/CalculationType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Rated",
        "description": "Rated",
        "sortOrder": 11,
        "visible": true
    }
}
POSTapi/v4/Usage/Rate/CalculationType/Search
Retreive a list of UsageRateCalculationType objects based on search criteria. Search end points allow for retrieving results based on search criteria. Search criteria is sent as the payload of the POST.
Retreive a list of UsageRateCalculationType objects based on search criteria.
POST api/v4/Usage/Rate/CalculationType/Search

{
    "query": {
        "top": 20,
        "search": [
            {
                "name": "MyFieldName",
                "operator": "startsWith",
                "value": "a"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "itemCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Rated",
            "description": "Rated",
            "sortOrder": 19,
            "visible": true
        }
    ]
}