TAG LINE
TAG LINE
SMALL TITLE
The Account object represents a customer account in the system. It holds essential information about the details of the account such as when it is billed.
identity READ-ONLY | "identity": 23 Type: Number This is the unique numeric identifier for the Account |
currencyId | "currencyId": 4 Type: Number Unique identifier for the associated Currency object. |
currencyName | "currencyName": "Sample Name" Type: String The name of the object associated with the currencyId property. |
ownerId READ-ONLY | "ownerId": 11 Type: Number Unique identifier for the associated Owner object. |
ownerName READ-ONLY | "ownerName": "Sample Name" Type: String The name of the object associated with the ownerId property. |
name | "name": "My Account" Type: String This is the name given to the account. |
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. |
accountStatusTypeId | "accountStatusTypeId": 9 Type: Number Unique identifier for the associated AccountStatusType object. |
accountStatusTypeName | "accountStatusTypeName": "Sample Name" Type: String The name of the object associated with the accountStatusTypeId property. |
billGroupId | "billGroupId": 26 Type: Number Unique identifier for the associated BillGroup object. |
billGroupName | "billGroupName": "Sample Name" Type: String The name of the object associated with the billGroupId property. |
actingOwnerId READ-ONLY | "actingOwnerId": 24 Type: Number Unique identifier for the associated Owner object. |
actingOwnerName READ-ONLY | "actingOwnerName": "Sample Name" Type: String The name of the object associated with the actingOwnerId property. |
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. |
effectiveCancel | "effectiveCancel": "2021-04-26T15:25:27.587Z" Type: Date This is the date for when the account is to be cancelled. Date and time values are specified in the ISO 8601 format. |
invoiceDeliveryId | "invoiceDeliveryId": 12 Type: Number Unique identifier for the associated InvoiceDelivery object. |
invoiceDeliveryName | "invoiceDeliveryName": "Sample Name" Type: String The name of the object associated with the invoiceDeliveryId property. |
accountsReceivableTermsId | "accountsReceivableTermsId": 16 Type: Number Unique identifier for the associated AccountsReceivableTerms object. |
accountsReceivableTermsName | "accountsReceivableTermsName": "Sample Name" Type: String The name of the object associated with the accountsReceivableTermsId property. |
accountTypeId | "accountTypeId": 15 Type: Number Unique identifier for the associated AccountType object. |
accountTypeName | "accountTypeName": "Sample Name" Type: String The name of the object associated with the accountTypeId property. |
billDay | "billDay": 1 Type: Number The day of the month that this account's subscriptions and one time charges are billed. |
accountTaxCategoryId | "accountTaxCategoryId": 27 Type: Number Unique identifier for the associated AccountTaxCategory object. |
accountTaxCategoryName | "accountTaxCategoryName": "Sample Name" Type: String The name of the object associated with the accountTaxCategoryId property. |
taxCodeId | "taxCodeId": 26 Type: Number Unique identifier for the associated TaxCode object. |
taxCodeName | "taxCodeName": "Sample Name" Type: String The name of the object associated with the taxCodeId property. |
invoicerAccountId | "invoicerAccountId": My Invoicer Account Type: Number This is the account that will receive the invoice for subscriptions and one-time charges. Unique identifier for the associated Account object. |
invoicerAccountName | "invoicerAccountName": "Sample Name" Type: String The name of the object associated with the invoicerAccountId property. |
usageInvoicerAccountId | "usageInvoicerAccountId": My Usage Invoicer Account Type: Number This is the account that will receive the invoice for usage charges. Unique identifier for the associated Account object. |
usageInvoicerAccountName | "usageInvoicerAccountName": "Sample Name" Type: String The name of the object associated with the usageInvoicerAccountId property. |
taxSettingAccountId | "taxSettingAccountId": My Usage Invoicer Account Type: Number This is the account that is used for tax calculation purposes. Unique identifier for the associated Account object. |
taxSettingAccountName | "taxSettingAccountName": "Sample Name" Type: String The name of the object associated with the taxSettingAccountId property. |
usageBillDay | "usageBillDay": 1 Type: Number The day of the month that this account's metered usage is billed. |
isReadOnlyBillDay | "isReadOnlyBillDay": true Type: Boolean If this account's bill day is inherited from an another invoicer account. |
isReadOnlyUsageBillDay | "isReadOnlyUsageBillDay": false Type: Boolean If this account's usage bill day is inherited from an another invoicer account. |
displayName | "displayName": "My Account Display Name" Type: String Optional display name associated with the account |
createdByUserId | "createdByUserId": 0 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. |
pendingBillDay | "pendingBillDay": 15 Type: Number Details an upcoming change to the existing billDay i.e. the day of the month that this account's subscriptions and one time charges will be billed. |
pendingUsageBillDay | "pendingUsageBillDay": 15 Type: Number Details an upcoming change to the existing usageBillDay i.e. the day of the month that this account's metered usage is billed. |
lifeline | "lifeline": false Type: Boolean Indicates if an account is a Lifeline customer or not. |
externalAccountIdentifier | "externalAccountIdentifier": "ExternalID-2001" Type: String An optional account ID from an alternative external system. |
vATNumber | "vATNumber": "VAT499001" Type: String The Value Added Tax (VAT) number associated with the account. |
eInvoiceEndpointId | "eInvoiceEndpointId": "01394200362" Type: String The eInvoice Endpoint ID required if using an eInvoice system. |
eInvoiceSchemeId | "eInvoiceSchemeId": "9935" Type: String The eInvoice Scheme ID required if using an eInvoice system. |
zeroInclusiveTaxWhenExempt | "zeroInclusiveTaxWhenExempt": false Type: Boolean Flag to zero-ise any included usage taxes if the account is tax exempt. |
defaultPaymentGatewayId | "defaultPaymentGatewayId": 15 Type: Number Unique identifier for the associated PaymentGateway object. |
defaultPaymentGatewayName | "defaultPaymentGatewayName": "Sample Name" Type: String The name of the object associated with the defaultPaymentGatewayId property. |
id | "id": 10 Type: Number |
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 Account object.
Standard PATCH objects:
DataFlow PATCH objects:
DELETE | Account/{id} |
Delete an instance of the Account 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 Account object. |
Delete an instance of the Account object. DELETE Account/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "account" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
DELETE | Account/{id}/Contact |
Delete a Contact object from the Account. 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 Account object. |
{contactId} | Unique identifier for the Contact object sent down in the body of the request in JSON format.{ "details": { "items": [ { "identity": 1 } ] } } |
Delete a Contact object from the Account. DELETE Account/{id}/Contact HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "account" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
DELETE | Account/{id}/Contact/{contactId} |
Delete a Contact/{contactId} object from the Account. 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 Account object. |
{contact/{contactid}Id} | Unique identifier for the Contact/{contactId} object sent down in the body of the request in JSON format.{ "details": { "items": [ { "identity": 1 } ] } } |
Delete a Contact/{contactId} object from the Account. DELETE Account/{id}/Contact/{contactId} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "account" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
DELETE | Account/{id}/Note |
Delete a Note object from the Account. 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 Account object. |
{noteId} | Unique identifier for the Note object sent down in the body of the request in JSON format.{ "details": { "items": [ { "identity": 1 } ] } } |
Delete a Note object from the Account. DELETE Account/{id}/Note HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "account" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
DELETE | Account/{id}/Note/{noteId} |
Delete a Note/{noteId} object from the Account. 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 Account object. |
{note/{noteid}Id} | Unique identifier for the Note/{noteId} object sent down in the body of the request in JSON format.{ "details": { "items": [ { "identity": 1 } ] } } |
Delete a Note/{noteId} object from the Account. DELETE Account/{id}/Note/{noteId} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "account" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
GET | Account/ |
Retrieve all of the Account objects. | |
Retrieve all of the Account objects. GET Account/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "currencyId": 18, "currencyName": "Sample Text Data", "ownerId": 7, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 9, "accountStatusTypeName": "Sample Text Data", "billGroupId": 12, "billGroupName": "Sample Text Data", "actingOwnerId": 12, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 26, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 3, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 5, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 16, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 23, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 15, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 18, "defaultPaymentGatewayName": "Sample Text Data", "id": 24 } ] } |
GET | Account/ByExtension |
Retrieve all of the Account objects. | |
Retrieve all of the Account objects. GET Account/ByExtension HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "currencyId": 8, "currencyName": "Sample Text Data", "ownerId": 10, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 15, "accountStatusTypeName": "Sample Text Data", "billGroupId": 18, "billGroupName": "Sample Text Data", "actingOwnerId": 25, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 2, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 13, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 17, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 11, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 2, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 0, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 26, "defaultPaymentGatewayName": "Sample Text Data", "id": 0 } ] } |
GET | Account/ByHierarchy |
Retrieve all of the Account objects. | |
Retrieve all of the Account objects. GET Account/ByHierarchy HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "currencyId": 24, "currencyName": "Sample Text Data", "ownerId": 16, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 13, "accountStatusTypeName": "Sample Text Data", "billGroupId": 27, "billGroupName": "Sample Text Data", "actingOwnerId": 18, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 25, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 6, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 10, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 10, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 7, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 22, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 21, "defaultPaymentGatewayName": "Sample Text Data", "id": 15 } ] } |
GET | Account/ByName |
Retrieve all of the Account objects. | |
Retrieve all of the Account objects. GET Account/ByName HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "currencyId": 0, "currencyName": "Sample Text Data", "ownerId": 16, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 11, "accountStatusTypeName": "Sample Text Data", "billGroupId": 2, "billGroupName": "Sample Text Data", "actingOwnerId": 8, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 6, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 20, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 0, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 11, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 22, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 6, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 8, "defaultPaymentGatewayName": "Sample Text Data", "id": 27 } ] } |
GET | Account/Paged |
Retrieve all of the Account 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 Account objects in a paged fashion. GET Account/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, "currencyId": 0, "currencyName": "Sample Text Data", "ownerId": 2, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 5, "accountStatusTypeName": "Sample Text Data", "billGroupId": 13, "billGroupName": "Sample Text Data", "actingOwnerId": 2, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 25, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 11, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 4, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 25, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 23, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 25, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 19, "defaultPaymentGatewayName": "Sample Text Data", "id": 8 } ] } } |
GET | Account/Paged/Detail |
Retrieve all of the Account 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 Account objects in a paged fashion with all object details. GET Account/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, "currencyId": 13, "currencyName": "Sample Text Data", "ownerId": 4, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 8, "accountStatusTypeName": "Sample Text Data", "billGroupId": 18, "billGroupName": "Sample Text Data", "actingOwnerId": 4, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 2, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 27, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 0, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 8, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 2, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 19, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 24, "defaultPaymentGatewayName": "Sample Text Data", "id": 4, "details": { "parent": { "identity": 65, "accountId": 10, "accountName": "Sample Text Data", "parentAccountId": 74, "parentAccountName": "Sample Text Data", "topAccountId": 26, "topAccountName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" }, "contacts": [ { "identity": 75, "contactTypeId": 30, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z", "name": "Sample Text Data", "details": { "contactPoints": [ { "identity": 29, "contactPointTypeId": 98, "contactPointTypeName": "Sample Text Data", "value": "Sample Text Data", "contactId": 64, "updated": "2021-04-26T15:25:27.587Z" } ], "address": { "identity": 56, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 14, "stateName": "Sample Text Data", "countryId": 12, "countryName": "Sample Text Data", "zipCode": "Sample Text Data", "latitude": 4.53, "longitude": 55.08, "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "updated": "2021-04-26T15:25:27.587Z", "stateCode": "Sample Text Data", "countryCode": "Sample Text Data", "fetchTaxJurisdicationAsync": true } } } ], "currentRatePlan": { "identity": 49, "name": "Sample Text Data", "displayName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "start": "2021-04-26T15:25:27.587Z" }, "currentPricePlan": { "identity": 1, "name": "Sample Text Data", "accountId": 69, "accountName": "Sample Text Data", "description": "Sample Text Data", "start": "2021-04-26T15:25:27.587Z", "end": "2021-04-26T15:25:27.587Z", "lastUsedForBilling": "2021-04-26T15:25:27.587Z", "includeChildAccounts": true }, "accountSummary": { "identity": 9, "accountId": 54, "accountName": "Sample Text Data", "balance": 99.75, "balanceDue": 45.65 }, "priceBookRegions": [ { "identity": 43, "name": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "created": "2021-04-26T15:25:27.587Z" } ], "accountTaxExemptions": [ { "identity": 50, "accountId": 8, "accountName": "Sample Text Data", "description": "Sample Text Data", "isFederalTaxLevel": true, "isStateTaxLevel": true, "isCountyTaxLevel": true, "isLocalTaxLevel": true, "taxTypeId": 68, "taxTypeName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "stateId": 55, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 74, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "city": "Sample Text Data" } ], "taxAddresses": [ { "identity": 58, "name": "Sample Text Data", "isShared": true, "accountId": 88, "accountName": "Sample Text Data", "addressId": 14, "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "saveTaxAddressOnInvoicer": true, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 5, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 11, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "fetchTaxJurisdicationAsync": true } ] } } ] } } |
GET | Account/{id} |
Retrieve an instance of the Account object by its ID. | |
{id} | Unique identifier for the Account object. |
Retrieve an instance of the Account object by its ID. GET Account/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 9, "currencyName": "Sample Text Data", "ownerId": 0, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 3, "accountStatusTypeName": "Sample Text Data", "billGroupId": 19, "billGroupName": "Sample Text Data", "actingOwnerId": 22, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 14, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 13, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 10, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 16, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 18, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 15, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 18, "defaultPaymentGatewayName": "Sample Text Data", "id": 5 } } |
GET | Account/{id}/Balance |
Retrieve the Account Balance and the Balance Due for a specified Account ID. | |
{id} | Unique identifier for the Account object. |
Retrieve the Account Balance and the Balance Due for a specified Account ID. GET Account/{id}/Balance HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 11, "currencyName": "Sample Text Data", "ownerId": 8, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 15, "accountStatusTypeName": "Sample Text Data", "billGroupId": 24, "billGroupName": "Sample Text Data", "actingOwnerId": 1, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 11, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 10, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 20, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 21, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 13, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 24, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 23, "defaultPaymentGatewayName": "Sample Text Data", "id": 26 } } |
GET | Account/{id}/Contact |
Retrieve all of the Contact objects for the specified Account. | |
{id} | Unique identifier for the Account object. |
Retrieve all of the Contact objects for the specified Account. GET Account/{id}/Contact HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "totalCount": 1, "items": [ { "identity": 1, "contactTypeId": 6, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } ] } } } |
GET | Account/{id}/Contact/Paged |
Retrieve all of the Contact objects for a specified Account 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. | |
{id} | Unique identifier for the Account object. |
Retrieve all of the Contact objects for a specified Account in a paged fashion. GET Account/{id}/Contact/Paged HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "contactTypeId": 26, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } ] } } } } |
GET | Account/{id}/Contact/{contactId} |
Retrieve a specified Contact object by its ID for a specified Account. | |
{id} | Unique identifier for the Account object. |
{contactId} | Unique identifier for the Contact object. |
Retrieve a specified Contact object by its ID for a specified Account. GET Account/{id}/Contact/{contactId} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "totalCount": 1, "items": [ { "identity": 1, "contactTypeId": 1, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } ] } } } |
GET | Account/{id}/Contact/{contactId}/Detail |
Retrieve deep detail of the Account 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 Account object. |
Retrieve deep detail of the Account object by its ID. GET Account/{id}/Contact/{contactId}/Detail HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 18, "currencyName": "Sample Text Data", "ownerId": 0, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 18, "accountStatusTypeName": "Sample Text Data", "billGroupId": 16, "billGroupName": "Sample Text Data", "actingOwnerId": 16, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 11, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 25, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 5, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 15, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 11, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 25, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 20, "defaultPaymentGatewayName": "Sample Text Data", "id": 18, "details": { "parent": { "identity": 65, "accountId": 10, "accountName": "Sample Text Data", "parentAccountId": 74, "parentAccountName": "Sample Text Data", "topAccountId": 26, "topAccountName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" }, "contacts": [ { "identity": 75, "contactTypeId": 30, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z", "name": "Sample Text Data", "details": { "contactPoints": [ { "identity": 29, "contactPointTypeId": 98, "contactPointTypeName": "Sample Text Data", "value": "Sample Text Data", "contactId": 64, "updated": "2021-04-26T15:25:27.587Z" } ], "address": { "identity": 56, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 14, "stateName": "Sample Text Data", "countryId": 12, "countryName": "Sample Text Data", "zipCode": "Sample Text Data", "latitude": 4.53, "longitude": 55.08, "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "updated": "2021-04-26T15:25:27.587Z", "stateCode": "Sample Text Data", "countryCode": "Sample Text Data", "fetchTaxJurisdicationAsync": true } } } ], "currentRatePlan": { "identity": 49, "name": "Sample Text Data", "displayName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "start": "2021-04-26T15:25:27.587Z" }, "currentPricePlan": { "identity": 1, "name": "Sample Text Data", "accountId": 69, "accountName": "Sample Text Data", "description": "Sample Text Data", "start": "2021-04-26T15:25:27.587Z", "end": "2021-04-26T15:25:27.587Z", "lastUsedForBilling": "2021-04-26T15:25:27.587Z", "includeChildAccounts": true }, "accountSummary": { "identity": 9, "accountId": 54, "accountName": "Sample Text Data", "balance": 99.75, "balanceDue": 45.65 }, "priceBookRegions": [ { "identity": 43, "name": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "created": "2021-04-26T15:25:27.587Z" } ], "accountTaxExemptions": [ { "identity": 50, "accountId": 8, "accountName": "Sample Text Data", "description": "Sample Text Data", "isFederalTaxLevel": true, "isStateTaxLevel": true, "isCountyTaxLevel": true, "isLocalTaxLevel": true, "taxTypeId": 68, "taxTypeName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "stateId": 55, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 74, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "city": "Sample Text Data" } ], "taxAddresses": [ { "identity": 58, "name": "Sample Text Data", "isShared": true, "accountId": 88, "accountName": "Sample Text Data", "addressId": 14, "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "saveTaxAddressOnInvoicer": true, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 5, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 11, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "fetchTaxJurisdicationAsync": true } ] } } } |
GET | Account/{id}/Detail |
Retrieve deep detail of the Account 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 Account object. |
Retrieve deep detail of the Account object by its ID. GET Account/{id}/Detail HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 3, "currencyName": "Sample Text Data", "ownerId": 25, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 9, "accountStatusTypeName": "Sample Text Data", "billGroupId": 3, "billGroupName": "Sample Text Data", "actingOwnerId": 17, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 8, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 1, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 7, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 16, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 2, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 22, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 15, "defaultPaymentGatewayName": "Sample Text Data", "id": 18, "details": { "parent": { "identity": 65, "accountId": 10, "accountName": "Sample Text Data", "parentAccountId": 74, "parentAccountName": "Sample Text Data", "topAccountId": 26, "topAccountName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" }, "contacts": [ { "identity": 75, "contactTypeId": 30, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z", "name": "Sample Text Data", "details": { "contactPoints": [ { "identity": 29, "contactPointTypeId": 98, "contactPointTypeName": "Sample Text Data", "value": "Sample Text Data", "contactId": 64, "updated": "2021-04-26T15:25:27.587Z" } ], "address": { "identity": 56, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 14, "stateName": "Sample Text Data", "countryId": 12, "countryName": "Sample Text Data", "zipCode": "Sample Text Data", "latitude": 4.53, "longitude": 55.08, "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "updated": "2021-04-26T15:25:27.587Z", "stateCode": "Sample Text Data", "countryCode": "Sample Text Data", "fetchTaxJurisdicationAsync": true } } } ], "currentRatePlan": { "identity": 49, "name": "Sample Text Data", "displayName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "start": "2021-04-26T15:25:27.587Z" }, "currentPricePlan": { "identity": 1, "name": "Sample Text Data", "accountId": 69, "accountName": "Sample Text Data", "description": "Sample Text Data", "start": "2021-04-26T15:25:27.587Z", "end": "2021-04-26T15:25:27.587Z", "lastUsedForBilling": "2021-04-26T15:25:27.587Z", "includeChildAccounts": true }, "accountSummary": { "identity": 9, "accountId": 54, "accountName": "Sample Text Data", "balance": 99.75, "balanceDue": 45.65 }, "priceBookRegions": [ { "identity": 43, "name": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "created": "2021-04-26T15:25:27.587Z" } ], "accountTaxExemptions": [ { "identity": 50, "accountId": 8, "accountName": "Sample Text Data", "description": "Sample Text Data", "isFederalTaxLevel": true, "isStateTaxLevel": true, "isCountyTaxLevel": true, "isLocalTaxLevel": true, "taxTypeId": 68, "taxTypeName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "stateId": 55, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 74, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "city": "Sample Text Data" } ], "taxAddresses": [ { "identity": 58, "name": "Sample Text Data", "isShared": true, "accountId": 88, "accountName": "Sample Text Data", "addressId": 14, "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "saveTaxAddressOnInvoicer": true, "address1": "Sample Text Data", "address2": "Sample Text Data", "stateId": 5, "stateName": "Sample Text Data", "stateCode": "Sample Text Data", "countryId": 11, "countryName": "Sample Text Data", "countryCode": "Sample Text Data", "zipCode": "Sample Text Data", "cityName": "Sample Text Data", "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z", "isIncorporated": true, "fetchTaxJurisdicationAsync": true } ] } } } |
GET | Account/{id}/Note |
Retrieve all of the Note objects for the specified Account. | |
{id} | Unique identifier for the Account object. |
Retrieve all of the Note objects for the specified Account. GET Account/{id}/Note HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "totalCount": 1, "items": [ { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 10, "noteTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "createdByUserId": 8, "createdByUserName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "updatedByUserId": 6, "updatedByUserName": "Sample Text Data", "showOnOverview": true, "isImportant": true } ] } } } |
GET | Account/{id}/Note/Paged |
Retrieve all of the Note objects for a specified Account 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. | |
{id} | Unique identifier for the Account object. |
Retrieve all of the Note objects for a specified Account in a paged fashion. GET Account/{id}/Note/Paged HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 8, "noteTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "createdByUserId": 20, "createdByUserName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "updatedByUserId": 1, "updatedByUserName": "Sample Text Data", "showOnOverview": true, "isImportant": true } ] } } } } |
GET | Account/{id}/Note/{noteId} |
Retrieve a specified Note object by its ID for a specified Account. | |
{id} | Unique identifier for the Account object. |
{noteId} | Unique identifier for the Note object. |
Retrieve a specified Note object by its ID for a specified Account. GET Account/{id}/Note/{noteId} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "details": { "totalCount": 1, "items": [ { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 14, "noteTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "createdByUserId": 15, "createdByUserName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "updatedByUserId": 6, "updatedByUserName": "Sample Text Data", "showOnOverview": true, "isImportant": true } ] } } } |
GET | Account/{id}/TaxAddress |
Retrieve the Tax Address details for a specified Account ID. | |
{id} | Unique identifier for the Account object. |
Retrieve the Tax Address details for a specified Account ID. GET Account/{id}/TaxAddress HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 20, "currencyName": "Sample Text Data", "ownerId": 14, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 0, "accountStatusTypeName": "Sample Text Data", "billGroupId": 10, "billGroupName": "Sample Text Data", "actingOwnerId": 23, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 7, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 10, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 17, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 11, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 4, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 0, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 18, "defaultPaymentGatewayName": "Sample Text Data", "id": 14 } } |
GET | Account/{id}/TaxAddress/AvailableFor |
Retrieve the Tax Address details for a specified Account ID. | |
{id} | Unique identifier for the Account object. |
Retrieve the Tax Address details for a specified Account ID. GET Account/{id}/TaxAddress/AvailableFor HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "currencyId": 3, "currencyName": "Sample Text Data", "ownerId": 25, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 25, "accountStatusTypeName": "Sample Text Data", "billGroupId": 3, "billGroupName": "Sample Text Data", "actingOwnerId": 9, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 16, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 18, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 1, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 23, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 9, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 8, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 21, "defaultPaymentGatewayName": "Sample Text Data", "id": 2 } } |
PATCH | Account/{id} |
Update or Add the Account 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 Account object. |
Update or Add the Account object and optionally make changes to any child objects. PATCH Account/{id} { "details": {}, "accounts": { "items": [ { "patchType": "create", "patchClientId": 1, "currencyId": 14, "name": "My Account", "accountStatusTypeId": 24, "billGroupId": 20, "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 23, "accountsReceivableTermsId": 9, "accountTypeId": 19, "billDay": 1, "accountTaxCategoryId": 21, "taxCodeId": 11, "invoicerAccountId": "My Invoicer Account", "usageInvoicerAccountId": "My Usage Invoicer Account", "taxSettingAccountId": "My Usage Invoicer Account", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 27, "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 24, "id": 27 } ] } } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "patch", "results": { "totalCount": 1, "items": [ { "identity": 1, "action": "created", "dtoTypeKey": "account", "instance": { "identity": 1, "currencyId": 2, "currencyName": "Sample Text Data", "ownerId": 12, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 19, "accountStatusTypeName": "Sample Text Data", "billGroupId": 4, "billGroupName": "Sample Text Data", "actingOwnerId": 23, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 25, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 0, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 6, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 10, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 2, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 3, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 11, "defaultPaymentGatewayName": "Sample Text Data", "id": 8 } } ] } } |
POST | Account/ |
Create a new instance of the Account object. | |
Create a new instance of the Account object. POST Account/ { "currencyId": 18, "name": "My Account", "accountStatusTypeId": 0, "billGroupId": 2, "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 7, "accountsReceivableTermsId": 1, "accountTypeId": 25, "billDay": 1, "accountTaxCategoryId": 20, "taxCodeId": 8, "invoicerAccountId": "My Invoicer Account", "usageInvoicerAccountId": "My Usage Invoicer Account", "taxSettingAccountId": "My Usage Invoicer Account", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 11, "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 26, "id": 10 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "currencyId": 22, "currencyName": "Sample Text Data", "ownerId": 5, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 3, "accountStatusTypeName": "Sample Text Data", "billGroupId": 16, "billGroupName": "Sample Text Data", "actingOwnerId": 9, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 7, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 1, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 20, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 17, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 25, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 2, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 21, "defaultPaymentGatewayName": "Sample Text Data", "id": 22 } ] } } |
POST | Account/{id}/Contact |
Create a new instance of a Contact object that belongs to the Account. | |
{id} | Unique identifier for the Account object. |
Create a new instance of a Contact object that belongs to the Account. POST Account/{id}/Contact { "contactTypeId": 8, "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "contactTypeId": 15, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } ] } } |
POST | Account/{id}/Note |
Create a new instance of a Note object that belongs to the Account. | |
{id} | Unique identifier for the Account object. |
Create a new instance of a Note object that belongs to the Account. POST Account/{id}/Note { "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 4, "createdByUserId": 23, "updatedByUserId": 9, "showOnOverview": true, "isImportant": true } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 18, "noteTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "createdByUserId": 2, "createdByUserName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "updatedByUserId": 2, "updatedByUserName": "Sample Text Data", "showOnOverview": true, "isImportant": true } ] } } |
POST | Account/{id}/Patch |
This method is only created as work around in order to provide PATCH capability for Salesforce that can only submit POST calls. Typically an internal API with limited use. | |
{id} | Unique identifier for the Account object. |
PUT | Account/{id} |
Update an existing instance of the Account object. | |
Update an existing instance of the Account object. PUT Account/{id} { "identity": 1, "currencyId": 15, "name": "My Account", "accountStatusTypeId": 21, "billGroupId": 3, "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 2, "accountsReceivableTermsId": 20, "accountTypeId": 1, "billDay": 1, "accountTaxCategoryId": 24, "taxCodeId": 12, "invoicerAccountId": "My Invoicer Account", "usageInvoicerAccountId": "My Usage Invoicer Account", "taxSettingAccountId": "My Usage Invoicer Account", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 3, "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 1, "id": 20 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "currencyId": 9, "currencyName": "Sample Text Data", "ownerId": 24, "ownerName": "Sample Text Data", "name": "My Account", "created": "2021-04-26T15:25:27.587Z", "accountStatusTypeId": 10, "accountStatusTypeName": "Sample Text Data", "billGroupId": 24, "billGroupName": "Sample Text Data", "actingOwnerId": 20, "actingOwnerName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "effectiveCancel": "2021-04-26T15:25:27.587Z", "invoiceDeliveryId": 13, "invoiceDeliveryName": "Sample Text Data", "accountsReceivableTermsId": 1, "accountsReceivableTermsName": "Sample Text Data", "accountTypeId": 4, "accountTypeName": "Sample Text Data", "billDay": 1, "accountTaxCategoryId": 16, "accountTaxCategoryName": "Sample Text Data", "taxCodeId": 11, "taxCodeName": "Sample Text Data", "invoicerAccountId": "My Invoicer Account", "invoicerAccountName": "Sample Text Data", "usageInvoicerAccountId": "My Usage Invoicer Account", "usageInvoicerAccountName": "Sample Text Data", "taxSettingAccountId": "My Usage Invoicer Account", "taxSettingAccountName": "Sample Text Data", "usageBillDay": 1, "isReadOnlyBillDay": true, "isReadOnlyUsageBillDay": false, "displayName": "My Account Display Name", "createdByUserId": 1, "createdByUserName": "Sample Text Data", "pendingBillDay": "15", "pendingUsageBillDay": "15", "lifeline": false, "externalAccountIdentifier": "ExternalID-2001", "vATNumber": "VAT499001", "eInvoiceEndpointId": "01394200362", "eInvoiceSchemeId": "9935", "zeroInclusiveTaxWhenExempt": false, "defaultPaymentGatewayId": 13, "defaultPaymentGatewayName": "Sample Text Data", "id": 23 } ] } } |
PUT | Account/{id}/Contact |
Update an existing instance of a Contact object that belongs to the Account. | |
{id} | Unique identifier for the Account object. |
Update an existing instance of a Contact object that belongs to the Account. PUT Account/{id}/Contact { "identity": 1, "contactTypeId": 11, "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "contactTypeId": 0, "contactTypeName": "Sample Text Data", "title": "Sample Text Data", "firstName": "Sample Text Data", "lastName": "Sample Text Data", "isUsedForTax": true, "updated": "2021-04-26T15:25:27.587Z" } ] } } |
PUT | Account/{id}/Note |
Update an existing instance of a Note object that belongs to the Account. | |
{id} | Unique identifier for the Account object. |
Update an existing instance of a Note object that belongs to the Account. PUT Account/{id}/Note { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 21, "createdByUserId": 13, "updatedByUserId": 2, "showOnOverview": true, "isImportant": true } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "subject": "Sample Text Data", "text": "Sample Text Data", "noteTypeId": 11, "noteTypeName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "createdByUserId": 22, "createdByUserName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z", "updatedByUserId": 12, "updatedByUserName": "Sample Text Data", "showOnOverview": true, "isImportant": true } ] } } |