TAG LINE
TAG LINE
SMALL TITLE
An Account Service is a billable line item of a Package that has been assigned to an account.
identity READ-ONLY | "identity": "Hello World" Type: String This is the unique numeric identifier for the AccountService |
serviceId | "serviceId": 10 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": 1 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": 20 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": 4 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": 24 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": 15 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 |
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:
DataFlow PATCH objects:
DELETE | Account/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} 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" } ] } } |
GET | Account/Service/ |
Retrieve all of the AccountService objects. | |
Retrieve all of the AccountService objects. GET Account/Service/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "serviceId": 14, "serviceName": "Sample Text Data", "accountId": 11, "accountName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "accountPackageId": "Sample Text Data", "accountPackageName": "Sample Text Data", "name": "Sample Text Data", "amount": 12, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 8, "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": 15, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 10, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 5, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } |
GET | Account/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 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": 3, "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": 4, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 3, "createdByUserName": "Sample Text Data", "updatedByUserId": 22, "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": 20, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 9, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 21, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } } |
GET | Account/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 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": 4, "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": 7, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 20, "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": 18, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 6, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 18, "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 } ] } } ] } } |
GET | Account/Service/UsageIdentifier |
Retrieve account services that match a search prefix parameter.When passed in a usage identifier prefix, will execute a search for that usage identifier and return all Account Services that match a “Starts With” search for that prefix. An example of calling this API would be Account/Service/UsageIdentifier?prefix=44455514 | |
Retrieve account services that match a search prefix parameter. GET Account/Service/UsageIdentifier HTTP/1.1 200 OK { "trackingId": "c50906bc-492b-4c87-9b83-eec9dd887aa8", "totalCount": 2, "items": [ { "accountId": 196, "accountName": "mlongo", "accountPackageId": 3173, "accountPackageName": "Share Plan 1 Package (#3173)", "accountServiceId": 20118, "accountServiceName": "Contributing Service 1 - 10 SMS (#20118)", "udrUsageIdentifier": "4445551444", "serviceStatusTypeId": 12, "serviceStatusTypeName": "Active", "start": "2020-02-16T20:48:00Z", "end": null }, { "accountId": 196, "accountName": "mlongo", "accountPackageId": 3173, "accountPackageName": "Share Plan 1 Package (#3173)", "accountServiceId": 20111, "accountServiceName": "Contributing Service 1 - 10 minutes (#20111)", "udrUsageIdentifier": "4445551404", "serviceStatusTypeId": 12, "serviceStatusTypeName": "Active", "start": "2020-02-13T20:43:08Z", "end": null } ] } |
GET | Account/Service/UsageIdentifier/Paged |
Retrieve account services that match a search prefix parameter. 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 account services that match a search prefix parameter. GET Account/Service/UsageIdentifier/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, "serviceId": 14, "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": 9, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 15, "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": 10, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 3, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } } |
GET | Account/Service/UsageIdentifierHistory |
Retrieve account services that match a search prefix parameter. | |
Retrieve account services that match a search prefix parameter. GET Account/Service/UsageIdentifierHistory HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "serviceId": 7, "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": 4, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 18, "createdByUserName": "Sample Text Data", "updatedByUserId": 22, "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": 6, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 0, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } |
GET | Account/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} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "serviceId": 22, "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": 20, "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": 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": 20, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 21, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 22, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } } |
GET | Account/Service/{id}/Current |
Returns the most recent status of the AccountService. | |
{id} | Unique identifier for the AccountService object. |
GET | Account/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 HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "serviceId": 26, "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": 22, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 24, "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": 4, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 6, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 9, "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 } ] } } } |
PATCH | Account/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": 8, "accountId": 2, "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": 16, "updatedByUserId": 5, "effectiveCancel": "2021-04-26T15:25:27.587Z", "addOnPackageFrequencyId": 20, "billCancelOptionTypeId": 23, "isTaxInclusive": true, "serviceTaxCategoryId": 8, "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } } 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": 14, "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": 22, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 2, "createdByUserName": "Sample Text Data", "updatedByUserId": 24, "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": 10, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 19, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } } ] } } |
POST | Account/Service/ |
Create a new instance of the AccountService object. | |
Create a new instance of the AccountService object. POST Account/Service/ { "serviceId": 8, "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": 23, "effectiveCancel": "2021-04-26T15:25:27.587Z", "addOnPackageFrequencyId": 24, "billCancelOptionTypeId": 7, "isTaxInclusive": true, "serviceTaxCategoryId": 18, "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "serviceId": 7, "serviceName": "Sample Text Data", "accountId": 24, "accountName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "accountPackageId": "Sample Text Data", "accountPackageName": "Sample Text Data", "name": "Sample Text Data", "amount": 3, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 12, "createdByUserName": "Sample Text Data", "updatedByUserId": 1, "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": 14, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 19, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 1, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } } |
PUT | Account/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": 25, "accountId": 12, "accountPackageId": "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": 0, "updatedByUserId": 10, "effectiveCancel": "2021-04-26T15:25:27.587Z", "addOnPackageFrequencyId": 17, "billCancelOptionTypeId": 23, "isTaxInclusive": true, "serviceTaxCategoryId": 21, "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "serviceId": 10, "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": 10, "updated": "2021-04-26T15:25:27.587Z", "effective": "2021-04-26T15:25:27.587Z", "posted": "2021-04-26T15:25:27.587Z", "createdByUserId": 24, "createdByUserName": "Sample Text Data", "updatedByUserId": 26, "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": 8, "addOnPackageFrequencyName": "Sample Text Data", "billCancelOptionTypeId": 14, "billCancelOptionTypeName": "Sample Text Data", "isTaxInclusive": true, "serviceTaxCategoryId": 18, "serviceTaxCategoryName": "Sample Text Data", "importLastUsageBilled": "2021-04-26T15:25:27.587Z", "id": "Sample Text Data" } ] } } |