TAG LINE
TAG LINE
SMALL TITLE

Account / Service / Current

(API Version v8)


An Account Service is a billable line item of a Package that has been assigned to an account.


What can you do with AccountService?


Properties

Property Details
identity
READ-ONLY
"identity": "Hello World"
Type: String
This is the unique numeric identifier for the AccountService
serviceId
"serviceId": 1
Type: Number
Unique identifier for the associated Service object.
serviceName
"serviceName": "Sample Name"
Type: String
The name of the object associated with the serviceId property.
accountId
"accountId": 20
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId 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.
accountPackageId
"accountPackageId": "Hello World"
Type: String
Unique identifier for the associated AccountPackage object.
accountPackageName
"accountPackageName": "Sample Name"
Type: String
The name of the object associated with the accountPackageId property.
name
"name": "Hello World"
Type: String
This is the name assigned to the Service typically inherited from the product catalog.
amount
"amount": 2
Type: Number
The quantity of this service within its associated package.
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.
effective
"effective": "2021-04-26T15:25:27.587Z"
Type: Date
The effective date when this account service becomes billable.

Date and time values are specified in the ISO 8601 format.
posted
"posted": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
createdByUserId
"createdByUserId": 25
Type: Number
Unique identifier for the associated User object.
createdByUserName
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
updatedByUserId
"updatedByUserId": 17
Type: Number
Unique identifier for the associated User object.
updatedByUserName
"updatedByUserName": "Sample Name"
Type: String
The name of the object associated with the updatedByUserId property.
effectiveCancel
"effectiveCancel": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service will be cancelled.

Date and time values are specified in the ISO 8601 format.
usageNextBill
"usageNextBill": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service will have its related usage billed.

Date and time values are specified in the ISO 8601 format.
usageFinalBill
"usageFinalBill": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service had its final related usage billed.

Date and time values are specified in the ISO 8601 format.
finalBill
"finalBill": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service had its final related recurring and one time charges billed.

Date and time values are specified in the ISO 8601 format.
lastBilled
"lastBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service's related recurring and one time charges were last billed.

Date and time values are specified in the ISO 8601 format.
lastUsageBilled
"lastUsageBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date when this account service's related usage was last billed.

Date and time values are specified in the ISO 8601 format.
addOnPackageFrequencyId
"addOnPackageFrequencyId": 8
Type: Number
Unique identifier for the associated PackageFrequency object.
addOnPackageFrequencyName
"addOnPackageFrequencyName": "Sample Name"
Type: String
The name of the object associated with the addOnPackageFrequencyId property.
billCancelOptionTypeId
"billCancelOptionTypeId": 6
Type: Number
Unique identifier for the associated BillCancelOptionType object.
billCancelOptionTypeName
"billCancelOptionTypeName": "Sample Name"
Type: String
The name of the object associated with the billCancelOptionTypeId property.
isTaxInclusive
"isTaxInclusive": true
Type: Boolean
Determines if the account service is tax inclusive or not.
serviceTaxCategoryId
"serviceTaxCategoryId": 17
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.
importLastUsageBilled
"importLastUsageBilled": "2021-04-26T15:25:27.587Z"
Type: Date
The date the account service was imported on.

Date and time values are specified in the ISO 8601 format.
id
"id": "Hello World"
Type: String


End Points

GETAccount/Service/Current/
Retrieve all of the AccountService objects.
Retrieve all of the AccountService objects.
GET Account/Service/Current/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "serviceId": 17,
            "serviceName": "Sample Text Data",
            "accountId": 12,
            "accountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "accountPackageId": "Sample Text Data",
            "accountPackageName": "Sample Text Data",
            "name": "Sample Text Data",
            "amount": 26,
            "updated": "2021-04-26T15:25:27.587Z",
            "effective": "2021-04-26T15:25:27.587Z",
            "posted": "2021-04-26T15:25:27.587Z",
            "createdByUserId": 14,
            "createdByUserName": "Sample Text Data",
            "updatedByUserId": 25,
            "updatedByUserName": "Sample Text Data",
            "effectiveCancel": "2021-04-26T15:25:27.587Z",
            "usageNextBill": "2021-04-26T15:25:27.587Z",
            "usageFinalBill": "2021-04-26T15:25:27.587Z",
            "finalBill": "2021-04-26T15:25:27.587Z",
            "lastBilled": "2021-04-26T15:25:27.587Z",
            "lastUsageBilled": "2021-04-26T15:25:27.587Z",
            "addOnPackageFrequencyId": 22,
            "addOnPackageFrequencyName": "Sample Text Data",
            "billCancelOptionTypeId": 9,
            "billCancelOptionTypeName": "Sample Text Data",
            "isTaxInclusive": true,
            "serviceTaxCategoryId": 24,
            "serviceTaxCategoryName": "Sample Text Data",
            "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
            "id": "Sample Text Data"
        }
    ]
}
GETAccount/Service/Current/Paged
Retrieve all of the AccountService 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 AccountService objects in a paged fashion.
GET Account/Service/Current/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,
                "serviceId": 20,
                "serviceName": "Sample Text Data",
                "accountId": 4,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 6,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 14,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 4,
                "updatedByUserName": "Sample Text Data",
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "usageNextBill": "2021-04-26T15:25:27.587Z",
                "usageFinalBill": "2021-04-26T15:25:27.587Z",
                "finalBill": "2021-04-26T15:25:27.587Z",
                "lastBilled": "2021-04-26T15:25:27.587Z",
                "lastUsageBilled": "2021-04-26T15:25:27.587Z",
                "addOnPackageFrequencyId": 22,
                "addOnPackageFrequencyName": "Sample Text Data",
                "billCancelOptionTypeId": 0,
                "billCancelOptionTypeName": "Sample Text Data",
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 10,
                "serviceTaxCategoryName": "Sample Text Data",
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data"
            }
        ]
    }
}
GETAccount/Service/Current/{id}
Retrieve an instance of the AccountService object by its ID.
{id}Unique identifier for the AccountService object.
Retrieve an instance of the AccountService object by its ID.
GET Account/Service/Current/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "serviceId": 8,
        "serviceName": "Sample Text Data",
        "accountId": 19,
        "accountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "accountPackageId": "Sample Text Data",
        "accountPackageName": "Sample Text Data",
        "name": "Sample Text Data",
        "amount": 8,
        "updated": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "posted": "2021-04-26T15:25:27.587Z",
        "createdByUserId": 23,
        "createdByUserName": "Sample Text Data",
        "updatedByUserId": 4,
        "updatedByUserName": "Sample Text Data",
        "effectiveCancel": "2021-04-26T15:25:27.587Z",
        "usageNextBill": "2021-04-26T15:25:27.587Z",
        "usageFinalBill": "2021-04-26T15:25:27.587Z",
        "finalBill": "2021-04-26T15:25:27.587Z",
        "lastBilled": "2021-04-26T15:25:27.587Z",
        "lastUsageBilled": "2021-04-26T15:25:27.587Z",
        "addOnPackageFrequencyId": 5,
        "addOnPackageFrequencyName": "Sample Text Data",
        "billCancelOptionTypeId": 14,
        "billCancelOptionTypeName": "Sample Text Data",
        "isTaxInclusive": true,
        "serviceTaxCategoryId": 13,
        "serviceTaxCategoryName": "Sample Text Data",
        "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
        "id": "Sample Text Data"
    }
}