TAG LINE
TAG LINE
SMALL TITLE

Account / Service

(API Version v10)


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": 20
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": 9
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": 18
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": 21
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": 23
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
READ-ONLY
"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
READ-ONLY
"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
READ-ONLY
"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
READ-ONLY
"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
READ-ONLY
"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": 3
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": 13
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": 23
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


Patch Types

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 AccountService object.

Standard PATCH objects:

  • accountServiceTemporal - create, update, delete
  • usageRatePlan - update, delete

DataFlow PATCH objects:


End Points

DELETEAccount/Service/{id}
Delete an instance of the AccountService 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 AccountService object.
Delete an instance of the AccountService object.
DELETE Account/Service/{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": "accountService"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETAccount/Service/
Retrieve all of the AccountService objects.
Retrieve all of the AccountService objects.
GET Account/Service/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "serviceId": 18,
            "serviceName": "Sample Text Data",
            "accountId": 21,
            "accountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "accountPackageId": "Sample Text Data",
            "accountPackageName": "Sample Text Data",
            "name": "Sample Text Data",
            "amount": 16,
            "updated": "2021-04-26T15:25:27.587Z",
            "effective": "2021-04-26T15:25:27.587Z",
            "posted": "2021-04-26T15:25:27.587Z",
            "createdByUserId": 19,
            "createdByUserName": "Sample Text Data",
            "updatedByUserId": 23,
            "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": 12,
            "billCancelOptionTypeName": "Sample Text Data",
            "isTaxInclusive": true,
            "serviceTaxCategoryId": 25,
            "serviceTaxCategoryName": "Sample Text Data",
            "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
            "id": "Sample Text Data"
        }
    ]
}
GETAccount/Service/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/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": 23,
                "serviceName": "Sample Text Data",
                "accountId": 21,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 24,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 26,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 27,
                "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": 6,
                "addOnPackageFrequencyName": "Sample Text Data",
                "billCancelOptionTypeId": 9,
                "billCancelOptionTypeName": "Sample Text Data",
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 14,
                "serviceTaxCategoryName": "Sample Text Data",
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data"
            }
        ]
    }
}
GETAccount/Service/Paged/Detail
Retrieve all of the AccountService 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 AccountService objects in a paged fashion with all object details.
GET Account/Service/Paged/Detail
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": 17,
                "serviceName": "Sample Text Data",
                "accountId": 2,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 23,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 1,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 15,
                "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": 18,
                "addOnPackageFrequencyName": "Sample Text Data",
                "billCancelOptionTypeId": 4,
                "billCancelOptionTypeName": "Sample Text Data",
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 1,
                "serviceTaxCategoryName": "Sample Text Data",
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data",
                "details": {
                    "temporalData": [
                        {
                            "accountServiceName": "Sample Text Data",
                            "serviceStatusTypeId": 91,
                            "serviceStatusTypeName": "Sample Text Data",
                            "udrUsageIdentifier": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "end": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "accountServiceUsageBuckets": [
                        {
                            "identity": 45,
                            "usageBucketId": 91,
                            "usageBucketName": "Sample Text Data",
                            "accountServiceName": "Sample Text Data",
                            "refillFrequency": 16,
                            "refillFrequencyTypeId": 68,
                            "refillFrequencyTypeName": "Sample Text Data",
                            "effective": "2021-04-26T15:25:27.587Z",
                            "effectiveCancel": "2021-04-26T15:25:27.587Z",
                            "prorate": true,
                            "isInfiniteLastTier": true,
                            "isThresholdPerAccountService": true,
                            "usageBucketRefillTypeId": 91,
                            "usageBucketRefillTypeName": "Sample Text Data",
                            "expireAfterFrequency": 82,
                            "expireAfterFrequencyTypeId": 70,
                            "expireAfterFrequencyTypeName": "Sample Text Data",
                            "expireAfterRecurrence": 20,
                            "accountPackageActivation": true,
                            "isSharedAcrossPackage": true,
                            "overageUsageRatePlanId": 39,
                            "overageUsageRatePlanName": "Sample Text Data",
                            "details": {
                                "tiers": [
                                    {
                                        "identity": 27,
                                        "usageBucketTierId": 70,
                                        "accountServiceUsageBucketId": 46,
                                        "threshold": 52.32,
                                        "flatCharge": 74.91,
                                        "usageUnitId": 46,
                                        "usageUnitName": "Sample Text Data",
                                        "money": 91.17
                                    }
                                ],
                                "contributions": [
                                    {
                                        "identity": 24,
                                        "accountSharePlanParticipationId": 28,
                                        "accountServiceUsageBucketId": 10,
                                        "isContributing": true,
                                        "contributingAmount": 16.1,
                                        "contributingUsageUnitId": 71,
                                        "contributingUsageUnitName": "Sample Text Data"
                                    }
                                ]
                            }
                        }
                    ],
                    "discountTracking": [
                        {
                            "identity": 22,
                            "accountServiceName": "Sample Text Data",
                            "accountPackageServiceDiscountId": 26,
                            "frequency": 66,
                            "frequencyTypeId": 49,
                            "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"
                        }
                    ],
                    "discountPromoCodes": [
                        {
                            "identity": 85,
                            "name": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "generalLedgerId": 59,
                            "isFreeTrial": true,
                            "isNegativeAllowed": true
                        }
                    ]
                }
            }
        ]
    }
}
GETAccount/Service/UsageIdentifierHistory
Retrieve account services that match a search prefix parameter.
Retrieve account services that match a search prefix parameter.
GET Account/Service/UsageIdentifierHistory
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "serviceId": 1,
            "serviceName": "Sample Text Data",
            "accountId": 15,
            "accountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "accountPackageId": "Sample Text Data",
            "accountPackageName": "Sample Text Data",
            "name": "Sample Text Data",
            "amount": 23,
            "updated": "2021-04-26T15:25:27.587Z",
            "effective": "2021-04-26T15:25:27.587Z",
            "posted": "2021-04-26T15:25:27.587Z",
            "createdByUserId": 6,
            "createdByUserName": "Sample Text Data",
            "updatedByUserId": 12,
            "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": 24,
            "addOnPackageFrequencyName": "Sample Text Data",
            "billCancelOptionTypeId": 21,
            "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/{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/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "serviceId": 5,
        "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": 18,
        "updated": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "posted": "2021-04-26T15:25:27.587Z",
        "createdByUserId": 22,
        "createdByUserName": "Sample Text Data",
        "updatedByUserId": 19,
        "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": 9,
        "addOnPackageFrequencyName": "Sample Text Data",
        "billCancelOptionTypeId": 22,
        "billCancelOptionTypeName": "Sample Text Data",
        "isTaxInclusive": true,
        "serviceTaxCategoryId": 13,
        "serviceTaxCategoryName": "Sample Text Data",
        "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
        "id": "Sample Text Data"
    }
}
GETAccount/Service/{id}/Current
Returns the most recent status of the AccountService.
{id}Unique identifier for the AccountService object.
GETAccount/Service/{id}/Detail
Retrieve deep detail of the AccountService 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 AccountService object.
Retrieve deep detail of the AccountService object by its ID.
GET Account/Service/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "serviceId": 1,
        "serviceName": "Sample Text Data",
        "accountId": 7,
        "accountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "accountPackageId": "Sample Text Data",
        "accountPackageName": "Sample Text Data",
        "name": "Sample Text Data",
        "amount": 2,
        "updated": "2021-04-26T15:25:27.587Z",
        "effective": "2021-04-26T15:25:27.587Z",
        "posted": "2021-04-26T15:25:27.587Z",
        "createdByUserId": 1,
        "createdByUserName": "Sample Text Data",
        "updatedByUserId": 11,
        "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": 3,
        "addOnPackageFrequencyName": "Sample Text Data",
        "billCancelOptionTypeId": 0,
        "billCancelOptionTypeName": "Sample Text Data",
        "isTaxInclusive": true,
        "serviceTaxCategoryId": 16,
        "serviceTaxCategoryName": "Sample Text Data",
        "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
        "id": "Sample Text Data",
        "details": {
            "temporalData": [
                {
                    "accountServiceName": "Sample Text Data",
                    "serviceStatusTypeId": 91,
                    "serviceStatusTypeName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "end": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "accountServiceUsageBuckets": [
                {
                    "identity": 45,
                    "usageBucketId": 91,
                    "usageBucketName": "Sample Text Data",
                    "accountServiceName": "Sample Text Data",
                    "refillFrequency": 16,
                    "refillFrequencyTypeId": 68,
                    "refillFrequencyTypeName": "Sample Text Data",
                    "effective": "2021-04-26T15:25:27.587Z",
                    "effectiveCancel": "2021-04-26T15:25:27.587Z",
                    "prorate": true,
                    "isInfiniteLastTier": true,
                    "isThresholdPerAccountService": true,
                    "usageBucketRefillTypeId": 91,
                    "usageBucketRefillTypeName": "Sample Text Data",
                    "expireAfterFrequency": 82,
                    "expireAfterFrequencyTypeId": 70,
                    "expireAfterFrequencyTypeName": "Sample Text Data",
                    "expireAfterRecurrence": 20,
                    "accountPackageActivation": true,
                    "isSharedAcrossPackage": true,
                    "overageUsageRatePlanId": 39,
                    "overageUsageRatePlanName": "Sample Text Data",
                    "details": {
                        "tiers": [
                            {
                                "identity": 27,
                                "usageBucketTierId": 70,
                                "accountServiceUsageBucketId": 46,
                                "threshold": 52.32,
                                "flatCharge": 74.91,
                                "usageUnitId": 46,
                                "usageUnitName": "Sample Text Data",
                                "money": 91.17
                            }
                        ],
                        "contributions": [
                            {
                                "identity": 24,
                                "accountSharePlanParticipationId": 28,
                                "accountServiceUsageBucketId": 10,
                                "isContributing": true,
                                "contributingAmount": 16.1,
                                "contributingUsageUnitId": 71,
                                "contributingUsageUnitName": "Sample Text Data"
                            }
                        ]
                    }
                }
            ],
            "discountTracking": [
                {
                    "identity": 22,
                    "accountServiceName": "Sample Text Data",
                    "accountPackageServiceDiscountId": 26,
                    "frequency": 66,
                    "frequencyTypeId": 49,
                    "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"
                }
            ],
            "discountPromoCodes": [
                {
                    "identity": 85,
                    "name": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "generalLedgerId": 59,
                    "isFreeTrial": true,
                    "isNegativeAllowed": true
                }
            ]
        }
    }
}
PATCHAccount/Service/{id}
Update or Add the AccountService 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 AccountService object.
Update or Add the AccountService object and optionally make changes to any child objects.
PATCH Account/Service/{id}

{
    "details": {},
    "accountServices": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "serviceId": 16,
                "accountId": 11,
                "accountPackageId": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 21,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 5,
                "updatedByUserId": 27,
                "effectiveCancel": "2021-04-26T15:25:27.587Z",
                "addOnPackageFrequencyId": 8,
                "billCancelOptionTypeId": 7,
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 22,
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "accountService",
                "instance": {
                    "identity": 1,
                    "serviceId": 15,
                    "serviceName": "Sample Text Data",
                    "accountId": 9,
                    "accountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "accountPackageId": "Sample Text Data",
                    "accountPackageName": "Sample Text Data",
                    "name": "Sample Text Data",
                    "amount": 5,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "effective": "2021-04-26T15:25:27.587Z",
                    "posted": "2021-04-26T15:25:27.587Z",
                    "createdByUserId": 4,
                    "createdByUserName": "Sample Text Data",
                    "updatedByUserId": 21,
                    "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": 10,
                    "addOnPackageFrequencyName": "Sample Text Data",
                    "billCancelOptionTypeId": 14,
                    "billCancelOptionTypeName": "Sample Text Data",
                    "isTaxInclusive": true,
                    "serviceTaxCategoryId": 7,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                    "id": "Sample Text Data"
                }
            }
        ]
    }
}
POSTAccount/Service/
Create a new instance of the AccountService object.
Create a new instance of the AccountService object.
POST Account/Service/

{
    "serviceId": 6,
    "accountId": 22,
    "accountPackageId": "Sample Text Data",
    "name": "Sample Text Data",
    "amount": 1,
    "updated": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "posted": "2021-04-26T15:25:27.587Z",
    "createdByUserId": 17,
    "updatedByUserId": 14,
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "addOnPackageFrequencyId": 15,
    "billCancelOptionTypeId": 3,
    "isTaxInclusive": true,
    "serviceTaxCategoryId": 24,
    "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "serviceId": 3,
                "serviceName": "Sample Text Data",
                "accountId": 3,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 15,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 21,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 3,
                "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": 24,
                "addOnPackageFrequencyName": "Sample Text Data",
                "billCancelOptionTypeId": 22,
                "billCancelOptionTypeName": "Sample Text Data",
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 15,
                "serviceTaxCategoryName": "Sample Text Data",
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data"
            }
        ]
    }
}
PUTAccount/Service/{id}
Update an existing instance of the AccountService object.
Update an existing instance of the AccountService object.
PUT Account/Service/{id}

{
    "identity": 1,
    "serviceId": 20,
    "accountId": 11,
    "accountPackageId": "Sample Text Data",
    "name": "Sample Text Data",
    "amount": 1,
    "updated": "2021-04-26T15:25:27.587Z",
    "effective": "2021-04-26T15:25:27.587Z",
    "posted": "2021-04-26T15:25:27.587Z",
    "createdByUserId": 14,
    "updatedByUserId": 10,
    "effectiveCancel": "2021-04-26T15:25:27.587Z",
    "addOnPackageFrequencyId": 12,
    "billCancelOptionTypeId": 10,
    "isTaxInclusive": true,
    "serviceTaxCategoryId": 15,
    "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
    "id": "Sample Text Data"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "serviceId": 23,
                "serviceName": "Sample Text Data",
                "accountId": 10,
                "accountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "name": "Sample Text Data",
                "amount": 24,
                "updated": "2021-04-26T15:25:27.587Z",
                "effective": "2021-04-26T15:25:27.587Z",
                "posted": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 1,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 9,
                "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": 0,
                "addOnPackageFrequencyName": "Sample Text Data",
                "billCancelOptionTypeId": 2,
                "billCancelOptionTypeName": "Sample Text Data",
                "isTaxInclusive": true,
                "serviceTaxCategoryId": 15,
                "serviceTaxCategoryName": "Sample Text Data",
                "importLastUsageBilled": "2021-04-26T15:25:27.587Z",
                "id": "Sample Text Data"
            }
        ]
    }
}