TAG LINE
SMALL TITLE

Account / Service / Discount / Tracking

(API Version v4)


What can you do with AccountServiceDiscountTracking?


Properties

Property Details
identity
READ-ONLY
"identity": 19
Type: Number
This is the unique numeric identifier for the AccountServiceDiscountTracking
accountServiceId
"accountServiceId": "Hello World"
Type: String
Unique identifier for the associated AccountService object.
accountServiceName
"accountServiceName": "Sample Name"
Type: String
The name of the object associated with the accountServiceId property.
accountPackageServiceDiscountId
"accountPackageServiceDiscountId": 5
Type: Number
Unique identifier for the associated AccountPackageServiceDiscount object.
accountPackageServiceDiscountName
"accountPackageServiceDiscountName": "Sample Name"
Type: String
The name of the object associated with the accountPackageServiceDiscountId property.
frequency
"frequency": 23
Type: Number
frequencyTypeId
"frequencyTypeId": 4
Type: Number
Unique identifier for the associated FrequencyType object.
frequencyTypeName
"frequencyTypeName": "Sample Name"
Type: String
The name of the object associated with the frequencyTypeId property.
start
"start": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
lastProcessed
"lastProcessed": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
finalized
"finalized": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.


End Points

GETapi/v4/Account/Service/Discount/Tracking/
Retrieve all of the AccountServiceDiscountTracking objects.
Retrieve all of the AccountServiceDiscountTracking objects.
GET api/v4/Account/Service/Discount/Tracking/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountServiceId": "Sample Text Data",
            "accountServiceName": "Sample Text Data",
            "accountPackageServiceDiscountId": 20,
            "accountPackageServiceDiscountName": "Sample Text Data",
            "frequency": 16,
            "frequencyTypeId": 18,
            "frequencyTypeName": "Sample Text Data",
            "start": "2021-04-26T15:25:27.587Z",
            "lastProcessed": "2021-04-26T15:25:27.587Z",
            "finalized": "2021-04-26T15:25:27.587Z"
        }
    ]
}
GETapi/v4/Account/Service/Discount/Tracking/Paged
Retrieve all of the AccountServiceDiscountTracking 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 AccountServiceDiscountTracking objects in a paged fashion.
GET api/v4/Account/Service/Discount/Tracking/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,
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "accountPackageServiceDiscountId": 13,
                "accountPackageServiceDiscountName": "Sample Text Data",
                "frequency": 12,
                "frequencyTypeId": 26,
                "frequencyTypeName": "Sample Text Data",
                "start": "2021-04-26T15:25:27.587Z",
                "lastProcessed": "2021-04-26T15:25:27.587Z",
                "finalized": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
GETapi/v4/Account/Service/Discount/Tracking/{id}
Retrieve an instance of the AccountServiceDiscountTracking object by its ID.
{id}Unique identifier for the AccountServiceDiscountTracking object.
Retrieve an instance of the AccountServiceDiscountTracking object by its ID.
GET api/v4/Account/Service/Discount/Tracking/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountServiceId": "Sample Text Data",
        "accountServiceName": "Sample Text Data",
        "accountPackageServiceDiscountId": 1,
        "accountPackageServiceDiscountName": "Sample Text Data",
        "frequency": 25,
        "frequencyTypeId": 13,
        "frequencyTypeName": "Sample Text Data",
        "start": "2021-04-26T15:25:27.587Z",
        "lastProcessed": "2021-04-26T15:25:27.587Z",
        "finalized": "2021-04-26T15:25:27.587Z"
    }
}
POSTapi/v4/Account/Service/Discount/Tracking/Search
Retreive a list of AccountServiceDiscountTracking 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 AccountServiceDiscountTracking objects based on search criteria.
POST api/v4/Account/Service/Discount/Tracking/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,
            "accountServiceId": "Sample Text Data",
            "accountServiceName": "Sample Text Data",
            "accountPackageServiceDiscountId": 25,
            "accountPackageServiceDiscountName": "Sample Text Data",
            "frequency": 21,
            "frequencyTypeId": 12,
            "frequencyTypeName": "Sample Text Data",
            "start": "2021-04-26T15:25:27.587Z",
            "lastProcessed": "2021-04-26T15:25:27.587Z",
            "finalized": "2021-04-26T15:25:27.587Z"
        }
    ]
}