Download OpenAPI specification:Download
A single API that provides a holistic view of business data including accounting, banking, commerce, marketing and more.
This documentation is intended for software developers and covers the Boss Insights API endpoints.
Retrieves a Collection of accounting transaction resources
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/accounting_transactions?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-34",
- "integration": "quickbooks",
- "srcId": "string",
- "transactionId": "string",
- "transactionType": "string",
- "transactionNumber": "string",
- "transactionDate": "2019-08-24T14:15:22Z",
- "ContactId": "string",
- "ContactName": "string",
- "location": "string",
- "description": "string",
- "accountId": "string",
- "accountNumber": "string",
- "accountType": "string",
- "accountName": "string",
- "subAccountName": "string",
- "taxAmount": 0,
- "taxType": "string",
- "totalAmount": 0,
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "contactId": null,
- "contactName": null
}
]
Retrieves a AccountingTransaction resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/accounting_transactions/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-34",
- "integration": "quickbooks",
- "srcId": "string",
- "transactionId": "string",
- "transactionType": "string",
- "transactionNumber": "string",
- "transactionDate": "2019-08-24T14:15:22Z",
- "ContactId": "string",
- "ContactName": "string",
- "location": "string",
- "description": "string",
- "accountId": "string",
- "accountNumber": "string",
- "accountType": "string",
- "accountName": "string",
- "subAccountName": "string",
- "taxAmount": 0,
- "taxType": "string",
- "totalAmount": 0,
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "contactId": null,
- "contactName": null
}
Retrieves the collection of Account resources.
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/accounts") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
]
Creates a Account resource.
The new Account resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
code | string or null customer defined code for the account e.g. "400" e.g. "SALES" |
taxType | string or null a tax code used for the account e.g. "TAX001" |
bankAccountNumber | string or null a code used to identify a bank account, only applies to accounts directly linked to a bank account e.g. "823772-2828773-09826" |
bankAccountType | string or null indicates the type of bank account being used e.g. "BANK" e.g. "CREDITCARD" e.g. "PAYPAL" |
currencyCode | string or null the currency code e.g. "USD" |
fullyQualifiedName | string or null full canonical name for the account e.g. Short term cash |
name required | string or null short name for the account e.g. "Sandra's Bank Account" |
classification | string or null The accounting classification of the account, typically one of Asset, Liability, Equity, Revenue, or Expense. |
accountSubType | string or null application based classification of the account e.g. "BANK" |
currentBalanceWithSubAccounts | string or null represents the total value of the account including any sub accounts in cents |
created | string or null <date-time> when the account was created |
modified | string or null <date-time> when any user modifiable attributes of the object were last changed |
accountType | string or null the type or class of the account e.g. "ASSET" |
currentBalance | string or null the value of the account excluding any sub accounts in cents |
active | boolean or null whether or not the account is active and should be included in calculations |
subAccount | boolean or null whether this account is actually a subaccount of another account |
description | string or null a user definable long form description of the account e.g. "This is the main company account for income and expenses" |
srcId | string or null the unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
parentAccountId | string or null if this is a subaccount then the id of the parent account e.g. "JS882-67283H-YW82KHX-2883KK-DJ3SK" |
deleted | boolean or null whether or not the account is active |
{- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
Retrieves a Account resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/accounts/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
Replaces the Account resource.
id required | string Resource identifier |
The updated Account resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
code | string or null customer defined code for the account e.g. "400" e.g. "SALES" |
taxType | string or null a tax code used for the account e.g. "TAX001" |
bankAccountNumber | string or null a code used to identify a bank account, only applies to accounts directly linked to a bank account e.g. "823772-2828773-09826" |
bankAccountType | string or null indicates the type of bank account being used e.g. "BANK" e.g. "CREDITCARD" e.g. "PAYPAL" |
currencyCode | string or null the currency code e.g. "USD" |
fullyQualifiedName | string or null full canonical name for the account e.g. Short term cash |
name required | string or null short name for the account e.g. "Sandra's Bank Account" |
classification | string or null The accounting classification of the account, typically one of Asset, Liability, Equity, Revenue, or Expense. |
accountSubType | string or null application based classification of the account e.g. "BANK" |
currentBalanceWithSubAccounts | string or null represents the total value of the account including any sub accounts in cents |
created | string or null <date-time> when the account was created |
modified | string or null <date-time> when any user modifiable attributes of the object were last changed |
accountType | string or null the type or class of the account e.g. "ASSET" |
currentBalance | string or null the value of the account excluding any sub accounts in cents |
active | boolean or null whether or not the account is active and should be included in calculations |
subAccount | boolean or null whether this account is actually a subaccount of another account |
description | string or null a user definable long form description of the account e.g. "This is the main company account for income and expenses" |
srcId | string or null the unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
parentAccountId | string or null if this is a subaccount then the id of the parent account e.g. "JS882-67283H-YW82KHX-2883KK-DJ3SK" |
deleted | boolean or null whether or not the account is active |
{- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "code": "400",
- "taxType": "TAX001",
- "bankAccountNumber": "823772-2828773-09826",
- "bankAccountType": "CREDITCARD",
- "currencyCode": "USD",
- "fullyQualifiedName": "Short Term Cash",
- "name": "Sandra's Bank Account",
- "classification": "Asset",
- "accountSubType": "BANK",
- "currentBalanceWithSubAccounts": "387687",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "accountType": "ASSET",
- "currentBalance": "29872",
- "active": true,
- "subAccount": false,
- "description": "This is the main company account for income and expenses",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "parentAccountId": "JS882-67283H-YW82KHX-2883KK-DJ3SK",
- "deleted": false
}
Removes the Account resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/accounts/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Activity resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/activities?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "2019-08-24T14:15:22Z",
- "emailsSent": 0,
- "totalItems": 0
}
]
Retrieves a Activity resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/activities/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "2019-08-24T14:15:22Z",
- "emailsSent": 0,
- "totalItems": 0
}
Retrieves a AgedPayablesExcel resource.
asOf | string <date-time> Example: asOf=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
sort | string Enum: "descending" "ascending" "alphabetical" Example: sort=descending Vendors can be sorted by total amount in ascending or descending order, or alphabetically. Default is alphabetical. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/aged_payables_excel?asOf=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "asOf": "This endpoint returns an .xlsx file."
}
Retrieves a AgedPayablesReport resource.
asOf | string <date-time> Example: asOf=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
sort | string Enum: "descending" "ascending" "alphabetical" Example: sort=descending Vendors can be sorted by total amount in ascending or descending order, or alphabetically. Default is alphabetical. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/aged_payables_report?asOf=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "asOf": "2021-06-30",
- "summary": [
- {
- "id": "32",
- "name": "Cal Telephone",
- "current": 0,
- "1to30": 56.5,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 56.5
}, - {
- "id": "48",
- "name": "PG&E",
- "current": 86.44,
- "1to30": 0,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 86.44
}, - {
- "name": "TOTAL",
- "current": 86.44,
- "1to30": 56.5,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 142.94
}
], - "lastReconciled": "2021-01-31",
- "isReconciled": false,
- "sources": [
- "xero"
]
}
Retrieves a AgedReceivablesExcel resource.
asOf | string <date-time> Example: asOf=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
sort | string Enum: "descending" "ascending" "alphabetical" Example: sort=descending Customers can be sorted by total amount in ascending or descending order, or alphabetically. Default is alphabetical. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/aged_receivables_excel?asOf=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "file": "This endpoint returns an .xlsx file."
}
Retrieves a AgedReceivablesReport resource.
asOf | string <date-time> Example: asOf=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
sort | string Enum: "descending" "ascending" "alphabetical" Example: sort=descending Can be sorted by total amount in ascending or descending order, or alphabetically. Default is alphabetical. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/aged_receivables_report?asOf=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "asOf": "2021-06-30",
- "summary": [
- {
- "id": "1",
- "name": "Amy's Bird Sanctuary",
- "current": 0,
- "1to30": 0,
- "31to60": 239,
- "61to90": 0,
- "91andOver": 0,
- "total": 239
}, - {
- "id": "2",
- "name": "Bill's Windsurf Shop",
- "current": 0,
- "1to30": 0,
- "31to60": 85,
- "61to90": 0,
- "91andOver": 0,
- "total": 85
}, - {
- "id": "8",
- "name": "Freeman Sporting Goods|0969 Ocean View Road",
- "current": 0,
- "1to30": 477.5,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 477.5
}, - {
- "id": "9",
- "name": "Freeman Sporting Goods|55 Twin Lane",
- "current": 0,
- "1to30": 4,
- "31to60": 81,
- "61to90": 0,
- "91andOver": 0,
- "total": 85
}, - {
- "id": "10",
- "name": "Geeta Kalapatapu",
- "current": 0,
- "1to30": 629.1,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 629.1
}, - {
- "id": "12",
- "name": "Jeff's Jalopies",
- "current": 0,
- "1to30": 0,
- "31to60": 81,
- "61to90": 0,
- "91andOver": 0,
- "total": 81
}, - {
- "id": "13",
- "name": "John Melton",
- "current": 0,
- "1to30": 0,
- "31to60": 450,
- "61to90": 0,
- "91andOver": 0,
- "total": 450
}, - {
- "id": "16",
- "name": "Kookies by Kathy",
- "current": 0,
- "1to30": 0,
- "31to60": 0,
- "61to90": 75,
- "91andOver": 0,
- "total": 75
}, - {
- "id": "17",
- "name": "Mark Cho",
- "current": 0,
- "1to30": 314.28,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 314.28
}, - {
- "id": "18",
- "name": "Paulsen Medical Supplies",
- "current": 0,
- "1to30": 954.75,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 954.75
}, - {
- "id": "20",
- "name": "Red Rock Diner",
- "current": 0,
- "1to30": 70,
- "31to60": 0,
- "61to90": 156,
- "91andOver": 0,
- "total": 226
}, - {
- "id": "21",
- "name": "Rondonuwu Fruit and Vegi",
- "current": 0,
- "1to30": 78.6,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 78.6
}, - {
- "id": "23",
- "name": "Shara Barnett|Barnett Design",
- "current": 0,
- "1to30": 274.5,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 274.5
}, - {
- "id": "24",
- "name": "Sonnenschein Family Store",
- "current": 0,
- "1to30": 362.07,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 362.07
}, - {
- "id": "25",
- "name": "Sushi by Katsuyuki",
- "current": 0,
- "1to30": 160,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 160
}, - {
- "id": "26",
- "name": "Travis Waldron",
- "current": 0,
- "1to30": 414.72,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 414.72
}, - {
- "id": "29",
- "name": "Weiskopf Consulting",
- "current": 0,
- "1to30": 375,
- "31to60": 0,
- "61to90": 0,
- "91andOver": 0,
- "total": 375
}, - {
- "name": "TOTAL",
- "current": 0,
- "1to30": 4114.52,
- "31to60": 936,
- "61to90": 231,
- "91andOver": 0,
- "total": 5281.52
}
], - "lastReconciled": "2021-01-31",
- "isReconciled": false,
- "sources": [
- "xero"
]
}
Retrieves the collection of ApplicationCharge resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/application_charges?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "apiClientId": "string",
- "price": 0,
- "status": "string",
- "returnUrl": "string",
- "created": "string",
- "modified": "string",
- "chargeType": "string",
- "decoratedReturnUrl": "string"
}
]
Retrieves a ApplicationCharge resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/application_charges/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "apiClientId": "string",
- "price": 0,
- "status": "string",
- "returnUrl": "string",
- "created": "string",
- "modified": "string",
- "chargeType": "string",
- "decoratedReturnUrl": "string"
}
Retrieves the collection of ApplicationCredit resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/application_credits?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "description": "string"
}
]
Retrieves a ApplicationCredit resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/application_credits/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "description": "string"
}
Retrieves the collection of Asset resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/assets?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "organizationId": "string",
- "description": "string",
- "price": "string",
- "productId": "string",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "quantity": 0
}
]
Retrieves a Asset resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/assets/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "organizationId": "string",
- "description": "string",
- "price": "string",
- "productId": "string",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "quantity": 0
}
Retrieves the collection of BalanceHistory resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/balance_histories?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "availableOn": "string",
- "created": "string",
- "currency": "string",
- "balanceDescription": "string",
- "exchangeRate": 0,
- "fee": 0,
- "feeType": "string",
- "net": 0,
- "balanceStatus": "string",
- "balanceType": "string"
}
]
Retrieves a BalanceHistory resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/balance_histories/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "availableOn": "string",
- "created": "string",
- "currency": "string",
- "balanceDescription": "string",
- "exchangeRate": 0,
- "fee": 0,
- "feeType": "string",
- "net": 0,
- "balanceStatus": "string",
- "balanceType": "string"
}
Retrieves an excel workbook of a series of mapped balance sheets
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/balance_sheet_excel?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "file": "This endpoint returns an .xlsx file."
}
Retrieves a mapped balance sheet
asOf | string <date-time> Example: asOf=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/balance_sheet_report?asOf=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "totals": {
- "assets": 342650.6,
- "liabilities": 65386.34,
- "assets_current": 342650.6,
- "liabilities_current": 40386.34,
- "equity": 277264.26,
- "net_income": 277264.26
}, - "details": [
- {
- "id": "56",
- "name": "Cash on hand",
- "value": 279325.6,
- "mapping": "Assets - Cash"
}, - {
- "id": "59",
- "name": "Accounts Receivable (A/R)",
- "value": 59325,
- "mapping": "Assets - AR"
}, - {
- "id": "54",
- "name": "Inventory Asset",
- "value": 4000,
- "mapping": "Assets - Inventory"
}, - {
- "id": "62",
- "name": "Accounts Payable (A/P)",
- "value": 0,
- "mapping": "Liabilities - AP"
}, - {
- "id": "57",
- "name": "GST/HST Payable",
- "value": 40386.34,
- "mapping": "Liabilities - Taxes"
}, - {
- "id": "61",
- "name": "Bank loans",
- "value": 25000
}, - {
- "id": "55",
- "name": "Opening Balance Equity",
- "value": -5000,
- "mapping": "Equity - Investment"
}, - {
- "id": "50",
- "name": "Retained Earnings",
- "value": 142324.26,
- "mapping": "Equity - Investment"
}
], - "asOf": "2021-06-30",
- "lastReconciled": "2021-01-31",
- "isReconciled": false,
- "hasCompleteData": true,
- "sources": [
- "xero"
]
}
Retrieves a BalanceSheet resource.
end required | string <date-time> Example: end=2022-11-30 YYYY-MM-DD |
accounting_method required | string Enum: "cash" "accrual" Example: accounting_method=accrual The Accounting Method |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/balance_sheets?end=SOME_STRING_VALUE&accounting_method=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "reportTitle": "Balance Sheet",
- "companyName": "Flux Capacitors Inc",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "accountingMethod": "cash",
- "start": "2021-01-01",
- "end": "2021-01-31",
- "currencyCode": "USD",
- "totalAssets": "2786282",
- "totalLiabilities": "287622",
- "totalCurrentAssets": "89792",
- "totalCurrentLiabilities": "198339",
- "totalEquity": "625282",
- "netIncome": 0
}
Retrieves the collection of BankAccount resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_accounts?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "type": "string",
- "balance": 0,
- "bankName": "string",
- "bankConnectionId": "string",
- "subtype": "string",
- "deleted": true,
- "currencyCode": "string",
- "isAsset": true
}
]
Retrieves a BankAccount resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_accounts/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "type": "string",
- "balance": 0,
- "bankName": "string",
- "bankConnectionId": "string",
- "subtype": "string",
- "deleted": true,
- "currencyCode": "string",
- "isAsset": true
}
Retrieves the collection of BankOpeningBalance resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_opening_balances?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "bankAccountId": "string",
- "openingDate": "string",
- "debit": 0,
- "credit": 0
}
]
Retrieves a BankOpeningBalance resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_opening_balances/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "bankAccountId": "string",
- "openingDate": "string",
- "debit": 0,
- "credit": 0
}
Retrieves the collection of BankReconciliation resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_reconciliations?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "bankAccountId": "string",
- "reconciliationDate": "string",
- "reconciliationEndBalance": 0,
- "totalReceived": 0,
- "totalPaid": 0,
- "startingBalance": 0,
- "closingBalance": 0,
- "reconciledBalance": 0,
- "balanceDifference": 0,
- "status": "string"
}
]
Retrieves a BankReconciliation resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_reconciliations/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "bankAccountId": "string",
- "reconciliationDate": "string",
- "reconciliationEndBalance": 0,
- "totalReceived": 0,
- "totalPaid": 0,
- "startingBalance": 0,
- "closingBalance": 0,
- "reconciledBalance": 0,
- "balanceDifference": 0,
- "status": "string"
}
Retrieves the collection of BankSummary resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_summaries?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
]
Retrieves a BankSummary resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_summaries/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
Retrieves the collection of BankTransaction resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_transactions?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "contactId": "string",
- "contactName": "string",
- "date": "string",
- "status": "string",
- "lineAmountTypes": "string",
- "lineItemDescription": "string",
- "lineItemUnitAmount": 0,
- "lineItemTaxType": "string",
- "lineItemTaxAmount": 0,
- "lineAmount": 0,
- "lineItemAccountCode": "string",
- "lineItemQuantity": 0,
- "lineItemId": "string",
- "subtotal": 0,
- "totalTax": 0,
- "total": 0,
- "modified": "string",
- "currencyCode": "string",
- "accountId": "string",
- "bankAccountCode": "string",
- "bankAccountName": "string",
- "type": "string",
- "reference": "string",
- "isReconciled": true,
- "fromAccountId": "string",
- "toAccountId": "string",
- "paymentMode": "string",
- "customerId": "string",
- "vendorId": "string",
- "created": "2019-08-24T14:15:22Z",
- "txnId": "string",
- "category": "string",
- "merchant": "string",
- "description": "string"
}
]
Retrieves a BankTransaction resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_transactions/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "contactId": "string",
- "contactName": "string",
- "date": "string",
- "status": "string",
- "lineAmountTypes": "string",
- "lineItemDescription": "string",
- "lineItemUnitAmount": 0,
- "lineItemTaxType": "string",
- "lineItemTaxAmount": 0,
- "lineAmount": 0,
- "lineItemAccountCode": "string",
- "lineItemQuantity": 0,
- "lineItemId": "string",
- "subtotal": 0,
- "totalTax": 0,
- "total": 0,
- "modified": "string",
- "currencyCode": "string",
- "accountId": "string",
- "bankAccountCode": "string",
- "bankAccountName": "string",
- "type": "string",
- "reference": "string",
- "isReconciled": true,
- "fromAccountId": "string",
- "toAccountId": "string",
- "paymentMode": "string",
- "customerId": "string",
- "vendorId": "string",
- "created": "2019-08-24T14:15:22Z",
- "txnId": "string",
- "category": "string",
- "merchant": "string",
- "description": "string"
}
Retrieves the collection of BankTransfer resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_transfers?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "transferDate": "string",
- "fromBankAccountId": "string",
- "fromBankAccountName": "string",
- "toBankAccountId": "string",
- "toBankAccountName": "string",
- "amount": 0,
- "fromBankTransactionId": "string",
- "toBankTransactionId": "string",
- "modified": "string",
- "type": "string"
}
]
Retrieves a BankTransfer resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bank_transfers/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "transferDate": "string",
- "fromBankAccountId": "string",
- "fromBankAccountName": "string",
- "toBankAccountId": "string",
- "toBankAccountName": "string",
- "amount": 0,
- "fromBankTransactionId": "string",
- "toBankTransactionId": "string",
- "modified": "string",
- "type": "string"
}
Retrieves the collection of BatchPayment resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/batch_payments?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "accountId": "string",
- "date": "string",
- "paymentId": "string",
- "paymentAmount": 0,
- "type": "string",
- "status": "string",
- "totalAmount": 0,
- "modified": "string",
- "isReconciled": true
}
]
Retrieves a BatchPayment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/batch_payments/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "accountId": "string",
- "date": "string",
- "paymentId": "string",
- "paymentAmount": 0,
- "type": "string",
- "status": "string",
- "totalAmount": 0,
- "modified": "string",
- "isReconciled": true
}
Retrieves the collection of BillPayment resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bill_payments?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
]
Creates a BillPayment resource.
The new BillPayment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "460000000053219" |
billId | string The source ID of the bill being paid |
vendorPaymentId | string or null The Boss Insights identifier for the Vendor Payment that this Bill Payment belongs to (if it belongs to one) Note that no particular pattern in this field is guaranteed, only that this field is unique |
vendorId | string or null Unique identifier for the vendor of the bill e.g. "460000000026049" |
vendorName | string or null Name of the vendor of the bill e.g. "Bowman and Co" |
paymentMode | string or null Mode of payment e.g. "Stripe" |
txnDate | string or null <date-time> Date the payment is made e.g. "2013-10-07" |
referenceNumber | string or null Reference number for the payment recorded e.g. REF#912300 |
amount | integer Total amount of the payment in cents e.g. 12500 |
currency | string or null Currency code e.g. "USD" |
created | string or null <date-time> Creation time of the payment e.g. 2016-12-16T00:18:42-0500 |
modified | string or null <date-time> Last modified time of the payment e.g. 2016-12-16T00:18:42-0500 |
{- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Retrieves a BillPayment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bill_payments/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Replaces the BillPayment resource.
id required | string Resource identifier |
The updated BillPayment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "460000000053219" |
billId | string The source ID of the bill being paid |
vendorPaymentId | string or null The Boss Insights identifier for the Vendor Payment that this Bill Payment belongs to (if it belongs to one) Note that no particular pattern in this field is guaranteed, only that this field is unique |
vendorId | string or null Unique identifier for the vendor of the bill e.g. "460000000026049" |
vendorName | string or null Name of the vendor of the bill e.g. "Bowman and Co" |
paymentMode | string or null Mode of payment e.g. "Stripe" |
txnDate | string or null <date-time> Date the payment is made e.g. "2013-10-07" |
referenceNumber | string or null Reference number for the payment recorded e.g. REF#912300 |
amount | integer Total amount of the payment in cents e.g. 12500 |
currency | string or null Currency code e.g. "USD" |
created | string or null <date-time> Creation time of the payment e.g. 2016-12-16T00:18:42-0500 |
modified | string or null <date-time> Last modified time of the payment e.g. 2016-12-16T00:18:42-0500 |
{- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "billId": "34",
- "vendorPaymentId": "quickbooks-34",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Removes the BillPayment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bill_payments/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Bill resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bills?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-345",
- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
]
Creates a Bill resource.
The new Bill resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
vendorId | string Vendor Id e.g. "15" |
vendorName | string or null Vendor full name e.g. "Acme Corp" |
currency | string or null Currency code e.g. "USD" |
balance | integer Total balance of the bill in cents e.g. 70000 |
txnDate | string or null <date-time> Transaction date e.g. "2021-05-12" |
totalAmount | integer Total amount of the bill in cents e.g. 550000 |
apAccountId | string or null Account Id e.g. "15" |
apAccountName | string or null Account full name e.g. "Accounts Payable" |
modified | string <date-time> Date entry was last modified e.g. "2013-11-18T02:17:40.080Z" |
created | string or null <date-time> Date entry was created e.g. "2013-11-18T02:17:40.080Z" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
status | string or null Bill status e.g. "Paid" |
identifier | string or null The bill number e.g. "4560" |
referenceNumber | string or null Reference number e.g. "1234" |
dueDate | string or null <date-time> Date bill is due e.g. "2021-05-30" |
subtotal | integer or null Bill subtotal in cents e.g. 65000 |
taxAmount | integer or null Bill tax amount in cents e.g. 12000 |
{- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
{- "id": "quickbooks-345",
- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
Retrieves a Bill resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bills/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-345",
- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
Replaces the Bill resource.
id required | string Resource identifier |
The updated Bill resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
vendorId | string Vendor Id e.g. "15" |
vendorName | string or null Vendor full name e.g. "Acme Corp" |
currency | string or null Currency code e.g. "USD" |
balance | integer Total balance of the bill in cents e.g. 70000 |
txnDate | string or null <date-time> Transaction date e.g. "2021-05-12" |
totalAmount | integer Total amount of the bill in cents e.g. 550000 |
apAccountId | string or null Account Id e.g. "15" |
apAccountName | string or null Account full name e.g. "Accounts Payable" |
modified | string <date-time> Date entry was last modified e.g. "2013-11-18T02:17:40.080Z" |
created | string or null <date-time> Date entry was created e.g. "2013-11-18T02:17:40.080Z" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
status | string or null Bill status e.g. "Paid" |
identifier | string or null The bill number e.g. "4560" |
referenceNumber | string or null Reference number e.g. "1234" |
dueDate | string or null <date-time> Date bill is due e.g. "2021-05-30" |
subtotal | integer or null Bill subtotal in cents e.g. 65000 |
taxAmount | integer or null Bill tax amount in cents e.g. 12000 |
{- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
{- "id": "quickbooks-345",
- "integration": "quickbooks",
- "vendorId": "15",
- "vendorName": "Acme Corp",
- "currency": "USD",
- "balance": 70000,
- "txnDate": "2021-05-12",
- "totalAmount": 550000,
- "apAccountId": "15",
- "apAccountName": "Accounts Payable",
- "modified": "2013-12-18T02:17:40.080Z",
- "created": "2013-11-18T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": "Paid",
- "identifier": "4560",
- "referenceNumber": "1234",
- "dueDate": "2021-05-30",
- "subtotal": 65000,
- "taxAmount": 12000
}
Removes the Bill resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/bills/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of BlogPosting resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/blog_postings?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "author": "string",
- "authorId": "string",
- "authorEmail": "string",
- "campaignName": "string",
- "commentCount": 0,
- "title": "string",
- "url": "string",
- "updated": "string"
}
]
Retrieves a BlogPosting resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/blog_postings/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "author": "string",
- "authorId": "string",
- "authorEmail": "string",
- "campaignName": "string",
- "commentCount": 0,
- "title": "string",
- "url": "string",
- "updated": "string"
}
Retrieves the collection of Blog resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/blogs?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "url": "string",
- "categoryId": "string",
- "created": "string",
- "description": "string",
- "name": "string",
- "updated": "string"
}
]
Retrieves a Blog resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/blogs/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "url": "string",
- "categoryId": "string",
- "created": "string",
- "description": "string",
- "name": "string",
- "updated": "string"
}
Retrieves a BudgetSummary resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/budget_summaries/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
Retrieves the collection of BudgetSummary resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/budget_summary?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
]
Retrieves the collection of Call resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/calls?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "callOwner": "string",
- "callContact": "string",
- "callDuration": 0,
- "callPurpose": "string",
- "callStartTime": "2019-08-24T14:15:22Z",
- "callResult": "string",
- "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "callresult": "string"
}
]
Retrieves a Call resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/calls/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "callOwner": "string",
- "callContact": "string",
- "callDuration": 0,
- "callPurpose": "string",
- "callStartTime": "2019-08-24T14:15:22Z",
- "callResult": "string",
- "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "callresult": "string"
}
Retrieves the collection of CampaignReport resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/campaign_reports?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "campaignName": "string",
- "type": "string",
- "emailsSent": 0,
- "unsubscribed": 0,
- "sendTime": "2019-08-24T14:15:22Z",
- "hardBounces": 0,
- "softBounces": 0,
- "totalOpens": 0,
- "uniqueOpens": 0,
- "openRate": "string",
- "totalClicks": 0,
- "uniqueClicks": 0,
- "fowards": 0
}
]
Retrieves a CampaignReport resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/campaign_reports/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "campaignName": "string",
- "type": "string",
- "emailsSent": 0,
- "unsubscribed": 0,
- "sendTime": "2019-08-24T14:15:22Z",
- "hardBounces": 0,
- "softBounces": 0,
- "totalOpens": 0,
- "uniqueOpens": 0,
- "openRate": "string",
- "totalClicks": 0,
- "uniqueClicks": 0,
- "fowards": 0
}
Retrieves the collection of Campaign resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/campaigns?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "campaignName": "string",
- "campaignOwner": "string",
- "description": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "budgetedCost": "string",
- "actualCost": "string",
- "expectedRevenue": "string",
- "status": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "nExpectedResponse": 0
}
]
Retrieves a Campaign resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/campaigns/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "campaignName": "string",
- "campaignOwner": "string",
- "description": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "budgetedCost": "string",
- "actualCost": "string",
- "expectedRevenue": "string",
- "status": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "nExpectedResponse": 0
}
Retrieves the collection of Charge resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/charges?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "amountRefunded": 0,
- "applicationId": "string",
- "applicationFeeAmount": 0,
- "balanceTransactionId": "string",
- "billingAddress": "string",
- "billingEmail": "string",
- "billingName": "string",
- "billingPhone": "string",
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "customerId": "string",
- "chargeDescription": "string",
- "invoiceId": "string",
- "receiptNumber": "string",
- "refunded": "string",
- "status": "string",
- "shippingAddress": "string",
- "shippingName": "string",
- "shippingPhone": "string",
- "shippingTrackingNumber": "string"
}
]
Retrieves a Charge resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/charges/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "amountRefunded": 0,
- "applicationId": "string",
- "applicationFeeAmount": 0,
- "balanceTransactionId": "string",
- "billingAddress": "string",
- "billingEmail": "string",
- "billingName": "string",
- "billingPhone": "string",
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "customerId": "string",
- "chargeDescription": "string",
- "invoiceId": "string",
- "receiptNumber": "string",
- "refunded": "string",
- "status": "string",
- "shippingAddress": "string",
- "shippingName": "string",
- "shippingPhone": "string",
- "shippingTrackingNumber": "string"
}
Retrieves the collection of Client resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/clients?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "emailClient": "string",
- "numMembers": 0,
- "totalItems": 0
}
]
Retrieves a Client resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/clients/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "emailClient": "string",
- "numMembers": 0,
- "totalItems": 0
}
Retrieves the collection of Company resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/companies?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "isActive": true,
- "url": "string"
}
]
Retrieves a Company resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/companies/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "isActive": true,
- "url": "string"
}
Retrieves the collection of ContactGroup resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/contact_groups?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "contactId": "string",
- "contactName": "string",
- "isActive": true
}
]
Retrieves a ContactGroup resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/contact_groups/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "contactId": "string",
- "contactName": "string",
- "isActive": true
}
Retrieves the collection of Contract resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/contracts?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "contractName": "string",
- "customer": "string",
- "contractDate": "2019-08-24T14:15:22Z",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "status": "string"
}
]
Retrieves a Contract resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/contracts/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "contractName": "string",
- "customer": "string",
- "contractDate": "2019-08-24T14:15:22Z",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "status": "string"
}
Retrieves the collection of Conversion resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/conversion?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": 0,
- "type": "string",
- "url": "string",
- "status": "string",
- "file": "string"
}
]
Creates a Conversion resource.
The new Conversion resource
type | string type of conversion e.g. 'financial-statement' |
url | string url or subtype of conversion, e.g. 'other-accounting' |
file | string name of file |
{- "type": "string",
- "url": "string",
- "file": "string"
}
{- "id": 0,
- "type": "string",
- "url": "string",
- "status": "string",
- "file": "string"
}
Retrieves a Conversion resource.
id required | integer Example: 42 conversion job identifier |
format required | string Enum: "data" "pages" "source" Example: format=data document format |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/conversion/%7Bid%7D?format=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": 0,
- "type": "string",
- "url": "string",
- "status": "string",
- "file": "string"
}
Retrieves the collection of CreditNote resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/credit_notes?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
]
Creates a CreditNote resource.
The new CreditNote resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string or null Unique identifier of the source 3rd party integration |
creditnoteNumber | string or null Unique number generated (starts with CN) which will be displayed in the interface and credit notes eg. CN-29 |
date | string or null The date on which credit note is raised. Format [yyyy-mm-dd] eg. "2016-06-05" |
status | string or null Status of the credit note. This can be open, closed or void eg. "open" |
customerId | string or null Customer ID of the customer for whom the credit note is raised eg. 903000000000099 |
customerName | string or null Name of the customer to whom the credit note is raised. Max-Length [100] eg. "Bowman Furniture" |
referenceNumber | string or null Reference number generated for the payment. A string of your choice can also be used as the reference number. Max-Length [100] eg. "INV-384" |
totalAmount | string or null Total of credit note eg. "400" |
balance | integer or null Unapplied credits eg. 10 |
currency | string or null Customers currency code eg. "USD" |
notes | string or null Notes on the credit notes eg. "Offer for the referral" |
created | string or null <date-time> Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Time at which the recurring invoice was last updated eg. "2013-11-18T02:17:40.080Z" |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
Retrieves a CreditNote resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/credit_notes/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
Replaces the CreditNote resource.
id required | string Resource identifier |
The updated CreditNote resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string or null Unique identifier of the source 3rd party integration |
creditnoteNumber | string or null Unique number generated (starts with CN) which will be displayed in the interface and credit notes eg. CN-29 |
date | string or null The date on which credit note is raised. Format [yyyy-mm-dd] eg. "2016-06-05" |
status | string or null Status of the credit note. This can be open, closed or void eg. "open" |
customerId | string or null Customer ID of the customer for whom the credit note is raised eg. 903000000000099 |
customerName | string or null Name of the customer to whom the credit note is raised. Max-Length [100] eg. "Bowman Furniture" |
referenceNumber | string or null Reference number generated for the payment. A string of your choice can also be used as the reference number. Max-Length [100] eg. "INV-384" |
totalAmount | string or null Total of credit note eg. "400" |
balance | integer or null Unapplied credits eg. 10 |
currency | string or null Customers currency code eg. "USD" |
notes | string or null Notes on the credit notes eg. "Offer for the referral" |
created | string or null <date-time> Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Time at which the recurring invoice was last updated eg. "2013-11-18T02:17:40.080Z" |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "creditnoteNumber": "CN-29",
- "date": "2016-06-05",
- "status": "open",
- "customerId": "903000000000099",
- "customerName": "Bowman Furniture",
- "referenceNumber": "INV-384",
- "totalAmount": "400",
- "balance": 10,
- "currency": "USD",
- "notes": "Offer for the referral",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z"
}
Removes the CreditNote resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/credit_notes/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of CustomerOpeningBalance resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/customer_opening_balances?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "openingBalanceType": "string",
- "customerId": "string",
- "openingDate": "string",
- "description": "string",
- "totalAmount": 0,
- "currency": "string"
}
]
Retrieves a CustomerOpeningBalance resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/customer_opening_balances/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "openingBalanceType": "string",
- "customerId": "string",
- "openingDate": "string",
- "description": "string",
- "totalAmount": 0,
- "currency": "string"
}
Retrieves the collection of Customer resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/customers?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "stripe-5050",
- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
]
Creates a Customer resource.
The new Customer resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "50" |
string or null Email address for the customer e.g. "janedoe@email.com" | |
name | string or null Full name of the customer e.g. "Jane Doe" |
givenName | string or null First name of the customer e.g. "Jane" |
familyName | string or null Last name of the customer e.g. "Doe" |
companyName | string or null Name of the company the customer is working on e.g. "Acme Corp." |
fullyQualifiedName | string or null Fully qualified name of the company the customer is working on e.g. "Acme Corporation" |
address | string or null First line of customer address e.g. "708 Woodland Avenue" |
addressLine2 | string or null Second line of customer address e.g. "Unit 105" |
city | string or null City of the address e.g. "St Paul" |
postalCode | string or null Postal code of the address * e.g. "99660" |
country | string or null Country of the address * e.g. "United States" |
billingAddress | string or null Billing address line 1 e.g. "4348 Candlelight Drive" |
billingAddressLine2 | string or null Billing address line 2 e.g. "Apartment 78" |
billingCity | string or null Billing address city e.g. "Panama City" |
billingState | string or null Billing address state or province e.g. "Florida" |
billingPostalCode | string or null Billing address postal code e.g. "32417" |
billingCountry | string or null Billing address country e.g. "United States" |
phone | string or null Phone number e.g. "281-381-4241" |
mobile | string or null Mobile number e.g. "786-258-0182" |
fax | string or null Fax number e.g. "281-381-4255" |
ddi | string or null Direct dial number e.g. "5050" |
balance | integer or null Balance owed by customer in cents e.g. 19999 |
currency | string or null Currency used by customer e.g. "USD" |
taxable | boolean or null Taxable status |
customerAccountStatus | string or null Accounting status of the customer e.g. "Enabled" |
monthlyRecurringRevenue | integer or null Monthly recurring revenue in cents e.g. 4500000 |
netMonthlyRecurringRevenue | integer or null Net monthly recurring revenue e.g. 2500000 |
created | string or null <date-time> Date of customer account creation e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-22T02:17:40.080Z" |
title | string or null Job title of the customer e.g. "Manager" |
department | string or null Department where customer works in e.g. "Administrative office" |
customerOwner | string or null User in touch with the customer e.g. "josh_jameson" |
description | string or null A note about the customer e.g. "Great customer" |
totalSpent | integer or null Total spent by customer in cents e.g. 76000 |
acceptsMarketing | boolean or null Whether the customer has consented to receiving promotional emails |
username | string or null Username of the customer e.g. "jane_doe123" |
taxType | string or null Tax type applied for the customer e.g. "Global" |
bankAccountName | string or null Bank account name for the customer e.g. "Business Bank Account" |
bankAccountNumber | string or null Bank account number for the customer e.g. "123654" |
termId | string or null Reference to a Term object (payment terms) associated with this Customer e.g. "1d80716b-427e-4cad-80c6-c4b3a18eb23d" |
termDays | integer or null The days value of the payment terms for this Customer e.g. "15" |
termType | string or null The type of the payment terms for this Customer e.g. "DAYSAFTERBILLDATE" |
{- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
{- "id": "stripe-5050",
- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Retrieves a Customer resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/customers/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "stripe-5050",
- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Replaces the Customer resource.
id required | string Resource identifier |
The updated Customer resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "50" |
string or null Email address for the customer e.g. "janedoe@email.com" | |
name | string or null Full name of the customer e.g. "Jane Doe" |
givenName | string or null First name of the customer e.g. "Jane" |
familyName | string or null Last name of the customer e.g. "Doe" |
companyName | string or null Name of the company the customer is working on e.g. "Acme Corp." |
fullyQualifiedName | string or null Fully qualified name of the company the customer is working on e.g. "Acme Corporation" |
address | string or null First line of customer address e.g. "708 Woodland Avenue" |
addressLine2 | string or null Second line of customer address e.g. "Unit 105" |
city | string or null City of the address e.g. "St Paul" |
postalCode | string or null Postal code of the address * e.g. "99660" |
country | string or null Country of the address * e.g. "United States" |
billingAddress | string or null Billing address line 1 e.g. "4348 Candlelight Drive" |
billingAddressLine2 | string or null Billing address line 2 e.g. "Apartment 78" |
billingCity | string or null Billing address city e.g. "Panama City" |
billingState | string or null Billing address state or province e.g. "Florida" |
billingPostalCode | string or null Billing address postal code e.g. "32417" |
billingCountry | string or null Billing address country e.g. "United States" |
phone | string or null Phone number e.g. "281-381-4241" |
mobile | string or null Mobile number e.g. "786-258-0182" |
fax | string or null Fax number e.g. "281-381-4255" |
ddi | string or null Direct dial number e.g. "5050" |
balance | integer or null Balance owed by customer in cents e.g. 19999 |
currency | string or null Currency used by customer e.g. "USD" |
taxable | boolean or null Taxable status |
customerAccountStatus | string or null Accounting status of the customer e.g. "Enabled" |
monthlyRecurringRevenue | integer or null Monthly recurring revenue in cents e.g. 4500000 |
netMonthlyRecurringRevenue | integer or null Net monthly recurring revenue e.g. 2500000 |
created | string or null <date-time> Date of customer account creation e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-22T02:17:40.080Z" |
title | string or null Job title of the customer e.g. "Manager" |
department | string or null Department where customer works in e.g. "Administrative office" |
customerOwner | string or null User in touch with the customer e.g. "josh_jameson" |
description | string or null A note about the customer e.g. "Great customer" |
totalSpent | integer or null Total spent by customer in cents e.g. 76000 |
acceptsMarketing | boolean or null Whether the customer has consented to receiving promotional emails |
username | string or null Username of the customer e.g. "jane_doe123" |
taxType | string or null Tax type applied for the customer e.g. "Global" |
bankAccountName | string or null Bank account name for the customer e.g. "Business Bank Account" |
bankAccountNumber | string or null Bank account number for the customer e.g. "123654" |
termId | string or null Reference to a Term object (payment terms) associated with this Customer e.g. "1d80716b-427e-4cad-80c6-c4b3a18eb23d" |
termDays | integer or null The days value of the payment terms for this Customer e.g. "15" |
termType | string or null The type of the payment terms for this Customer e.g. "DAYSAFTERBILLDATE" |
{- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
{- "id": "stripe-5050",
- "integration": "quickbooks",
- "srcId": "50",
- "email": "janedoe@email.com",
- "name": "Jane Doe",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Acme Corp.",
- "fullyQualifiedName": "Acme Corporation",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "postalCode": "99660",
- "country": "United States",
- "billingAddress": "4348 Candlelight Drive",
- "billingAddressLine2": "Apartment 78",
- "billingCity": "Panama City",
- "billingState": "Florida",
- "billingPostalCode": "32417",
- "billingCountry": "United States",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "ddi": "5050",
- "balance": 19999,
- "currency": "USD",
- "taxable": true,
- "customerAccountStatus": "Enabled",
- "monthlyRecurringRevenue": 4500000,
- "netMonthlyRecurringRevenue": 2500000,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "title": "Manager",
- "department": "Administrative office",
- "customerOwner": "josh_jameson",
- "description": "Great customer",
- "totalSpent": 76000,
- "acceptsMarketing": true,
- "username": "jane_doe123",
- "taxType": "Global",
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Removes the Customer resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/customers/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves a DataSync resource.
key required | string Example: key=quickbooks The key of the application you would like to sync. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/data_sync?key=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "message": "xero synced successfully"
}
Retrieves the collection of Deal resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/deals?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
]
Creates a Deal resource.
The new Deal resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
ownerId | string or null User Id of deal responible |
ownerName | string or null User name of deal responsible |
stage | string or null Deal's stage e.g: decision |
dealName | string or null name of the deal |
description | string or null Details about the deal |
prospectId | string or null Id of the prospect customer the deal is related to |
prospectName | string or null name of the customer the deal is related to |
expectedRevenue | integer or null expected revenue from the deal |
currency | string or null currency code of the deal e.g: USD |
created | string or null date and time the deal is first created |
closed | string or null <date-time> date and time the deal is closed |
associatedContactIds | Array of strings or null A list of contact IDs that are associated with the deal |
associatedCompanyIds | Array of strings or null A list of company IDs that are associated with the deal |
numAssociatedContacts | integer or null The number of associated contacts |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
Retrieves a Deal resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/deals/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
Replaces the Deal resource.
id required | string Resource identifier |
The updated Deal resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
ownerId | string or null User Id of deal responible |
ownerName | string or null User name of deal responsible |
stage | string or null Deal's stage e.g: decision |
dealName | string or null name of the deal |
description | string or null Details about the deal |
prospectId | string or null Id of the prospect customer the deal is related to |
prospectName | string or null name of the customer the deal is related to |
expectedRevenue | integer or null expected revenue from the deal |
currency | string or null currency code of the deal e.g: USD |
created | string or null date and time the deal is first created |
closed | string or null <date-time> date and time the deal is closed |
associatedContactIds | Array of strings or null A list of contact IDs that are associated with the deal |
associatedCompanyIds | Array of strings or null A list of company IDs that are associated with the deal |
numAssociatedContacts | integer or null The number of associated contacts |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "ownerId": "string",
- "ownerName": "Dave Simpson",
- "stage": "decision",
- "dealName": "string",
- "description": "string",
- "prospectId": "string",
- "prospectName": "string",
- "expectedRevenue": 0,
- "currency": "USD",
- "created": "2021-07-28 00:00:00",
- "closed": "2021-07-28 00:00:00",
- "associatedContactIds": [
- "string"
], - "associatedCompanyIds": [
- "string"
], - "numAssociatedContacts": 5
}
Removes the Deal resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/deals/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Department resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/departments?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "directory": "string",
- "subDepartment": true,
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a Department resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/departments/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "directory": "string",
- "subDepartment": true,
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of Employee resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/employees?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
]
Creates a Employee resource.
The new Employee resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
firstName | string or null First name of employee |
lastName | string or null Last name of employee |
fullName | string or null |
active | boolean |
primaryPhone | string or null |
primaryAddr | string or null |
primaryAddrCity | string or null |
primaryAddrPostalcode | string or null |
primaryAddrState | string or null |
created | string or null <date-time> |
modified | string or null <date-time> |
link | string or null Link to an external resource of the employee |
string or null | |
mobilePhone | string or null |
payRate | string or null |
title | string or null |
gender | string or null |
birthDate | string or null <date-time> |
hiredDate | string or null <date-time> |
employeeNumber | string or null |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
Retrieves a Employee resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/employees/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
Replaces the Employee resource.
id required | string Resource identifier |
The updated Employee resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
firstName | string or null First name of employee |
lastName | string or null Last name of employee |
fullName | string or null |
active | boolean |
primaryPhone | string or null |
primaryAddr | string or null |
primaryAddrCity | string or null |
primaryAddrPostalcode | string or null |
primaryAddrState | string or null |
created | string or null <date-time> |
modified | string or null <date-time> |
link | string or null Link to an external resource of the employee |
string or null | |
mobilePhone | string or null |
payRate | string or null |
title | string or null |
gender | string or null |
birthDate | string or null <date-time> |
hiredDate | string or null <date-time> |
employeeNumber | string or null |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "firstName": "Steve",
- "lastName": "James",
- "fullName": "Steve James",
- "active": true,
- "primaryPhone": "4168769854",
- "primaryAddr": "451 Lincoln street",
- "primaryAddrCity": "Toronto",
- "primaryAddrPostalcode": "L8H Y5F",
- "primaryAddrState": "California",
- "created": "2021-06-24 22:35:07",
- "modified": "2021-06-24 22:35:07",
- "link": "steve.james.com",
- "email": "steve.james@gmail.com",
- "mobilePhone": "4167854398",
- "payRate": "20",
- "title": "Mr",
- "gender": "Female",
- "birthDate": "2021-06-24",
- "hiredDate": "2021-06-24",
- "employeeNumber": "Female"
}
Removes the Employee resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/employees/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Engagement resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/engagements?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "isActive": true,
- "created": "string",
- "modified": "string",
- "type": "string",
- "contactIds": [
- "string"
], - "companyId": "string",
- "dealIds": [
- "string"
]
}
]
Retrieves a Engagement resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/engagements/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "isActive": true,
- "created": "string",
- "modified": "string",
- "type": "string",
- "contactIds": [
- "string"
], - "companyId": "string",
- "dealIds": [
- "string"
]
}
Retrieves the collection of Estimate resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/estimates?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "estimateNumber": "string",
- "txnStatus": "string",
- "billingEmail": "string",
- "txnDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0,
- "customerName": "string",
- "customerId": "string",
- "customerMemo": "string",
- "shippingLine1": "string",
- "shippingLine2": "string",
- "shippingCity": "string",
- "shippingCountry": "string",
- "shippingPostalcode": "string",
- "billingLine1": "string",
- "billingLine2": "string",
- "billingCity": "string",
- "billingCountry": "string",
- "billingPostalcode": "string",
- "totalTax": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "referenceNumber": "string",
- "currency": "string",
- "discountAmount": 0,
- "billingState": "string",
- "shippingState": "string"
}
]
Retrieves a Estimate resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/estimates/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "estimateNumber": "string",
- "txnStatus": "string",
- "billingEmail": "string",
- "txnDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0,
- "customerName": "string",
- "customerId": "string",
- "customerMemo": "string",
- "shippingLine1": "string",
- "shippingLine2": "string",
- "shippingCity": "string",
- "shippingCountry": "string",
- "shippingPostalcode": "string",
- "billingLine1": "string",
- "billingLine2": "string",
- "billingCity": "string",
- "billingCountry": "string",
- "billingPostalcode": "string",
- "totalTax": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "referenceNumber": "string",
- "currency": "string",
- "discountAmount": 0,
- "billingState": "string",
- "shippingState": "string"
}
Retrieves the collection of Event resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/events?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "title": "string",
- "host": "string",
- "eventContact": "string",
- "eventStartTime": "2019-08-24T14:15:22Z",
- "eventEndTime": "2019-08-24T14:15:22Z",
- "location": "string",
- "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "status": "string",
- "type": "string",
- "url": "string"
}
]
Retrieves a Event resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/events/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "title": "string",
- "host": "string",
- "eventContact": "string",
- "eventStartTime": "2019-08-24T14:15:22Z",
- "eventEndTime": "2019-08-24T14:15:22Z",
- "location": "string",
- "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "status": "string",
- "type": "string",
- "url": "string"
}
Retrieves a ExecutiveSummary resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/executive_summaries/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
Retrieves the collection of ExecutiveSummary resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/executive_summary?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "report_id": "string",
- "name": "string",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "end": "2019-08-24T14:15:22Z",
- "reportId": "string"
}
]
Retrieves the collection of Expense resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/expenses?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "xero-70",
- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
]
Creates a Expense resource.
The new Expense resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "982000000030049" |
txnId | string Transaction ID e.g. "9856" |
type | string Type of expense: e.g. "expense" |
accountId | string ID of account associated with expense e.g. "1057" |
currency | string or null Currency code e.g. "EUR" |
subtotal | integer or null Subtotal of expense in cents e.g. 9000 |
totalAmount | integer or null Total of expense in cents e.g. 12000 |
referenceNumber | string or null Reference number of the expense, max length of 100 e.g. "782364" |
status | string or null Status of expense e.g. "Unbilled" |
invoiceId | string or null ID of the invoice e.g. "460000000028192" |
invoiceNumber | string or null Invoice number e.g. "INV-00003" |
modified | string or null <date-time> Time at which the expense details were last updated e.g. "2019-05-25T02:17:40.080Z" |
accountName | string or null Expense account name e.g. "Rent" |
created | string or null <date-time> Time at which the expense details were created e.g. "2019-05-22T02:17:40.080Z" |
accountCode | string or null Chart of accounts identifier for the account e.g. "4560" |
contactId | string or null Id of the contact which is usually a payee e.g. "23" |
contactName | string or null Name of the contact which is usually a payee e.g. "Cool Cars" |
contactType | string or null Type of the contact which can be customer, vendor, or employee |
paymentMethodId | string or null Reference to the related Payment Method object |
date | string or null <date-time> Date of the expense e.g. "2019-05-22T02:17:40.080Z" |
taxAmount | integer or null Total tax amount in cents e.g. 3000 |
description | string or null A note, memo, or description for the expense e.g. "GPS rent" |
deleted | boolean Indicates if the expense has been deleted |
{- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
{- "id": "xero-70",
- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
Retrieves a Expense resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/expenses/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "xero-70",
- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
Replaces the Expense resource.
id required | string Resource identifier |
The updated Expense resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "982000000030049" |
txnId | string Transaction ID e.g. "9856" |
type | string Type of expense: e.g. "expense" |
accountId | string ID of account associated with expense e.g. "1057" |
currency | string or null Currency code e.g. "EUR" |
subtotal | integer or null Subtotal of expense in cents e.g. 9000 |
totalAmount | integer or null Total of expense in cents e.g. 12000 |
referenceNumber | string or null Reference number of the expense, max length of 100 e.g. "782364" |
status | string or null Status of expense e.g. "Unbilled" |
invoiceId | string or null ID of the invoice e.g. "460000000028192" |
invoiceNumber | string or null Invoice number e.g. "INV-00003" |
modified | string or null <date-time> Time at which the expense details were last updated e.g. "2019-05-25T02:17:40.080Z" |
accountName | string or null Expense account name e.g. "Rent" |
created | string or null <date-time> Time at which the expense details were created e.g. "2019-05-22T02:17:40.080Z" |
accountCode | string or null Chart of accounts identifier for the account e.g. "4560" |
contactId | string or null Id of the contact which is usually a payee e.g. "23" |
contactName | string or null Name of the contact which is usually a payee e.g. "Cool Cars" |
contactType | string or null Type of the contact which can be customer, vendor, or employee |
paymentMethodId | string or null Reference to the related Payment Method object |
date | string or null <date-time> Date of the expense e.g. "2019-05-22T02:17:40.080Z" |
taxAmount | integer or null Total tax amount in cents e.g. 3000 |
description | string or null A note, memo, or description for the expense e.g. "GPS rent" |
deleted | boolean Indicates if the expense has been deleted |
{- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
{- "id": "xero-70",
- "integration": "quickbooks",
- "srcId": "982000000030049",
- "txnId": "9856",
- "type": "expense",
- "accountId": "1057",
- "currency": "EUR",
- "subtotal": 9000,
- "totalAmount": 12000,
- "referenceNumber": "782364",
- "status": "Unbilled",
- "invoiceId": "460000000028192",
- "invoiceNumber": "INV-00003",
- "modified": "2019-05-25T02:17:40.080Z",
- "accountName": "Rent",
- "created": "2019-05-22T02:17:40.080Z",
- "accountCode": "4560",
- "contactId": "23",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "date": "2019-05-22T02:17:40.080Z",
- "taxAmount": 3000,
- "description": "GPS rent",
- "deleted": true
}
Removes the Expense resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/expenses/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of FinancialMapping resources.
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/financial_mapping") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": null,
- "account_id": null,
- "account_type": null,
- "period_id": null,
- "created": null,
- "modified": null,
- "verified": null,
- "accountId": null,
- "accountType": null,
- "periodId": null
}
]
Retrieves a FinancialMapping resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/financial_mappings/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": null,
- "account_id": null,
- "account_type": null,
- "period_id": null,
- "created": null,
- "modified": null,
- "verified": null,
- "accountId": null,
- "accountType": null,
- "periodId": null
}
Retrieves the collection of FinancialPeriod resources.
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/financial_periods") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": null,
- "name": null,
- "start": null,
- "integration": null,
- "year_end": null,
- "deleted": null,
- "created": null,
- "modified": null,
- "yearEnd": null
}
]
Retrieves a FinancialPeriod resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/financial_periods/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": null,
- "name": null,
- "start": null,
- "integration": null,
- "year_end": null,
- "deleted": null,
- "created": null,
- "modified": null,
- "yearEnd": null
}
The returned object will have keys based on the 'name' attributes of each form input.
formInput1 required | string Resource identifier |
key | string Example: key=profile The key of the Form that you would like to retrieve data for. Default is 'profile'. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/form_data?key=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "formInput1": "value",
- "formInput2": "value",
- "formInput3": "value",
- "formInput4": "value"
}
Retrieves the collection of Form resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/forms?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "notifiedRecipients": [
- "string"
], - "created": "string",
- "updated": "string"
}
]
Retrieves a Form resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/forms/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "notifiedRecipients": [
- "string"
], - "created": "string",
- "updated": "string"
}
Retrieves the collection of GrowthHistory resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/growth_histories?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "string",
- "existing": "string",
- "imports": 0,
- "totalItems": 0
}
]
Retrieves a GrowthHistory resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/growth_histories/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "string",
- "existing": "string",
- "imports": 0,
- "totalItems": 0
}
Retrieves a IntegrationsList resource.
file required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/integrations") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "file": "This endpoint returns an connected integrations"
}
Retrieves the collection of Inventory resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/inventories?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "product_name": "string",
- "total_quantity": 0,
- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "fulfillable_quantity": "string",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
]
Creates a Inventory resource.
The new Inventory resource
sku | string or null |
modified | string or null <date-time> |
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
productName | string |
totalQuantity | integer |
fulfillableQuantity | any |
{- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
{- "id": "string",
- "product_name": "string",
- "total_quantity": 0,
- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "fulfillable_quantity": "string",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
Retrieves a Inventory resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/inventories/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "product_name": "string",
- "total_quantity": 0,
- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "fulfillable_quantity": "string",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
Replaces the Inventory resource.
id required | string Resource identifier |
The updated Inventory resource
sku | string or null |
modified | string or null <date-time> |
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
productName | string |
totalQuantity | integer |
fulfillableQuantity | any |
{- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
{- "id": "string",
- "product_name": "string",
- "total_quantity": 0,
- "sku": "string",
- "modified": "2019-08-24T14:15:22Z",
- "fulfillable_quantity": "string",
- "integration": "quickbooks",
- "productName": "string",
- "totalQuantity": 0,
- "fulfillableQuantity": null
}
Removes the Inventory resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/inventories/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of InvoiceItem resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
invoiceId | string |
invoiceId[] | Array of strings |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/invoice_items?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE&invoiceId=SOME_STRING_VALUE&invoiceId%5B%5D=SOME_ARRAY_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-34-1",
- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
]
Creates a InvoiceItem resource.
The new InvoiceItem resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for the invoice line, from the source 3rd party integration |
invoiceId | string The Boss Insights identifier for the invoice that this line belongs to Note that no particular pattern in this field is guaranteed, only that this field is unique |
description | string or null Description of the line item |
quantity | number or null Number of items for the line |
unitPrice | integer or null Unit price of the item in cents |
itemId | string or null Unique identifier for the item, from the source 3rd party integration |
itemName | string or null Name of the item |
lineAmount | integer or null Amount for the line item in cents |
{- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
{- "id": "quickbooks-34-1",
- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
Retrieves a InvoiceItem resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/invoice_items/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-34-1",
- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
Replaces the InvoiceItem resource.
id required | string Resource identifier |
The updated InvoiceItem resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for the invoice line, from the source 3rd party integration |
invoiceId | string The Boss Insights identifier for the invoice that this line belongs to Note that no particular pattern in this field is guaranteed, only that this field is unique |
description | string or null Description of the line item |
quantity | number or null Number of items for the line |
unitPrice | integer or null Unit price of the item in cents |
itemId | string or null Unique identifier for the item, from the source 3rd party integration |
itemName | string or null Name of the item |
lineAmount | integer or null Amount for the line item in cents |
{- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
{- "id": "quickbooks-34-1",
- "integration": "quickbooks",
- "srcId": "1",
- "invoiceId": "quickbooks-34",
- "description": "Bag of soil",
- "quantity": 2.25,
- "unitPrice": 18900,
- "itemId": "1002",
- "itemName": "Bag of soil",
- "lineAmount": 42525
}
Removes the InvoiceItem resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/invoice_items/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Invoice resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/invoices?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-34",
- "integration": "quickbooks",
- "additionalType": "",
- "category": "Spare Parts Division",
- "confirmationNumber": "2798-2929",
- "customerId": "672",
- "paymentMethod": "PayPal",
- "paymentMethodId": "3009",
- "paymentDueDate": "2020-10-22T19:30:17.697Z",
- "provider": "Amazon",
- "potentialAction": "",
- "broker": "",
- "minimumPaymentDue": 2000,
- "accountId": "127362",
- "scheduledPaymentDate": "2021-10-22T19:30:17.697Z",
- "billingPeriod": "P0Y2M0DT12H30M5S",
- "status": "PastDue",
- "paymentStatus": "string",
- "created": "2020-09-07T19:58:50.550Z",
- "modified": "2020-10-09T14:52:50.550Z",
- "subtotal": 8750,
- "taxAmount": 1225,
- "currencyCode": "USD",
- "invoiceNumber": "BP-27719",
- "amountPaid": 0,
- "amountCredited": 9975,
- "customerName": "Bobs Bait Shop",
- "customerMemo": "It's a pleasure doing business with you. Remember, referrals are appreciated!",
- "billingEmail": "ben@arima.com",
- "billingAddressType": "HOME",
- "billingAddressLine1": "4567 Finch St.",
- "billingAddressLine2": "Apartment 203",
- "billingCity": "Beverly Hills",
- "billingPostalCode": "90210",
- "shippingAddressType": "BUSINESS",
- "shippingAddressLine1": "350 S Grand Ave",
- "shippingAddressLine2": "Suite 102",
- "shippingCity": "Los Angeles",
- "shippingPostalCode": "90071",
- "srcId": "129",
- "txnDate": "2020-09-07T19:58:50.550Z",
- "jsonAddress": "{}",
- "subscriptionId": "342",
- "referenceNumber": "B1-7855",
- "balance": "9975",
- "accountName": "Bills Bait Shop",
- "purchaseOrderNum": "342",
- "billingCountry": "United States",
- "totalAmount": 9975,
- "billingState": "CA",
- "shippingCountry": "United States",
- "shippingState": "CA",
- "amountDue": 6275
}
]
Retrieves a Invoice resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/invoices/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-34",
- "integration": "quickbooks",
- "additionalType": "",
- "category": "Spare Parts Division",
- "confirmationNumber": "2798-2929",
- "customerId": "672",
- "paymentMethod": "PayPal",
- "paymentMethodId": "3009",
- "paymentDueDate": "2020-10-22T19:30:17.697Z",
- "provider": "Amazon",
- "potentialAction": "",
- "broker": "",
- "minimumPaymentDue": 2000,
- "accountId": "127362",
- "scheduledPaymentDate": "2021-10-22T19:30:17.697Z",
- "billingPeriod": "P0Y2M0DT12H30M5S",
- "status": "PastDue",
- "paymentStatus": "string",
- "created": "2020-09-07T19:58:50.550Z",
- "modified": "2020-10-09T14:52:50.550Z",
- "subtotal": 8750,
- "taxAmount": 1225,
- "currencyCode": "USD",
- "invoiceNumber": "BP-27719",
- "amountPaid": 0,
- "amountCredited": 9975,
- "customerName": "Bobs Bait Shop",
- "customerMemo": "It's a pleasure doing business with you. Remember, referrals are appreciated!",
- "billingEmail": "ben@arima.com",
- "billingAddressType": "HOME",
- "billingAddressLine1": "4567 Finch St.",
- "billingAddressLine2": "Apartment 203",
- "billingCity": "Beverly Hills",
- "billingPostalCode": "90210",
- "shippingAddressType": "BUSINESS",
- "shippingAddressLine1": "350 S Grand Ave",
- "shippingAddressLine2": "Suite 102",
- "shippingCity": "Los Angeles",
- "shippingPostalCode": "90071",
- "srcId": "129",
- "txnDate": "2020-09-07T19:58:50.550Z",
- "jsonAddress": "{}",
- "subscriptionId": "342",
- "referenceNumber": "B1-7855",
- "balance": "9975",
- "accountName": "Bills Bait Shop",
- "purchaseOrderNum": "342",
- "billingCountry": "United States",
- "totalAmount": 9975,
- "billingState": "CA",
- "shippingCountry": "United States",
- "shippingState": "CA",
- "amountDue": 6275
}
Retrieves the collection of Item resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/items?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "directory": "string",
- "type": "string",
- "quantity": "string",
- "sku": "string",
- "salesTaxIncluded": true,
- "purchaseTaxIncluded": true,
- "description": "string",
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "AvailableForSale": "string",
- "AvailableForPurchase": "string",
- "UnitpriceSale": 0,
- "UnitpricePurchase": 0,
- "TaxtypeSale": "string",
- "TaxtypePurchase": "string",
- "availableForSale": "string",
- "availableForPurchase": "string",
- "unitpriceSale": 0,
- "unitpricePurchase": 0,
- "taxtypeSale": "string",
- "taxtypePurchase": "string"
}
]
Retrieves a Item resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/items/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "directory": "string",
- "type": "string",
- "quantity": "string",
- "sku": "string",
- "salesTaxIncluded": true,
- "purchaseTaxIncluded": true,
- "description": "string",
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "AvailableForSale": "string",
- "AvailableForPurchase": "string",
- "UnitpriceSale": 0,
- "UnitpricePurchase": 0,
- "TaxtypeSale": "string",
- "TaxtypePurchase": "string",
- "availableForSale": "string",
- "availableForPurchase": "string",
- "unitpriceSale": 0,
- "unitpricePurchase": 0,
- "taxtypeSale": "string",
- "taxtypePurchase": "string"
}
Retrieves the collection of JournalLine resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
journalId | string |
journalId[] | Array of strings |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/journal_lines?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE&journalId=SOME_STRING_VALUE&journalId%5B%5D=SOME_ARRAY_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "journalDate": "2019-08-24T14:15:22Z",
- "journalNumber": "string",
- "accountId": "string",
- "accountCode": "string",
- "accountType": "string",
- "accountName": "string",
- "description": "string",
- "totalAmount": 0,
- "debitOrCredit": "string",
- "currencyCode": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "journalId": "string"
}
]
Retrieves a JournalLine resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/journal_lines/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "journalDate": "2019-08-24T14:15:22Z",
- "journalNumber": "string",
- "accountId": "string",
- "accountCode": "string",
- "accountType": "string",
- "accountName": "string",
- "description": "string",
- "totalAmount": 0,
- "debitOrCredit": "string",
- "currencyCode": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "journalId": "string"
}
Retrieves the collection of Journal resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/journals?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "journalDate": "2019-08-24T14:15:22Z",
- "journalNumber": "string",
- "journalLines": "string",
- "currencyCode": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a Journal resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/journals/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "journalDate": "2019-08-24T14:15:22Z",
- "journalNumber": "string",
- "journalLines": "string",
- "currencyCode": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of Lead resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/leads?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
]
Creates a Lead resource.
The new Lead resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
string or null lead email address | |
firstName | string or null lead first name |
lastName | string or null lead last anme |
primaryPhone | string or null lead phone number |
addressLine1 | string or null line1 address of the lead |
city | string or null city address of the lead |
country | string or null country address of the lead |
company | string or null company where lead is working on |
postalCode | string or null postal code of the lead |
website | string or null website of the lead |
industry | string or null the industry lead belongs to |
skypeUsername | string or null skype username of the lead |
string or null twitter account of the lead | |
annualRevenue | string or null annual revenue of the company lead is working |
employeeCount | integer or null number of employees in the company lead works in |
created | string or null <date-time> date and time lead's information is first created |
modified | string or null <date-time> date and time lead's information is last updated |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Retrieves a Lead resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/leads/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Replaces the Lead resource.
id required | string Resource identifier |
The updated Lead resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string |
string or null lead email address | |
firstName | string or null lead first name |
lastName | string or null lead last anme |
primaryPhone | string or null lead phone number |
addressLine1 | string or null line1 address of the lead |
city | string or null city address of the lead |
country | string or null country address of the lead |
company | string or null company where lead is working on |
postalCode | string or null postal code of the lead |
website | string or null website of the lead |
industry | string or null the industry lead belongs to |
skypeUsername | string or null skype username of the lead |
string or null twitter account of the lead | |
annualRevenue | string or null annual revenue of the company lead is working |
employeeCount | integer or null number of employees in the company lead works in |
created | string or null <date-time> date and time lead's information is first created |
modified | string or null <date-time> date and time lead's information is last updated |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "email": "ron.aurthor@gmail.com",
- "firstName": "Ronald",
- "lastName": "Aurthor",
- "primaryPhone": "416-555-0126",
- "addressLine1": "39 Parliment road",
- "city": "Detroit",
- "country": "United States",
- "company": "Ronalds Hot Rods",
- "postalCode": "48653",
- "industry": "Automotive",
- "skypeUsername": "ronaldAurthor0127",
- "twitter": "@ronaldAutomotive",
- "annualRevenue": "50000000",
- "employeeCount": 113,
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Removes the Lead resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/leads/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of LedgerAccountOpeningBalance resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_account_opening_balances?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "ledgerAccountId": "string",
- "description": "string",
- "debit": 0,
- "credit": 0
}
]
Retrieves a LedgerAccountOpeningBalance resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_account_opening_balances/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "ledgerAccountId": "string",
- "description": "string",
- "debit": 0,
- "credit": 0
}
Retrieves the collection of LedgerAccountType resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_account_types?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "name": "string"
}
]
Retrieves a LedgerAccountType resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_account_types/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "name": "string"
}
Retrieves the collection of LedgerAccounts resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_accounts?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "ledgerAccountGroup": "string",
- "name": "string",
- "balance": 0,
- "credit_or_debit": "string",
- "credits": 0,
- "debits": 0,
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "creditOrDebit": "string"
}
]
Retrieves a LedgerAccounts resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_accounts/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "ledgerAccountGroup": "string",
- "name": "string",
- "balance": 0,
- "credit_or_debit": "string",
- "credits": 0,
- "debits": 0,
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "creditOrDebit": "string"
}
Retrieves the collection of LedgerEntry resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_entries?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "date": "string",
- "credit": 0,
- "debit": 0,
- "journalCode": "string",
- "description": "string",
- "ledgerAccount": "string"
}
]
Retrieves a LedgerEntry resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/ledger_entries/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "date": "string",
- "credit": 0,
- "debit": 0,
- "journalCode": "string",
- "description": "string",
- "ledgerAccount": "string"
}
Retrieves the collection of LinkedTransaction resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/linked_transactions?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "sourceTransactionId": "string",
- "sourceLineItemId": "string",
- "contactId": "string",
- "targetTransactionId": "string",
- "targetLineItemId": "string",
- "status": "string",
- "type": "string",
- "modified": "string",
- "sourceTransactionTypeCode": "string"
}
]
Retrieves a LinkedTransaction resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/linked_transactions/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "sourceTransactionId": "string",
- "sourceLineItemId": "string",
- "contactId": "string",
- "targetTransactionId": "string",
- "targetLineItemId": "string",
- "status": "string",
- "type": "string",
- "modified": "string",
- "sourceTransactionTypeCode": "string"
}
Retrieves the collection of Location resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/locations?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
]
Creates a Location resource.
The new Location resource
id | string unique identifier for this invoice note that no particular pattern in this field is guaranteed, only that this field is unique e.g. "square-LH49301JKSV2Y" |
integration | string The key of the integration source e.g. "square"" |
srcId | string The unique identifier of the source 3rd party integration |
created | string or null <date-time> Date entry was created e.g. "2013-11-18T02:17:40.080Z" |
businessName | string or null Name of the business e.g. "Bowman and Co" |
currency | string or null Currency code e.g. "USD" |
type | string or null Type of the Sales term e.g. STANDARD |
country | string or null Country of the address * e.g. "United States" |
city | string or null City of the address e.g. "St Paul" |
state | string or null Vendor state address e.g. "Alaska" |
postalCode | string or null Postal code of the address * e.g. "99660" |
address | string or null First line of customer address e.g. "708 Woodland Avenue" |
{- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
{- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
Retrieves a Location resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/locations/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
Replaces the Location resource.
id required | string Resource identifier |
The updated Location resource
id | string unique identifier for this invoice note that no particular pattern in this field is guaranteed, only that this field is unique e.g. "square-LH49301JKSV2Y" |
integration | string The key of the integration source e.g. "square"" |
srcId | string The unique identifier of the source 3rd party integration |
created | string or null <date-time> Date entry was created e.g. "2013-11-18T02:17:40.080Z" |
businessName | string or null Name of the business e.g. "Bowman and Co" |
currency | string or null Currency code e.g. "USD" |
type | string or null Type of the Sales term e.g. STANDARD |
country | string or null Country of the address * e.g. "United States" |
city | string or null City of the address e.g. "St Paul" |
state | string or null Vendor state address e.g. "Alaska" |
postalCode | string or null Postal code of the address * e.g. "99660" |
address | string or null First line of customer address e.g. "708 Woodland Avenue" |
{- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
{- "id": "quickbooks-34",
- "integration": "square",
- "srcId": "string",
- "created": "2013-11-18T02:17:40.080Z",
- "businessName": "Bowman and Co",
- "currency": "USD",
- "type": "string",
- "country": "United States",
- "city": "St Paul",
- "state": "Alaska",
- "postalCode": "99660",
- "address": "708 Woodland Avenue"
}
Removes the Location resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/locations/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of ManualJournal resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/manual_journals?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "string",
- "lineAmountTypes": "string",
- "modified": "string",
- "narration": "string",
- "journalLinesDescription": "string",
- "journalLinesTaxType": "string",
- "journalLinesTaxAmount": 0,
- "journalLinesLineAmount": 0,
- "journalLinesAccountCode": "string",
- "showOnCashBasisReports": true,
- "hasAttachments": true
}
]
Retrieves a ManualJournal resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/manual_journals/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "date": "string",
- "lineAmountTypes": "string",
- "modified": "string",
- "narration": "string",
- "journalLinesDescription": "string",
- "journalLinesTaxType": "string",
- "journalLinesTaxAmount": 0,
- "journalLinesLineAmount": 0,
- "journalLinesAccountCode": "string",
- "showOnCashBasisReports": true,
- "hasAttachments": true
}
Retrieves a Metrics resource.
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/metrics?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "end": "2021-04-31",
- "start": "2021-01-31",
- "metrics": {
- "gross_income": {
- "label": "Gross Income",
- "format": "\"$\"#,##0.00",
- "series": {
- "2022-01-31": 25973.45,
- "2022-02-28": 22573.45,
- "2022-03-31": 68001.9,
- "2022-04-30": 30973.45,
- "2022-05-31": 50973.45,
- "2022-06-30": 0
}, - "comment": "",
- "description": ""
}, - "current_ratio": {
- "label": "Current Ratio",
- "format": "0.00",
- "series": {
- "2022-01-31": 6.444373122980516,
- "2022-02-28": 6.467820283927578,
- "2022-03-31": 3.022120085091376,
- "2022-04-30": 3.07833126725232,
- "2022-05-31": 3.2018274290984268,
- "2022-06-30": 1.6669570820900634
}, - "comment": "",
- "description": ""
}
}, - "sources": [
- "quickbooks",
- "chargebee",
- "salesforce"
], - "timestamp": "2022-03-16T00:39:31+00:00",
- "isReconciled": false,
- "lastReconciled": "2021-01-31"
}
Retrieves the collection of OrderReturn resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/order_returns?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "quantity": 0,
- "orderId": "string",
- "refundId": "string"
}
]
Retrieves a OrderReturn resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/order_returns/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "quantity": 0,
- "orderId": "string",
- "refundId": "string"
}
Retrieves the collection of Order resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/orders?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
]
Creates a Order resource.
The new Order resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcID | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
name | string or null Order name e.g. "New order" |
orderDate | string or null <date-time> Date and time the order is created e.g. "2019-08-25T02:17:40.080Z" |
orderStatus | string or null Status of the order e.g. "activated" |
description | string or null Additional details about the order e.g. "Monthly bundle" |
amount | string or null Amount of the order e.g. "1200" |
quantity | integer or null The number of items included in the order e.g. 5 |
modified | string or null <date-time> When the order was last modified e.g. "2019-08-25T02:17:40.080Z" |
customerId | string or null Id of the customer the order is by e.g. "C005" |
firstName | string or null First name of the customer e.g. "Jane" |
lastName | string or null Last name of the customer e.g. "Doe" |
currency | string or null The currency the order was made in e.g. "USD" |
{- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
Retrieves a Order resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/orders/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
Replaces the Order resource.
id required | string Resource identifier |
The updated Order resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcID | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
name | string or null Order name e.g. "New order" |
orderDate | string or null <date-time> Date and time the order is created e.g. "2019-08-25T02:17:40.080Z" |
orderStatus | string or null Status of the order e.g. "activated" |
description | string or null Additional details about the order e.g. "Monthly bundle" |
amount | string or null Amount of the order e.g. "1200" |
quantity | integer or null The number of items included in the order e.g. 5 |
modified | string or null <date-time> When the order was last modified e.g. "2019-08-25T02:17:40.080Z" |
customerId | string or null Id of the customer the order is by e.g. "C005" |
firstName | string or null First name of the customer e.g. "Jane" |
lastName | string or null Last name of the customer e.g. "Doe" |
currency | string or null The currency the order was made in e.g. "USD" |
{- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcID": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "name": "New order",
- "orderDate": "2019-08-25T02:17:40.080Z",
- "orderStatus": "activated",
- "description": "Monthly bundle",
- "amount": "1200",
- "quantity": 5,
- "modified": "2019-08-25T02:17:40.080Z",
- "customerId": "C005",
- "firstName": "Jane",
- "lastName": "Doe",
- "currency": "USD"
}
Removes the Order resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/orders/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Organization resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/organizations?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "name": "Bobs Sandwiches",
- "legalName": "Bobs Sandwiches",
- "primaryPhone": "4165769834",
- "email": "bobs.sandwiches@gmail.com",
- "addressLine1": "23 berkly street",
- "addressLine2": "45 portland road",
- "city": "Toronto",
- "country": "Canada",
- "postalCode": "H7F5R3",
- "startDate": "2021-06-25T20:39:32+00:00",
- "created": "2021-06-25T20:39:32+00:00",
- "modified": "2021-09-16T20:39:32+00:00",
- "OrganisationType": "charity",
- "employeeCount": 75,
- "website": "bobssandwiches.com",
- "annualRevenue": "45000000000",
- "description": "Best burgers in the world",
- "industry": "hospitality",
- "locationCount": 4,
- "industryCode": "441221",
- "organisationType": "string"
}
]
Retrieves a Organization resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/organizations/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "name": "Bobs Sandwiches",
- "legalName": "Bobs Sandwiches",
- "primaryPhone": "4165769834",
- "email": "bobs.sandwiches@gmail.com",
- "addressLine1": "23 berkly street",
- "addressLine2": "45 portland road",
- "city": "Toronto",
- "country": "Canada",
- "postalCode": "H7F5R3",
- "startDate": "2021-06-25T20:39:32+00:00",
- "created": "2021-06-25T20:39:32+00:00",
- "modified": "2021-09-16T20:39:32+00:00",
- "OrganisationType": "charity",
- "employeeCount": 75,
- "website": "bobssandwiches.com",
- "annualRevenue": "45000000000",
- "description": "Best burgers in the world",
- "industry": "hospitality",
- "locationCount": 4,
- "industryCode": "441221",
- "organisationType": "string"
}
Retrieves the collection of OtherIncome resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/other_incomes?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "totalAmount": 0,
- "currencyCode": "string",
- "category": "string",
- "dateReceived": "2019-08-24T14:15:22Z",
- "description": "string",
- "paymentType": "string",
- "source": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a OtherIncome resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/other_incomes/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "totalAmount": 0,
- "currencyCode": "string",
- "category": "string",
- "dateReceived": "2019-08-24T14:15:22Z",
- "description": "string",
- "paymentType": "string",
- "source": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of Owner resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/owners?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "created": "string",
- "updated": "string",
- "isActive": true
}
]
Retrieves a Owner resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/owners/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "created": "string",
- "updated": "string",
- "isActive": true
}
Retrieves the collection of PaymentIntent resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_intents?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "amountCapturable": 0,
- "amountReceived": 0,
- "clientSecret": "string",
- "confirmationMethod": "string",
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "customerId": "string",
- "description": "string",
- "invoiceId": "string",
- "paymentMethodId": "string",
- "email": "string",
- "shippingName": "string",
- "shippingPhone": "string",
- "shippingAddress": "string",
- "status": "string"
}
]
Retrieves a PaymentIntent resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_intents/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": 0,
- "amountCapturable": 0,
- "amountReceived": 0,
- "clientSecret": "string",
- "confirmationMethod": "string",
- "created": "2019-08-24T14:15:22Z",
- "currency": "string",
- "customerId": "string",
- "description": "string",
- "invoiceId": "string",
- "paymentMethodId": "string",
- "email": "string",
- "shippingName": "string",
- "shippingPhone": "string",
- "shippingAddress": "string",
- "status": "string"
}
Retrieves the collection of PaymentMethod resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_methods?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
]
Creates a PaymentMethod resource.
The new PaymentMethod resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration |
name | string or null Name for the payment method |
type | string or null Type of the payment method |
created | string or null <date-time> Date the payment method was created |
modified | string or null <date-time> Date the payment method was last modified |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
Retrieves a PaymentMethod resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_methods/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
Replaces the PaymentMethod resource.
id required | string Resource identifier |
The updated PaymentMethod resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration |
name | string or null Name for the payment method |
type | string or null Type of the payment method |
created | string or null <date-time> Date the payment method was created |
modified | string or null <date-time> Date the payment method was last modified |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "name": "Diners Club",
- "type": "CREDIT_CARD",
- "created": "2021-10-22 19:30:17",
- "modified": "2021-10-22 19:30:17"
}
Removes the PaymentMethod resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_methods/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of PaymentService resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_services?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "url": "string",
- "payNowText": "string",
- "type": "string"
}
]
Retrieves a PaymentService resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payment_services/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "url": "string",
- "payNowText": "string",
- "type": "string"
}
Retrieves the collection of Payment resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payments?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
]
Creates a Payment resource.
The new Payment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration |
paymentDate | string <date-time> Date of the payment |
totalAmount | string or null Total amount listed in the payment in cents |
status | string or null Status of the payment e.g. PAID e.g: AUTHORISED e.g: DELETED |
modified | string or null <date-time> Date entry was last modified |
accountId | string or null Account Id the payment was made from |
customerId | string or null Customer Id |
customerName | string or null Customer name |
linkedTxnId | string or null Transaction Id |
linkedTxnType | string or null Transaction type e.g. Deposit, Invoice |
created | string or null <date-time> Date entry was created |
invoiceId | string or null Invoice Id |
currencyCode | string or null Currency code |
paymentType | string or null Payment type e.g. CreditCard |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
Retrieves a Payment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payments/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
Replaces the Payment resource.
id required | string Resource identifier |
The updated Payment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration |
paymentDate | string <date-time> Date of the payment |
totalAmount | string or null Total amount listed in the payment in cents |
status | string or null Status of the payment e.g. PAID e.g: AUTHORISED e.g: DELETED |
modified | string or null <date-time> Date entry was last modified |
accountId | string or null Account Id the payment was made from |
customerId | string or null Customer Id |
customerName | string or null Customer name |
linkedTxnId | string or null Transaction Id |
linkedTxnType | string or null Transaction type e.g. Deposit, Invoice |
created | string or null <date-time> Date entry was created |
invoiceId | string or null Invoice Id |
currencyCode | string or null Currency code |
paymentType | string or null Payment type e.g. CreditCard |
{- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
{- "id": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "paymentDate": "2020-10-22T19:30:17.697Z",
- "totalAmount": "8750",
- "status": "PAID",
- "modified": "2020-10-09T14:52:50.550Z",
- "accountId": "562555f2-8cde-4ce9-8203-0363922537a4",
- "customerId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "customerName": "Gateway Motors",
- "linkedTxnId": "361a4980-7f53-4b68-820c-f6487f613284",
- "linkedTxnType": "Deposit",
- "created": "2021-10-22T19:30:17.697Z",
- "invoiceId": "129",
- "currencyCode": "USD",
- "paymentType": "PayPal"
}
Removes the Payment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payments/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Payout resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payouts?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
]
Creates a Payout resource.
The new Payout resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
amount | integer The amount to be transferred to a bank account or debit card in cents e.g. 74753 |
arrivalDate | string or null The date and time the payout is expected to arrive in the bank e.g. "2020-11-03T02:17:40.080Z" |
automatic | string or null Whether the payout was created by an automated payout schedule or not e.g. "true" |
balanceTransactionId | string or null The ID of the balance transaction that describes the impact of this payout on the account balance e.g. "7464" |
created | string or null The date and time this payout was created e.g. "2020-11-03" |
currency | string or null Currency the payout is made in e.g. "USD" |
payoutDescription | string or null A description of the payout e.g. "Payout description" |
destinationId | string or null The ID of the bank account or card the payout is sent to e.g. "44" |
failureBalanceTransactionId | string or null The ID of the balance transaction if the payout failed or cancelled e.g. "py_1L9D8G2eZgTElo2CaKQjce77" |
failureCode | string or null Error code explaining reason for payout failure. |
failureMessage | string or null Message to user further explaining reason for payout failure e.g. "payment failed" |
method | string or null Method used to send this payout e.g. "Standard" e.g. "Instant" e.g. "Standard" |
sourceType | string or null The source balance this payout came from e.g. "card" e.g. "bank_account" |
status | string or null Current status of the payout e.g. "paid" e.g. "pending" |
payoutType | string or null Type of payout e.g. "bank_account" e.g. "card" |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
Retrieves a Payout resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payouts/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
Replaces the Payout resource.
id required | string Resource identifier |
The updated Payout resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
amount | integer The amount to be transferred to a bank account or debit card in cents e.g. 74753 |
arrivalDate | string or null The date and time the payout is expected to arrive in the bank e.g. "2020-11-03T02:17:40.080Z" |
automatic | string or null Whether the payout was created by an automated payout schedule or not e.g. "true" |
balanceTransactionId | string or null The ID of the balance transaction that describes the impact of this payout on the account balance e.g. "7464" |
created | string or null The date and time this payout was created e.g. "2020-11-03" |
currency | string or null Currency the payout is made in e.g. "USD" |
payoutDescription | string or null A description of the payout e.g. "Payout description" |
destinationId | string or null The ID of the bank account or card the payout is sent to e.g. "44" |
failureBalanceTransactionId | string or null The ID of the balance transaction if the payout failed or cancelled e.g. "py_1L9D8G2eZgTElo2CaKQjce77" |
failureCode | string or null Error code explaining reason for payout failure. |
failureMessage | string or null Message to user further explaining reason for payout failure e.g. "payment failed" |
method | string or null Method used to send this payout e.g. "Standard" e.g. "Instant" e.g. "Standard" |
sourceType | string or null The source balance this payout came from e.g. "card" e.g. "bank_account" |
status | string or null Current status of the payout e.g. "paid" e.g. "pending" |
payoutType | string or null Type of payout e.g. "bank_account" e.g. "card" |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "amount": 74753,
- "arrivalDate": "2020-11-03T02:17:40.080Z",
- "automatic": "true",
- "balanceTransactionId": "7464",
- "created": "2020-11-03",
- "currency": "USD",
- "payoutDescription": "Payout description",
- "destinationId": "44",
- "failureBalanceTransactionId": "py_1L9D8G2eZgTElo2CaKQjce77",
- "failureCode": "error 43",
- "failureMessage": "payment failed",
- "method": "Standard",
- "sourceType": "card",
- "status": "pending",
- "payoutType": "card"
}
Removes the Payout resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payouts/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Payroll resources.
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/payroll") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "1",
- "platform": "ADP",
- "dba": "Report: Earnings Record",
- "start": "2018-01-02",
- "end": "2018-05-15",
- "employee_number": "5",
- "employee_name": "Emily Wright",
- "employee_id": "6319",
- "pay_frequency": "",
- "hourly_rate": "37.5000",
- "salary": "400.00",
- "standard_hours": "Emily Wright",
- "check_date": "2018-01-12",
- "check_number": "50828",
- "coverage_start": "2018-01-02",
- "coverage_end": "2018-10-12",
- "gross_wages": "212.50",
- "social_security": "91.76",
- "medicare_tax": "110.40",
- "fica_tax": "16.26",
- "federal_tax": "120.78",
- "state_tax": "42.82",
- "other_tax": "0.0",
- "local_tax": "0.0",
- "dental_deductions": "0.0",
- "health_deductions": "0.0",
- "hsa_deductions": "0.0",
- "pre_tax_deductions": "103.60",
- "after_tax_deductions": "0.0",
- "voluntary_deductions": "103.60",
- "garnishment_deductions": "0.0",
- "description": "",
- "regular_hours": "103.60",
- "overtime_hours": "0.0",
- "holiday_hours": "0.0",
- "sick_hours": "0.0",
- "regular_wages": "1480.00",
- "overtime_wages": "0.0",
- "reimbursements": "0.0",
- "commission": "0.0",
- "bonus": "0.0",
- "net_pay": "1100.23",
- "company_futa_tax": "8.88",
- "company_suta_tax": "50.32",
- "company_social_security": "91.76",
- "company_medicare_tax": "21.46",
- "company_state_tax": "1.48",
- "company_other_tax": "0.0",
- "company_other_contributions": "59.20"
}
]
Retrieves the collection of Plan resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/plans?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "isActive": true,
- "aggregateUsage": "sum",
- "amount": 200,
- "billingScheme": "per_unit",
- "created": "2019-08-24T14:15:22Z",
- "currency": "USD",
- "description": "Monthly streaming subscription",
- "productId": "2",
- "tiersMode": "volume",
- "transformUsage": 0,
- "usageType": "metered",
- "intervalCount": 0,
- "trialPeriodDays": 0
}
]
Retrieves a Plan resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/plans/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "706f68c5-46b2-43d8-9aa8-41d1cc2a317f",
- "isActive": true,
- "aggregateUsage": "sum",
- "amount": 200,
- "billingScheme": "per_unit",
- "created": "2019-08-24T14:15:22Z",
- "currency": "USD",
- "description": "Monthly streaming subscription",
- "productId": "2",
- "tiersMode": "volume",
- "transformUsage": 0,
- "usageType": "metered",
- "intervalCount": 0,
- "trialPeriodDays": 0
}
Retrieves the collection of Product resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/products?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
]
Creates a Product resource.
The new Product resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
additionalType | string or null An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally. |
alternateName | |
award | |
categories | Array of strings or null A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy. |
color | |
description | |
disambiguatingDescription | string or null A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
gtin12 | string or null The [GTIN-12](http://apps.gs1.org/GDD/glossary/Pages/GTIN-12.aspx) code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin13s | Array of strings or null The [GTIN-13](http://apps.gs1.org/GDD/glossary/Pages/GTIN-13.aspx) code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceeding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin14s | Array of strings or null The [GTIN-14](http://apps.gs1.org/GDD/glossary/Pages/GTIN-14.aspx) code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin8s | Array of strings or null The [GTIN-8](http://apps.gs1.org/GDD/glossary/Pages/GTIN-8.aspx) code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
image | string or null An image of the item. This can be a [[URL]] or a fully described [[ImageObject]]. |
isAccessoryOrSparePartFors | Array of strings or null <iri-reference> a pointer to another product (or multiple products) for which this product is an accessory or spare part |
isConsumableFors | Array of strings or null <iri-reference> a pointer to another product (or multiple products) for which this product is a consumable |
isRelatedTo | string or null <iri-reference> a pointer to another, somehow related product (or multiple products) |
isSimilarTos | Array of strings or null <iri-reference> a pointer to another, functionally similar product (or multiple products) |
itemCondition | string or null a predefined value from OfferItemCondition or a textual description of the condition of the product or service, or the products or services included in the offer |
model | string or null The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties. |
mpns | Array of strings or null the Manufacturer Part Number (MPN) of the product, or the product to which the offer refers |
manufacturer | |
name | |
productID | string or null The product identifier, such as ISBN. For example: |
releaseDate | string or null <date-time> The release date of a product or product model. This can be used to distinguish the exact variant of a product. |
sameA | string or null URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
skus | Array of strings or null The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers. |
url | |
material | string or null A material that something is made from, e.g. leather, wool, cotton, paper. |
productionDate | string or null <date-time> The date of production of the item, e.g. vehicle. |
purchaseDate | string or null <date-time> The date the item e.g. vehicle was purchased by the current owner. |
identifier | string or null The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details. |
srcId | string Unique identifier for a product |
isActive | string or null Whether the product is active or not |
height | integer or null The height of the product |
width | integer or null Width of the product |
weight | integer or null Weight of the product |
quantity | integer or null Quantity of product available |
availableForPurchase | boolean or null Whether the product is available for purchase or not |
updated | string or null The date and time the product was last modified |
price | integer or null The price of the product |
weightUnit | string or null The unit weight is measured in |
heightUnit | string or null The unit height is measured in |
widthUnit | string or null The unit width is measured in |
{- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
{- "id": "string",
- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
Retrieves a Product resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/products/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
Replaces the Product resource.
id required | string Resource identifier |
The updated Product resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
additionalType | string or null An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally. |
alternateName | |
award | |
categories | Array of strings or null A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy. |
color | |
description | |
disambiguatingDescription | string or null A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
gtin12 | string or null The [GTIN-12](http://apps.gs1.org/GDD/glossary/Pages/GTIN-12.aspx) code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin13s | Array of strings or null The [GTIN-13](http://apps.gs1.org/GDD/glossary/Pages/GTIN-13.aspx) code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceeding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin14s | Array of strings or null The [GTIN-14](http://apps.gs1.org/GDD/glossary/Pages/GTIN-14.aspx) code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
gtin8s | Array of strings or null The [GTIN-8](http://apps.gs1.org/GDD/glossary/Pages/GTIN-8.aspx) code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. |
image | string or null An image of the item. This can be a [[URL]] or a fully described [[ImageObject]]. |
isAccessoryOrSparePartFors | Array of strings or null <iri-reference> a pointer to another product (or multiple products) for which this product is an accessory or spare part |
isConsumableFors | Array of strings or null <iri-reference> a pointer to another product (or multiple products) for which this product is a consumable |
isRelatedTo | string or null <iri-reference> a pointer to another, somehow related product (or multiple products) |
isSimilarTos | Array of strings or null <iri-reference> a pointer to another, functionally similar product (or multiple products) |
itemCondition | string or null a predefined value from OfferItemCondition or a textual description of the condition of the product or service, or the products or services included in the offer |
model | string or null The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties. |
mpns | Array of strings or null the Manufacturer Part Number (MPN) of the product, or the product to which the offer refers |
manufacturer | |
name | |
productID | string or null The product identifier, such as ISBN. For example: |
releaseDate | string or null <date-time> The release date of a product or product model. This can be used to distinguish the exact variant of a product. |
sameA | string or null URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
skus | Array of strings or null The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers. |
url | |
material | string or null A material that something is made from, e.g. leather, wool, cotton, paper. |
productionDate | string or null <date-time> The date of production of the item, e.g. vehicle. |
purchaseDate | string or null <date-time> The date the item e.g. vehicle was purchased by the current owner. |
identifier | string or null The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details. |
srcId | string Unique identifier for a product |
isActive | string or null Whether the product is active or not |
height | integer or null The height of the product |
width | integer or null Width of the product |
weight | integer or null Weight of the product |
quantity | integer or null Quantity of product available |
availableForPurchase | boolean or null Whether the product is available for purchase or not |
updated | string or null The date and time the product was last modified |
price | integer or null The price of the product |
weightUnit | string or null The unit weight is measured in |
heightUnit | string or null The unit height is measured in |
widthUnit | string or null The unit width is measured in |
{- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
{- "id": "string",
- "integration": "quickbooks",
- "additionalType": "string",
- "alternateName": "string",
- "award": "string",
- "categories": [
- "string"
], - "color": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "gtin12": "string",
- "gtin13s": [
- "string"
], - "gtin14s": [
- "string"
], - "gtin8s": [
- "string"
], - "image": "string",
- "isAccessoryOrSparePartFors": [
- "../словник"
], - "isConsumableFors": [
- "../словник"
], - "isRelatedTo": "../словник",
- "isSimilarTos": [
- "../словник"
], - "itemCondition": "string",
- "model": "string",
- "mpns": [
- "string"
], - "manufacturer": "string",
- "name": "string",
- "productID": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "sameA": "string",
- "skus": [
- "string"
], - "url": "string",
- "material": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "srcId": "string",
- "isActive": "string",
- "height": 0,
- "width": 0,
- "weight": 0,
- "quantity": 0,
- "availableForPurchase": true,
- "updated": "string",
- "price": 0,
- "weightUnit": "string",
- "heightUnit": "string",
- "widthUnit": "string"
}
Removes the Product resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/products/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves a ProfitAndLoss resource.
start required | string <date-time> Example: start=2022-11-01 YYYY-MM-DD |
end required | string <date-time> Example: end=2022-11-30 YYYY-MM-DD |
accounting_method required | string Enum: "cash" "accrual" Example: accounting_method=accrual The Accounting Method |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/profit_and_loss?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&accounting_method=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "reportTitle": "Profit and Loss Statement",
- "companyName": "Flux Capacitors Inc",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "accountingMethod": "cash",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "currencyCode": "USD",
- "totalIncome": "786532",
- "totalExpenses": "756282"
}
Retrieves an excel workbook of a series of profit and loss reports
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/profit_and_loss_excel?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "file": "This endpoint returns an .xlsx file."
}
Retrieves a mapped profit and loss report
start | string <date-time> Example: start=2022-01-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-01-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/profit_and_loss_report?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "timestamp": "2021-08-25T15:40:22+00:00",
- "profit_loss": "<b>INCOME</b><br>Sales: 148440.00<br><hr><b style=\"color:#00B4FF;\">Total Income: 148440.00</b><hr><br><b>EXPENSES</b><br>Advertising: 500.00<br>Repair and maintenance: 8000.00<br><hr><b style=\"color:#00B4FF;\">Total Expenses: 8500.00</b><hr><br><hr><b style=\"color:#00B4FF;\">PROFIT: 139940.00</b><hr><br>",
- "yoy_sales_growth": 1,
- "periods": [
- {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"22540.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"22540.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"22540.00\"}]}]",
- "start": "2021-01-01",
- "end": "2021-01-31",
- "totals": {
- "income": 22540,
- "expenses": 0,
- "profit": 22540
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 22540,
- "mapping": "Revenue"
}
], - "opex": 0,
- "ebitda": 22540,
- "adjusted_ebitda": 22540,
- "ebit": 22540,
- "gross_margin": 22540,
- "gross_income": 22540,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"28000.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"28000.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"28000.00\"}]}]",
- "start": "2021-02-01",
- "end": "2021-02-28",
- "totals": {
- "income": 28000,
- "expenses": 0,
- "profit": 28000
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 28000,
- "mapping": "Revenue"
}
], - "opex": 0,
- "ebitda": 28000,
- "adjusted_ebitda": 28000,
- "ebit": 28000,
- "gross_margin": 28000,
- "gross_income": 28000,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"24500.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"24500.00\"}]}, {\"type\": \"sectionheader\", \"cells\": [{\"value\": \"EXPENSES\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"17\", \"value\": \"Advertising\"}, {\"value\": \"500.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Expenses\"}, {\"value\": \"500.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"24000.00\"}]}]",
- "start": "2021-03-01",
- "end": "2021-03-31",
- "totals": {
- "income": 24500,
- "expenses": 500,
- "profit": 24000
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 24500,
- "mapping": "Revenue"
}, - {
- "id": "17",
- "name": "Advertising",
- "value": 500,
- "mapping": "Expenses"
}
], - "opex": 500,
- "ebitda": 24000,
- "adjusted_ebitda": 24000,
- "ebit": 24000,
- "gross_margin": 24000,
- "gross_income": 24500,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"7500.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"7500.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"7500.00\"}]}]",
- "start": "2021-04-01",
- "end": "2021-04-30",
- "totals": {
- "income": 7500,
- "expenses": 0,
- "profit": 7500
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 7500,
- "mapping": "Revenue"
}
], - "opex": 0,
- "ebitda": 7500,
- "adjusted_ebitda": 7500,
- "ebit": 7500,
- "gross_margin": 7500,
- "gross_income": 7500,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"22600.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"22600.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"22600.00\"}]}]",
- "start": "2021-05-01",
- "end": "2021-05-31",
- "totals": {
- "income": 22600,
- "expenses": 0,
- "profit": 22600
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 22600,
- "mapping": "Revenue"
}
], - "opex": 0,
- "ebitda": 22600,
- "adjusted_ebitda": 22600,
- "ebit": 22600,
- "gross_margin": 22600,
- "gross_income": 22600,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"sectionheader\", \"cells\": [{\"value\": \"INCOME\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"9\", \"value\": \"Sales\"}, {\"value\": \"43300.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Income\"}, {\"value\": \"43300.00\"}]}, {\"type\": \"sectionheader\", \"cells\": [{\"value\": \"EXPENSES\"}, {\"value\": \"\"}]}, {\"type\": \"row\", \"cells\": [{\"id\": \"35\", \"value\": \"Repair and maintenance\"}, {\"value\": \"8000.00\"}]}, {\"type\": \"sectionsummary\", \"cells\": [{\"value\": \"Total Expenses\"}, {\"value\": \"8000.00\"}]}, {\"type\": \"summaryrow\", \"cells\": [{\"value\": \"PROFIT\"}, {\"value\": \"35300.00\"}]}]",
- "start": "2021-06-01",
- "end": "2021-06-30",
- "totals": {
- "income": 43300,
- "expenses": 8000,
- "profit": 35300
}, - "details": [
- {
- "id": "9",
- "name": "Sales",
- "value": 43300,
- "mapping": "Revenue"
}, - {
- "id": "35",
- "name": "Repair and maintenance",
- "value": 8000,
- "mapping": "Expenses"
}
], - "opex": 8000,
- "ebitda": 35300,
- "adjusted_ebitda": 35300,
- "ebit": 35300,
- "gross_margin": 35300,
- "gross_income": 43300,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"row\", \"cells\": [{\"value\": \"PROFIT\"}]}]",
- "start": "2021-07-01",
- "end": "2021-07-31",
- "totals": {
- "income": 0,
- "expenses": 0,
- "profit": 0
}, - "details": [ ],
- "opex": 0,
- "ebitda": 0,
- "adjusted_ebitda": 0,
- "ebit": 0,
- "gross_margin": 0,
- "gross_income": 0,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}, - {
- "rows": "[{\"type\": \"row\", \"cells\": [{\"value\": \"PROFIT\"}]}]",
- "start": "2021-08-01",
- "end": "2021-08-31",
- "totals": {
- "income": 0,
- "expenses": 0,
- "profit": 0
}, - "details": [ ],
- "opex": 0,
- "ebitda": 0,
- "adjusted_ebitda": 0,
- "ebit": 0,
- "gross_margin": 0,
- "gross_income": 0,
- "yoy_sales_growth": null,
- "year_ago_sales": null
}
], - "start": "2021-01-01",
- "end": "2021-08-25",
- "series": {
- "inflow": [
- 22.5,
- 28,
- 24.5,
- 7.5,
- 22.6,
- 43.3,
- 0,
- 0
], - "outflow": [
- 0,
- 0,
- -0.5,
- 0,
- 0,
- -8,
- 0,
- 0
], - "net": [
- 22.5,
- 28,
- 24,
- 7.5,
- 22.6,
- 35.3,
- 0,
- 0
], - "series_labels": [
- "Jan 21",
- "Feb 21",
- "Mar 21",
- "Apr 21",
- "May 21",
- "Jun 21",
- "Jul 21",
- "Aug 21"
], - "series_reconciled": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
], - "series": [
- "2021-01-01",
- "2021-02-01",
- "2021-03-01",
- "2021-04-01",
- "2021-05-01",
- "2021-06-01",
- "2021-07-01",
- "2021-08-01"
], - "opex": [
- 0,
- 0,
- 0.5,
- 0,
- 0,
- 8,
- 0,
- 0
], - "ebitda": [
- 22.5,
- 28,
- 24,
- 7.5,
- 22.6,
- 35.3,
- 0,
- 0
], - "ebit": [
- 22.5,
- 28,
- 24,
- 7.5,
- 22.6,
- 35.3,
- 0,
- 0
], - "gross_margin": [
- 22.5,
- 28,
- 24,
- 7.5,
- 22.6,
- 35.3,
- 0,
- 0
], - "gross_income": [
- 22.5,
- 28,
- 24.5,
- 7.5,
- 22.6,
- 43.3,
- 0,
- 0
], - "year_ago_sales": [
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
]
}, - "lastReconciled": "1980-01-01",
- "lastReconciledLabel": "Dec 79",
- "isReconciled": false,
- "hasCompleteData": true
}
Retrieves the collection of Project resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/projects?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "projectName": "string",
- "customerId": "string",
- "customerName": "string",
- "currency": "string",
- "status": "string",
- "billingType": "string",
- "rate": 0,
- "totalHours": 0,
- "billableHours": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a Project resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/projects/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "projectName": "string",
- "customerId": "string",
- "customerName": "string",
- "currency": "string",
- "status": "string",
- "billingType": "string",
- "rate": 0,
- "totalHours": 0,
- "billableHours": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of ProxyRequest resources.
key required | string Example: key=quickbooks The key of the application you would like to request. |
url required | string Example: url=https://sandbox-quickbooks.api.intuit.com/v3/company/16208146365078362930/query The url of the application you would like to request. |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/proxy_request?key=SOME_STRING_VALUE&url=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- { }
]
Creates a ProxyRequest resource.
key required | string Example: key=quickbooks The key of the application you would like to request. |
url required | string Example: url=https://sandbox-quickbooks.api.intuit.com/v3/company/16208146365078362930/query The url of the application endpoint you would like to request. |
The new ProxyRequest resource
{ }
{ }
Retrieves the collection of PublishingChannel resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/publishing_channels?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "updated": "string",
- "isActive": true,
- "shared": true,
- "type": "string",
- "accountType": "string",
- "name": "string",
- "profileUrl": "string"
}
]
Retrieves a PublishingChannel resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/publishing_channels/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "updated": "string",
- "isActive": true,
- "shared": true,
- "type": "string",
- "accountType": "string",
- "name": "string",
- "profileUrl": "string"
}
Retrieves the collection of PurchaseCreditNote resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchase_credit_notes?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "srcId": "string",
- "name": "string",
- "referenceNumber": "string",
- "totalAmount": 0,
- "balance": 0,
- "date": "2019-08-24T14:15:22Z",
- "currency": "string",
- "status": "string",
- "notes": "string",
- "customerId": "string",
- "customerName": "string"
}
]
Retrieves a PurchaseCreditNote resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchase_credit_notes/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "srcId": "string",
- "name": "string",
- "referenceNumber": "string",
- "totalAmount": 0,
- "balance": 0,
- "date": "2019-08-24T14:15:22Z",
- "currency": "string",
- "status": "string",
- "notes": "string",
- "customerId": "string",
- "customerName": "string"
}
Retrieves the collection of PurchaseOrder resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchase_orders?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "vendorId": "string",
- "vendorName": "string",
- "currency": "string",
- "totalAmount": 0,
- "poStatus": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "referenceNumber": "string",
- "deliveryDate": "string",
- "subtotal": 0,
- "txnStatus": "string"
}
]
Retrieves a PurchaseOrder resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchase_orders/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "vendorId": "string",
- "vendorName": "string",
- "currency": "string",
- "totalAmount": 0,
- "poStatus": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "referenceNumber": "string",
- "deliveryDate": "string",
- "subtotal": 0,
- "txnStatus": "string"
}
Retrieves the collection of Purchase resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchases?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "stripe-5050",
- "integration": "quickbooks",
- "paymentType": "CreditCard",
- "accountId": "1057",
- "currency": "USD",
- "txnDate": "2019-08-25",
- "totalAmount": 450000,
- "created": "2019-08-25T02:17:40.080Z",
- "modified": "2019-08-26T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "customerId": "C056",
- "name": "purchase name",
- "status": "shipped",
- "quantity": 10,
- "amountPerUnit": "450",
- "txnId": "4560",
- "accountName": "Cool Cars",
- "invoiceId": "9870028192",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d"
}
]
Retrieves a Purchase resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/purchases/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "stripe-5050",
- "integration": "quickbooks",
- "paymentType": "CreditCard",
- "accountId": "1057",
- "currency": "USD",
- "txnDate": "2019-08-25",
- "totalAmount": 450000,
- "created": "2019-08-25T02:17:40.080Z",
- "modified": "2019-08-26T02:17:40.080Z",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "customerId": "C056",
- "name": "purchase name",
- "status": "shipped",
- "quantity": 10,
- "amountPerUnit": "450",
- "txnId": "4560",
- "accountName": "Cool Cars",
- "invoiceId": "9870028192",
- "contactName": "Cool Cars",
- "contactType": "Vendor",
- "paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d"
}
Retrieves the collection of Quote resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/quotes?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
]
Creates a Quote resource.
The new Quote resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for the item |
created | string or null <date-time> Datetime when the item was created |
modified | string or null <date-time> Datetime when the item was last updated |
customerId | string or null Unique identifier for contact |
customerName | string or null Contact name |
quoteNumber | string or null Generated quote number |
txnDate | string or null Date of the quote |
billingCity | string or null Main address city |
billingPostalcode | string or null Main address postalcode |
billingCountry | string or null Main address country |
shippingCity | string or null Delivery address city |
shippingCountry | string or null Delivery address country |
totalAmount | integer or null Total amount of the quote |
currency | string or null Currency of the quote |
txnStatus | string or null Status of quote |
shippingPostalcode | string or null Delivery address postalcode |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
Retrieves a Quote resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/quotes/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
Replaces the Quote resource.
id required | string Resource identifier |
The updated Quote resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for the item |
created | string or null <date-time> Datetime when the item was created |
modified | string or null <date-time> Datetime when the item was last updated |
customerId | string or null Unique identifier for contact |
customerName | string or null Contact name |
quoteNumber | string or null Generated quote number |
txnDate | string or null Date of the quote |
billingCity | string or null Main address city |
billingPostalcode | string or null Main address postalcode |
billingCountry | string or null Main address country |
shippingCity | string or null Delivery address city |
shippingCountry | string or null Delivery address country |
totalAmount | integer or null Total amount of the quote |
currency | string or null Currency of the quote |
txnStatus | string or null Status of quote |
shippingPostalcode | string or null Delivery address postalcode |
{- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "90300000072369",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00",
- "customerId": "0124",
- "customerName": "John Doe",
- "quoteNumber": "99",
- "txnDate": "2021-07-28 00:00:00",
- "billingCity": "Toronto",
- "billingPostalcode": "H6F0R3",
- "billingCountry": "Canada",
- "shippingCity": "Vancouver",
- "shippingCountry": "Canada",
- "totalAmount": 5000000,
- "currency": "CAD",
- "txnStatus": "2021-09-15 00:00:00",
- "shippingPostalcode": "V5N7G4"
}
Removes the Quote resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/quotes/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of RecurringCharge resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_charges?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
]
Creates a RecurringCharge resource.
The new RecurringCharge resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
name | string or null Name of the recurring charge |
srcId | string or null Unique identifier for each recurring charge |
apiClientId | string or null API key for the app the charge is associated with |
price | integer or null The price of the recurring application charge |
status | string or null The status of the recurring charge e.g. "Pending" e.g. "Accepted" |
returnUrl | string or null The URL where the merchant is redirected afteraccepting the charge |
billingDate | string or null <date-time> The date and time when the customer is billed |
created | string or null <date-time> The date and time when the recurring charge was created eg. "2021-11-18T02:17:40.080Z" |
modified | string or null <date-time> The date and time when the recurring charge was last modified eg. "2021-11-18T02:17:40.080Z" |
activationDate | string or null <date-time> The date and time when the customer activated the recurring charge |
cancellationDate | string or null <date-time> The date and time when the merchant cancelled their recurring charge |
trialDays | integer or null The number of days that the customer is eligible for a free trial |
trialEndsOn | string or null <date-time> The date and time when the free trial ends |
decoratedReturnUrl | string or null The display URL where the merchant is redirected after accepting a charge |
{- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
{- "id": "string",
- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
Retrieves a RecurringCharge resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_charges/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
Replaces the RecurringCharge resource.
id required | string Resource identifier |
The updated RecurringCharge resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
name | string or null Name of the recurring charge |
srcId | string or null Unique identifier for each recurring charge |
apiClientId | string or null API key for the app the charge is associated with |
price | integer or null The price of the recurring application charge |
status | string or null The status of the recurring charge e.g. "Pending" e.g. "Accepted" |
returnUrl | string or null The URL where the merchant is redirected afteraccepting the charge |
billingDate | string or null <date-time> The date and time when the customer is billed |
created | string or null <date-time> The date and time when the recurring charge was created eg. "2021-11-18T02:17:40.080Z" |
modified | string or null <date-time> The date and time when the recurring charge was last modified eg. "2021-11-18T02:17:40.080Z" |
activationDate | string or null <date-time> The date and time when the customer activated the recurring charge |
cancellationDate | string or null <date-time> The date and time when the merchant cancelled their recurring charge |
trialDays | integer or null The number of days that the customer is eligible for a free trial |
trialEndsOn | string or null <date-time> The date and time when the free trial ends |
decoratedReturnUrl | string or null The display URL where the merchant is redirected after accepting a charge |
{- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
{- "id": "string",
- "integration": "quickbooks",
- "name": "Monthly Rental",
- "srcId": "982000000567240",
- "apiClientId": "aa2e-87c43f2a32a9",
- "price": 1200,
- "status": "Pending",
- "returnUrl": "www.example.com",
- "billingDate": "2021-07-28",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-07-28 00:00:00",
- "activationDate": "2021-06-28",
- "cancellationDate": "2021-08-28",
- "trialDays": 12,
- "trialEndsOn": "2021-07-09",
}
Removes the RecurringCharge resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_charges/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of RecurringExpense resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_expenses?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
]
Creates a RecurringExpense resource.
The new RecurringExpense resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier of the source 3rd party integration eg. 982000000567240 |
recurrenceName | string or null Name of the recurring-expense eg. "Monthly Rental" |
startDate | string or null Start date of the recurring expense eg. 2016-11-19T00:00:00.000Z |
endDate | string or null End date of the recurring expense eg. 2016-11-19T00:00:00.000Z |
lastCreatedDate | string or null When expense was last generated eg. "2013-11-18T00:00:00.000Z" |
recurrenceFrequency | string or null The frequency of time interval at which the invoice is to be generated eg. "months" |
repeatEvery | string or null The period between every recurrency frequency eg. "2" |
nextExpenseDate | string or null Date the next expense will be generated eg. "2013-12-18T00:00:00.000Z" |
accountId | string or null Unique identifier for the account associated with the recurring expense "982000000561057" |
accountName | string or null Expense account name eg. "Rent" |
currency | string or null Currency of the expense eg. "USD" |
total | integer or null Total amount in cents eg. "1000" |
customerId | string or null Customer ID of the customer for whom the recurring invoice is raised eg. "982000000567001" |
status | string or null Status of the recurring expense eg. "active" |
created | string or null <date-time> Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Time at which the recurring invoice details were last updated eg. "2013-11-18T02:17:40.080Z" |
{- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Retrieves a RecurringExpense resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_expenses/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Replaces the RecurringExpense resource.
id required | string Resource identifier |
The updated RecurringExpense resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier of the source 3rd party integration eg. 982000000567240 |
recurrenceName | string or null Name of the recurring-expense eg. "Monthly Rental" |
startDate | string or null Start date of the recurring expense eg. 2016-11-19T00:00:00.000Z |
endDate | string or null End date of the recurring expense eg. 2016-11-19T00:00:00.000Z |
lastCreatedDate | string or null When expense was last generated eg. "2013-11-18T00:00:00.000Z" |
recurrenceFrequency | string or null The frequency of time interval at which the invoice is to be generated eg. "months" |
repeatEvery | string or null The period between every recurrency frequency eg. "2" |
nextExpenseDate | string or null Date the next expense will be generated eg. "2013-12-18T00:00:00.000Z" |
accountId | string or null Unique identifier for the account associated with the recurring expense "982000000561057" |
accountName | string or null Expense account name eg. "Rent" |
currency | string or null Currency of the expense eg. "USD" |
total | integer or null Total amount in cents eg. "1000" |
customerId | string or null Customer ID of the customer for whom the recurring invoice is raised eg. "982000000567001" |
status | string or null Status of the recurring expense eg. "active" |
created | string or null <date-time> Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Time at which the recurring invoice details were last updated eg. "2013-11-18T02:17:40.080Z" |
{- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "982000000567240",
- "recurrenceName": "Monthly Rental",
- "startDate": "2020-11-19T00:00:00.000Z",
- "endDate": "2024-11-19T00:00:00.000Z",
- "lastCreatedDate": "2021-11-18T00:00:00.000Z",
- "recurrenceFrequency": "months",
- "repeatEvery": "2",
- "nextExpenseDate": "2021-12-18T00:00:00.000Z",
- "accountId": "982000000561057",
- "accountName": "Rent",
- "currency": "USD",
- "total": 100,
- "customerId": "982000000567001",
- "status": "active",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Removes the RecurringExpense resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/recurring_expenses/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Refund resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/refunds?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-66",
- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
]
Creates a Refund resource.
The new Refund resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
accountId | string |
currency | string or null Currency the refund was made in |
paymentRef | string or null Transaction number that appears on email receipts sent for this refund |
txnDate | string or null The date and time the refund was created |
totalAmount | integer Total amount refunded |
balance | integer or null |
customerId | string or null |
created | string or null <date-time> The date and time the refund was created |
modified | string or null <date-time> |
srcId | string Unique identifier for each refund |
reason | string or null Reason for refund |
status | string or null Status of refund e.g. "pending" e.g. "succeeded" e.g. "failed" |
{- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
{- "id": "quickbooks-66",
- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
Retrieves a Refund resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/refunds/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-66",
- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
Replaces the Refund resource.
id required | string Resource identifier |
The updated Refund resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
accountId | string |
currency | string or null Currency the refund was made in |
paymentRef | string or null Transaction number that appears on email receipts sent for this refund |
txnDate | string or null The date and time the refund was created |
totalAmount | integer Total amount refunded |
balance | integer or null |
customerId | string or null |
created | string or null <date-time> The date and time the refund was created |
modified | string or null <date-time> |
srcId | string Unique identifier for each refund |
reason | string or null Reason for refund |
status | string or null Status of refund e.g. "pending" e.g. "succeeded" e.g. "failed" |
{- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
{- "id": "quickbooks-66",
- "integration": "quickbooks",
- "accountId": "35",
- "currency": "USD",
- "paymentRef": "USD",
- "txnDate": "2021-06-24",
- "totalAmount": 8750,
- "balance": 0,
- "customerId": "15",
- "created": "2021-06-24T22:35:07+00:00",
- "modified": "2021-06-24T22:35:07+00:00",
- "srcId": "66",
- "reason": "bad item",
- "status": "succeeded"
}
Removes the Refund resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/refunds/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of RepeatingInvoice resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/repeating_invoices?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
]
Creates a RepeatingInvoice resource.
The new RepeatingInvoice resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for each repeating invoice |
period | integer or null Number of times the invoice is charged per unit |
unit | string or null Interval unit defining how often the invoice is charged e.g. WEEKLY e.g. MONTHLY |
dueDate | string or null Number of days defining when the invoice is scheduled to be charged |
dueDateType | string or null The type of billing used together with due date e.g. "DAYSAFTERBILLDATE" e.g. "DAYSAFTERBILLMONTH" e.g. "OFCURRENTMONTH" e.g. "OFFOLLOWINGMONTH" |
startDate | string or null date on which the recurring invoice starts |
nextScheduledDate | string or null date at which next invoice is to be sent |
type | string or null The type of invoice e.g. "ACCPAY" e.g. "ACCREC" |
reference | string or null Order number of recurring invoice |
hasAttachments | boolean or null Whether the invoice has attachments or not |
contactId | string or null Id of customer for whom recurring invoice is raised |
contactName | string or null Full name of contact |
status | string or null Status of the repeating invoice e.g. "DRAFT" e.g. "AUTHORISED" |
lineAmountTypes | string or null Whether the line amount includes, excludes or doesn't have tax. |
lineItemDescription | string or null A description of the line item |
lineItemUnitAmount | integer or null The unit amount of the line item |
lineItemTaxType | string or null The type of tax applied to line items e.g. "OUTPUT" e.g. "INPUT" e.g. "CAPEXINPUT" |
lineAmount | integer or null The final amount for the line items |
lineItemAccountCode | string or null Account code for the line item |
lineItemQuantity | integer or null The quantity of the line items |
lineItemId | string or null Unique ID for the line item |
subTotal | integer or null Total of invoice excluding taxes |
totalTax | integer or null Total tax on invoice |
total | integer Total of invoice tax inclusive |
currencyCode | string or null currency of invoice |
recurrenceName | string or null Unique name for the recurring profile given by the user |
endDate | string or null date on which the recurring invoice expires |
lastSentDate | string or null date at which the last invoice was sent |
paidInvoicesTotal | integer or null total amount paid to date |
unpaidInvoicesBalance | integer or null total amount left to be paid |
discount | integer or null |
billingStreet | string or null |
billingStreet2 | string or null |
billingCity | string or null |
billingState | string or null |
billingPostalCode | string or null |
billingCountry | string or null |
created | string or null <date-time> |
modified | string or null <date-time> |
{- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Retrieves a RepeatingInvoice resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/repeating_invoices/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Replaces the RepeatingInvoice resource.
id required | string Resource identifier |
The updated RepeatingInvoice resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string Unique identifier for each repeating invoice |
period | integer or null Number of times the invoice is charged per unit |
unit | string or null Interval unit defining how often the invoice is charged e.g. WEEKLY e.g. MONTHLY |
dueDate | string or null Number of days defining when the invoice is scheduled to be charged |
dueDateType | string or null The type of billing used together with due date e.g. "DAYSAFTERBILLDATE" e.g. "DAYSAFTERBILLMONTH" e.g. "OFCURRENTMONTH" e.g. "OFFOLLOWINGMONTH" |
startDate | string or null date on which the recurring invoice starts |
nextScheduledDate | string or null date at which next invoice is to be sent |
type | string or null The type of invoice e.g. "ACCPAY" e.g. "ACCREC" |
reference | string or null Order number of recurring invoice |
hasAttachments | boolean or null Whether the invoice has attachments or not |
contactId | string or null Id of customer for whom recurring invoice is raised |
contactName | string or null Full name of contact |
status | string or null Status of the repeating invoice e.g. "DRAFT" e.g. "AUTHORISED" |
lineAmountTypes | string or null Whether the line amount includes, excludes or doesn't have tax. |
lineItemDescription | string or null A description of the line item |
lineItemUnitAmount | integer or null The unit amount of the line item |
lineItemTaxType | string or null The type of tax applied to line items e.g. "OUTPUT" e.g. "INPUT" e.g. "CAPEXINPUT" |
lineAmount | integer or null The final amount for the line items |
lineItemAccountCode | string or null Account code for the line item |
lineItemQuantity | integer or null The quantity of the line items |
lineItemId | string or null Unique ID for the line item |
subTotal | integer or null Total of invoice excluding taxes |
totalTax | integer or null Total tax on invoice |
total | integer Total of invoice tax inclusive |
currencyCode | string or null currency of invoice |
recurrenceName | string or null Unique name for the recurring profile given by the user |
endDate | string or null date on which the recurring invoice expires |
lastSentDate | string or null date at which the last invoice was sent |
paidInvoicesTotal | integer or null total amount paid to date |
unpaidInvoicesBalance | integer or null total amount left to be paid |
discount | integer or null |
billingStreet | string or null |
billingStreet2 | string or null |
billingCity | string or null |
billingState | string or null |
billingPostalCode | string or null |
billingCountry | string or null |
created | string or null <date-time> |
modified | string or null <date-time> |
{- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
{- "id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "integration": "quickbooks",
- "srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
- "period": 1,
- "unit": "MONTHLY",
- "dueDate": "0",
- "dueDateType": "DAYSAFTERBILLDATE",
- "startDate": "2021-02-27 00:00:00",
- "nextScheduledDate": "2021-07-28 00:00:00",
- "type": "ACCPAY",
- "reference": "AP",
- "hasAttachments": false,
- "contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
- "contactName": "Xero",
- "status": "AUTHORISED",
- "lineAmountTypes": "Exclusive",
- "lineItemDescription": "Monthly subscription",
- "lineItemUnitAmount": 29,
- "lineItemTaxType": "INPUT",
- "lineAmount": 29,
- "lineItemAccountCode": "412",
- "lineItemQuantity": 1,
- "lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
- "subTotal": 2900,
- "totalTax": 239,
- "total": 3139,
- "currencyCode": "USD",
- "recurrenceName": "412",
- "endDate": "2022-07-28 00:00:00",
- "lastSentDate": "2021-08-28 00:00:00",
- "paidInvoicesTotal": 1000,
- "unpaidInvoicesBalance": 2139,
- "discount": 412,
- "billingStreet": "123 lonecrest drive",
- "billingStreet2": "412 fuller cres",
- "billingCity": "Toronto",
- "billingState": "Ontario",
- "billingPostalCode": "H6F 3F6",
- "billingCountry": "Canada",
- "created": "2021-07-28 00:00:00",
- "modified": "2021-09-15 00:00:00"
}
Removes the RepeatingInvoice resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/repeating_invoices/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Report resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/reports?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "category": "string",
- "name": "string",
- "query": "string",
- "modified": "string"
}
]
Retrieves a Report resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/reports/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "category": "string",
- "name": "string",
- "query": "string",
- "modified": "string"
}
Retrieves the collection of Reservation resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/reservations?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "mainEntityOfPageId": "string",
- "reservationForId": "string",
- "underNameId": "string",
- "providerId": "string",
- "programMembershipUsedId": "string",
- "reservedTicketId": "string",
- "potentialActionId": "string",
- "additionalType": "string",
- "alternateName": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "image": "string",
- "name": "string",
- "url": "string",
- "reservationId": "string",
- "reservationStatus": "string",
- "bookingTime": "2019-08-24T14:15:22Z",
- "modifiedTime": "2019-08-24T14:15:22Z",
- "totalPrice": 0,
- "priceCurrency": "string",
- "brokerId": "string"
}
]
Retrieves a Reservation resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/reservations/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "mainEntityOfPageId": "string",
- "reservationForId": "string",
- "underNameId": "string",
- "providerId": "string",
- "programMembershipUsedId": "string",
- "reservedTicketId": "string",
- "potentialActionId": "string",
- "additionalType": "string",
- "alternateName": "string",
- "description": "string",
- "disambiguatingDescription": "string",
- "image": "string",
- "name": "string",
- "url": "string",
- "reservationId": "string",
- "reservationStatus": "string",
- "bookingTime": "2019-08-24T14:15:22Z",
- "modifiedTime": "2019-08-24T14:15:22Z",
- "totalPrice": 0,
- "priceCurrency": "string",
- "brokerId": "string"
}
Retrieves the collection of RevenueStat resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/revenue_stats?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "sellerName": "string",
- "siteName": "string",
- "currency": "string",
- "totalSubscriptions": "string",
- "totalRevenue": "string",
- "revenueToday": "string",
- "revenueThisMonth": "string",
- "revenueThisYear": "string",
- "siteId": "string"
}
]
Retrieves a RevenueStat resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/revenue_stats/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "sellerName": "string",
- "siteName": "string",
- "currency": "string",
- "totalSubscriptions": "string",
- "totalRevenue": "string",
- "revenueToday": "string",
- "revenueThisMonth": "string",
- "revenueThisYear": "string",
- "siteId": "string"
}
Retrieves the collection of SalesOrder resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/sales_orders?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "customerId": "string",
- "Identifier": "string",
- "referenceNumber": "string",
- "txnDate": "string",
- "txnStatus": "string",
- "customerName": "string",
- "currency": "string",
- "subtotal": 0,
- "totalAmount": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "billingCity": "string",
- "billingCountry": "string",
- "billingPostalcode": "string",
- "shippingCity": "string",
- "shippingCountry": "string",
- "shippingPostalcode": "string",
- "identifier": "string"
}
]
Retrieves a SalesOrder resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/sales_orders/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "customerId": "string",
- "Identifier": "string",
- "referenceNumber": "string",
- "txnDate": "string",
- "txnStatus": "string",
- "customerName": "string",
- "currency": "string",
- "subtotal": 0,
- "totalAmount": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "billingCity": "string",
- "billingCountry": "string",
- "billingPostalcode": "string",
- "shippingCity": "string",
- "shippingCountry": "string",
- "shippingPostalcode": "string",
- "identifier": "string"
}
Retrieves the collection of SiteEvent resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/site_events?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "description": "string",
- "subscriptionId": "string",
- "created": "string"
}
]
Retrieves a SiteEvent resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/site_events/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "description": "string",
- "subscriptionId": "string",
- "created": "string"
}
Retrieves the collection of Statement resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/statements?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "customerFirstName": "string",
- "customerLastName": "string",
- "customerCompany": "string",
- "subscriptionId": "string",
- "description": "string",
- "transactionId": "string",
- "eventId": "string",
- "created": "string"
}
]
Retrieves a Statement resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/statements/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "customerFirstName": "string",
- "customerLastName": "string",
- "customerCompany": "string",
- "subscriptionId": "string",
- "description": "string",
- "transactionId": "string",
- "eventId": "string",
- "created": "string"
}
Retrieves the collection of SubscriberLocation resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/subscriber_locations?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "totalItems": 0,
- "country": "string",
- "percent": "string",
- "total": 0
}
]
Retrieves a SubscriberLocation resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/subscriber_locations/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "totalItems": 0,
- "country": "string",
- "percent": "string",
- "total": 0
}
Retrieves the collection of Subscription resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/subscriptions?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
]
Creates a Subscription resource.
The new Subscription resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
status | boolean or null Status of the subscription e.g. expired |
balance | integer or null Amount in balance for the subscription in cents e.g. 500045 |
totalRevenue | integer or null Total revenue from this specific subscription in cents e.g. 387687 |
productPrice | integer or null Price of the subscribed product in cents e.g. 4999 |
currencyCode | string or null Currency code e.g. "EUR" |
currentPeriodStart | string or null Current period start datetime e.g. "2014-11-18" e.g. "1655792028" |
currentPeriodEnd | string or null Current period end datetime e.g. "2014-11-18" e.g. "1653977628" |
nextPeriodStart | string or null Date next period starts e.g. "2014-11-18" e.g. "1653977628" |
cancelAtEndOfPeriod | boolean or null Boolean on if plan is canelled at the end of the current period |
signupId | string or null Signup id e.g. "user123" |
signupRevenue | string or null Signup revenue e.g. "250" |
couponCode | string or null Coupon code e.g. "PROMOCODE" |
customerId | string or null Customer id e.g. "123" |
productId | string or null Id for the subscribed product e.g. "321" |
creditCardId | string or null Credit card id e.g. "4250" |
created | string or null <date-time> The date and time the subscription is first created e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-18T02:17:40.080Z" |
customerFirstName | string or null Customer first name e.g. "Jane" |
customerLastName | string or null Customer last name e.g. "Doe" |
startDate | string or null <date-time> Start datetime of the subscription e.g. "2013-11-18T02:17:40.080Z" |
endDate | string or null <date-time> End datetime of the subscription e.g. "2015-11-18T02:17:40.080Z" |
planName | string or null Name of the plan of which this subscription is an instance e.g. "Basic Plan" |
activated | string or null Indicates when the subscription was activated e.g. "Jan 23 2023" |
remainingIntervals | integer or null Number of remaining subscription intervals e.g. 12 |
monthlyRevenue | integer or null Revenue per month in cents e.g. 500000 |
netMonthlyRevenue | integer or null Monthly revenue after taxes e.g. 300000 |
contractStartDate | string or null <date-time> Date contract starts * e.g. "2013-11-18T02:17:40.080Z" |
expiredTimestamp | string or null <date-time> When the current subscription expires e.g. "2013-11-18T02:17:40.080Z" |
planInterval | string or null Length of each subscription plan e.g. "Monthly" |
numOfIntervals | integer or null Number of subscription intervals e.g. 12 |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
Retrieves a Subscription resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/subscriptions/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
Replaces the Subscription resource.
id required | string Resource identifier |
The updated Subscription resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
status | boolean or null Status of the subscription e.g. expired |
balance | integer or null Amount in balance for the subscription in cents e.g. 500045 |
totalRevenue | integer or null Total revenue from this specific subscription in cents e.g. 387687 |
productPrice | integer or null Price of the subscribed product in cents e.g. 4999 |
currencyCode | string or null Currency code e.g. "EUR" |
currentPeriodStart | string or null Current period start datetime e.g. "2014-11-18" e.g. "1655792028" |
currentPeriodEnd | string or null Current period end datetime e.g. "2014-11-18" e.g. "1653977628" |
nextPeriodStart | string or null Date next period starts e.g. "2014-11-18" e.g. "1653977628" |
cancelAtEndOfPeriod | boolean or null Boolean on if plan is canelled at the end of the current period |
signupId | string or null Signup id e.g. "user123" |
signupRevenue | string or null Signup revenue e.g. "250" |
couponCode | string or null Coupon code e.g. "PROMOCODE" |
customerId | string or null Customer id e.g. "123" |
productId | string or null Id for the subscribed product e.g. "321" |
creditCardId | string or null Credit card id e.g. "4250" |
created | string or null <date-time> The date and time the subscription is first created e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-18T02:17:40.080Z" |
customerFirstName | string or null Customer first name e.g. "Jane" |
customerLastName | string or null Customer last name e.g. "Doe" |
startDate | string or null <date-time> Start datetime of the subscription e.g. "2013-11-18T02:17:40.080Z" |
endDate | string or null <date-time> End datetime of the subscription e.g. "2015-11-18T02:17:40.080Z" |
planName | string or null Name of the plan of which this subscription is an instance e.g. "Basic Plan" |
activated | string or null Indicates when the subscription was activated e.g. "Jan 23 2023" |
remainingIntervals | integer or null Number of remaining subscription intervals e.g. 12 |
monthlyRevenue | integer or null Revenue per month in cents e.g. 500000 |
netMonthlyRevenue | integer or null Monthly revenue after taxes e.g. 300000 |
contractStartDate | string or null <date-time> Date contract starts * e.g. "2013-11-18T02:17:40.080Z" |
expiredTimestamp | string or null <date-time> When the current subscription expires e.g. "2013-11-18T02:17:40.080Z" |
planInterval | string or null Length of each subscription plan e.g. "Monthly" |
numOfIntervals | integer or null Number of subscription intervals e.g. 12 |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "status": true,
- "balance": 500045,
- "totalRevenue": 387687,
- "productPrice": 4999,
- "currencyCode": "EUR",
- "currentPeriodStart": "1655792028",
- "currentPeriodEnd": "1653977628",
- "nextPeriodStart": "1653977628",
- "cancelAtEndOfPeriod": true,
- "signupId": "user123",
- "signupRevenue": "250",
- "couponCode": "PROMOCODE",
- "customerId": "123",
- "productId": "321",
- "creditCardId": "4250",
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-18T02:17:40.080Z",
- "customerFirstName": "Jane",
- "customerLastName": "Doe",
- "startDate": "2013-11-18T02:17:40.080Z",
- "endDate": "2015-11-18T02:17:40.080Z",
- "planName": "Basic Plan",
- "activated": "Jan 23 2023",
- "remainingIntervals": 12,
- "monthlyRevenue": 500000,
- "netMonthlyRevenue": 300000,
- "contractStartDate": "2013-11-18T02:17:40.080Z",
- "expiredTimestamp": "2013-11-18T02:17:40.080Z",
- "planInterval": "Monthly",
- "numOfIntervals": 12
}
Removes the Subscription resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/subscriptions/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of SupportTicket resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/support_tickets?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "subject": "string",
- "created": "string",
- "status": "string"
}
]
Retrieves a SupportTicket resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/support_tickets/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "subject": "string",
- "created": "string",
- "status": "string"
}
Retrieves the collection of Task resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tasks?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "ownerId": "string",
- "ownerName": "string",
- "subject": "string",
- "status": "string",
- "priority": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "recurringActivity": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a Task resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tasks/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "ownerId": "string",
- "ownerName": "string",
- "subject": "string",
- "status": "string",
- "priority": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "recurringActivity": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of TaxAgency resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tax_agencies?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "taxOnSales": true,
- "taxOnPurchases": true,
- "taxRegistrationNum": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a TaxAgency resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tax_agencies/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "taxOnSales": true,
- "taxOnPurchases": true,
- "taxRegistrationNum": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of TaxRate resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tax_rates?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "taxRate": "string",
- "taxType": "string",
- "description": "string",
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
]
Retrieves a TaxRate resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tax_rates/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "taxRate": "string",
- "taxType": "string",
- "description": "string",
- "active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z"
}
Retrieves the collection of Term resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/terms?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "type": "string",
- "discountPercent": "string",
- "discountDays": 0,
- "dayOfMonthDue": 0,
- "discountDayOfMonth": 0,
- "dueNextMonthDays": 0,
- "dueDays": 0,
- "active": true,
- "created": "string",
- "modified": "string",
- "directory": "string"
}
]
Retrieves a Term resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/terms/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "name": "string",
- "type": "string",
- "discountPercent": "string",
- "discountDays": 0,
- "dayOfMonthDue": 0,
- "discountDayOfMonth": 0,
- "dueNextMonthDays": 0,
- "dueDays": 0,
- "active": true,
- "created": "string",
- "modified": "string",
- "directory": "string"
}
Retrieves the collection of TrackingCategory resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tracking_categories?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "status": "string",
- "trackingOptionId": "string",
- "trackingOptionName": "string",
- "trackingOptionStatus": "string"
}
]
Retrieves a TrackingCategory resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/tracking_categories/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "name": "string",
- "status": "string",
- "trackingOptionId": "string",
- "trackingOptionName": "string",
- "trackingOptionStatus": "string"
}
Retrieves a TransactionMatchReport resource.
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/transaction_match_report?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "start": "2022-07-01",
- "end": "2022-08-31",
- "summary": {
- "bankMatchedCount": 1,
- "bankTotalCount": 2,
- "bankMatchedAmount": 316.85,
- "bankTotalAmount": 763.84,
- "accountingMatchedCount": 1,
- "accountingTotalCount": 2,
- "accountingMatchedAmount": 316.85,
- "accountingTotalAmount": 592.86,
- "overallMatchedCount": 2,
- "overallTotalCount": 4,
- "overallMatchedAmount": 633.7,
- "overallTotalAmount": 1356.7
}, - "details": [
- {
- "type": "BANK",
- "bank_transaction_id": "003dafbc-9d3a-4772-9a88-72c5d0786f83",
- "bank_txn_type": "CREDIT",
- "bank_total_amount": 446.99,
- "bank_currency": "USD",
- "bank_date": "2022-08-17",
- "bank_merchant": null,
- "bank_description": "Dolor sit amet",
- "bank_category": null,
- "accounting_table": null,
- "accounting_table_id": null,
- "accounting_txn_type": null,
- "accounting_total_amount": null,
- "accounting_currency": null,
- "accounting_date": null,
- "accounting_merchant": null,
- "accounting_description": null,
- "accounting_category": null,
- "has_match": false
}, - {
- "type": "ACCOUNTING",
- "bank_transaction_id": null,
- "bank_txn_type": null,
- "bank_total_amount": null,
- "bank_currency": null,
- "bank_date": null,
- "bank_merchant": null,
- "bank_description": null,
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "c851a382-f5ef-4ca5-9d4c-fe5afc52ce81",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 276.01,
- "accounting_currency": "USD",
- "accounting_date": "2022-07-11 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Yippee ki yay",
- "accounting_category": null,
- "has_match": false
}, - {
- "type": "ACCOUNTING",
- "bank_transaction_id": "0073ecc5-0158-48a9-b148-33cb082c156c",
- "bank_txn_type": "DEBIT",
- "bank_total_amount": 316.85,
- "bank_currency": "USD",
- "bank_date": "2022-03-22",
- "bank_merchant": null,
- "bank_description": "Lorem ipsum",
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "f7c7dd07-dfcf-4a65-8a69-cf6a00b54194",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 316.85,
- "accounting_currency": "USD",
- "accounting_date": "2022-03-22 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Lorem ipsum",
- "accounting_category": null,
- "has_match": true
}, - {
- "type": "BANK",
- "bank_transaction_id": "0073ecc5-0158-48a9-b148-33cb082c156c",
- "bank_txn_type": "DEBIT",
- "bank_total_amount": 316.85,
- "bank_currency": "USD",
- "bank_date": "2022-03-22",
- "bank_merchant": null,
- "bank_description": "Lorem ipsum",
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "f7c7dd07-dfcf-4a65-8a69-cf6a00b54194",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 316.85,
- "accounting_currency": "USD",
- "accounting_date": "2022-03-22 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Lorem ipsum",
- "accounting_category": null,
- "has_match": true
}
]
}
Retrieves a TransactionMatchSeries resource.
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
refresh | string Example: refresh=true If refresh is set, data will be fetched from the source application even when cached data is available |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/transaction_match_series?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&refresh=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "start": "2022-07-01",
- "end": "2022-08-31",
- "series": [
- {
- "start": "2022-07-01",
- "end": "2022-07-31",
- "summary": {
- "bankMatchedCount": 0,
- "bankTotalCount": 1,
- "bankMatchedAmount": 0,
- "bankTotalAmount": 446.99,
- "accountingMatchedCount": 0,
- "accountingTotalCount": 1,
- "accountingMatchedAmount": 0,
- "accountingTotalAmount": 276.01,
- "overallMatchedCount": 0,
- "overallTotalCount": 2,
- "overallMatchedAmount": 0,
- "overallTotalAmount": 723
}, - "details": [
- {
- "type": "BANK",
- "bank_transaction_id": "003dafbc-9d3a-4772-9a88-72c5d0786f83",
- "bank_txn_type": "CREDIT",
- "bank_total_amount": 446.99,
- "bank_currency": "USD",
- "bank_date": "2022-08-17",
- "bank_merchant": null,
- "bank_description": "Dolor sit amet",
- "bank_category": null,
- "accounting_table": null,
- "accounting_table_id": null,
- "accounting_txn_type": null,
- "accounting_total_amount": null,
- "accounting_currency": null,
- "accounting_date": null,
- "accounting_merchant": null,
- "accounting_description": null,
- "accounting_category": null,
- "has_match": false
}, - {
- "type": "ACCOUNTING",
- "bank_transaction_id": null,
- "bank_txn_type": null,
- "bank_total_amount": null,
- "bank_currency": null,
- "bank_date": null,
- "bank_merchant": null,
- "bank_description": null,
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "c851a382-f5ef-4ca5-9d4c-fe5afc52ce81",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 276.01,
- "accounting_currency": "USD",
- "accounting_date": "2022-07-11 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Yippee ki yay",
- "accounting_category": null,
- "has_match": false
}
]
}, - {
- "start": "2022-08-01",
- "end": "2022-08-31",
- "summary": {
- "bankMatchedCount": 1,
- "bankTotalCount": 1,
- "bankMatchedAmount": 316.85,
- "bankTotalAmount": 316.85,
- "accountingMatchedCount": 1,
- "accountingTotalCount": 1,
- "accountingMatchedAmount": 316.85,
- "accountingTotalAmount": 316.85,
- "overallMatchedCount": 2,
- "overallTotalCount": 2,
- "overallMatchedAmount": 633.7,
- "overallTotalAmount": 633.7
}, - "details": [
- {
- "type": "ACCOUNTING",
- "bank_transaction_id": "0073ecc5-0158-48a9-b148-33cb082c156c",
- "bank_txn_type": "DEBIT",
- "bank_total_amount": 316.85,
- "bank_currency": "USD",
- "bank_date": "2022-03-22",
- "bank_merchant": null,
- "bank_description": "Lorem ipsum",
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "f7c7dd07-dfcf-4a65-8a69-cf6a00b54194",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 316.85,
- "accounting_currency": "USD",
- "accounting_date": "2022-03-22 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Lorem ipsum",
- "accounting_category": null,
- "has_match": true
}, - {
- "type": "BANK",
- "bank_transaction_id": "0073ecc5-0158-48a9-b148-33cb082c156c",
- "bank_txn_type": "DEBIT",
- "bank_total_amount": 316.85,
- "bank_currency": "USD",
- "bank_date": "2022-03-22",
- "bank_merchant": null,
- "bank_description": "Lorem ipsum",
- "bank_category": null,
- "accounting_table": "expense",
- "accounting_table_id": "f7c7dd07-dfcf-4a65-8a69-cf6a00b54194",
- "accounting_txn_type": "DEBIT",
- "accounting_total_amount": 316.85,
- "accounting_currency": "USD",
- "accounting_date": "2022-03-22 00:00:00",
- "accounting_merchant": null,
- "accounting_description": "Lorem ipsum",
- "accounting_category": null,
- "has_match": true
}
]
}
]
}
Retrieves a Collection of transaction resources
start | string <date-time> Example: start=2022-07-01 YYYY-MM-DD |
end | string <date-time> Example: end=2022-08-31 YYYY-MM-DD |
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/transactions?start=SOME_STRING_VALUE&end=SOME_STRING_VALUE&page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "transactionType": "string",
- "success": "string",
- "amount": 0,
- "description": "string",
- "transactionId": "string",
- "paymentId": "string",
- "productId": "string",
- "taxId": "string",
- "componentId": "string",
- "statementId": "string",
- "customerId": "string",
- "created": "2019-08-24T14:15:22Z",
- "status": "string",
- "fee": 0,
- "netAmount": 0,
- "txnDate": "2019-08-24T14:15:22Z"
}
]
Retrieves a Transaction resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/transactions/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "transactionType": "string",
- "success": "string",
- "amount": 0,
- "description": "string",
- "transactionId": "string",
- "paymentId": "string",
- "productId": "string",
- "taxId": "string",
- "componentId": "string",
- "statementId": "string",
- "customerId": "string",
- "created": "2019-08-24T14:15:22Z",
- "status": "string",
- "fee": 0,
- "netAmount": 0,
- "txnDate": "2019-08-24T14:15:22Z"
}
Retrieves a TrialBalance resource.
end required | string <date-time> Example: end=2022-11-30 YYYY-MM-DD |
accounting_method required | string Enum: "cash" "accrual" Example: accounting_method=accrual The Accounting Method |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/trial_balances?end=SOME_STRING_VALUE&accounting_method=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "reportTitle": "Trial Balance",
- "companyName": "Flux Capacitors Inc",
- "columns": [
- "string"
], - "rows": [
- "string"
], - "accountingMethod": "cash",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "currencyCode": "USD",
- "deleted": true
}
Retrieves the collection of UnbilledCharge resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/unbilled_charges?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": "string",
- "currencyCode": "string",
- "customerId": "string",
- "subscriptionId": "string",
- "description": "string",
- "quantity": 0,
- "created": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z"
}
]
Retrieves a UnbilledCharge resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/unbilled_charges/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "amount": "string",
- "currencyCode": "string",
- "customerId": "string",
- "subscriptionId": "string",
- "description": "string",
- "quantity": 0,
- "created": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z"
}
Retrieves the collection of User resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/users?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "email": "string",
- "lastName": "string",
- "firstName": "string",
- "modified": "2019-08-24T14:15:22Z",
- "role": "string",
- "primaryPhone": "string",
- "addressLine1": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "company": "string",
- "profileUrl": "string",
- "department": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string"
}
]
Retrieves a User resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/users/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "email": "string",
- "lastName": "string",
- "firstName": "string",
- "modified": "2019-08-24T14:15:22Z",
- "role": "string",
- "primaryPhone": "string",
- "addressLine1": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "company": "string",
- "profileUrl": "string",
- "department": "string",
- "created": "2019-08-24T14:15:22Z",
- "name": "string"
}
Retrieves the collection of VendorCredit resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_credits?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
]
Creates a VendorCredit resource.
The new VendorCredit resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "3000000002075" |
date | string or null The date the vendor credit was created e.g. "2014-08-28" |
status | string or null Status of recurring expense e.g. "open" |
vendorId | string or null ID of the vendor the vendor credit is associated with e.g. "460000000020029" |
vendorName | string or null Name of the vendor the vendor credit is associated with e.g. "Bowman and Co" |
currency | string or null Currency code e.g. "USD" |
subtotal | integer or null Subtotal of the vendor credits in cents e.g. 3000 |
totalAmount required | integer or null Total amount of the vendor credits in cents e.g. 3500 |
balance | integer or null Balance in the vendor credit in cents e.g. 2150 |
created | string or null <date-time> Time of the vendor credit creation e.g. "2014-08-28T22:53:31-0700" |
modified | string or null <date-time> Last modified time of vendor credit e.g. "2014-08-28T22:53:31-0700" |
{- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
Retrieves a VendorCredit resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_credits/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
Replaces the VendorCredit resource.
id required | string Resource identifier |
The updated VendorCredit resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "3000000002075" |
date | string or null The date the vendor credit was created e.g. "2014-08-28" |
status | string or null Status of recurring expense e.g. "open" |
vendorId | string or null ID of the vendor the vendor credit is associated with e.g. "460000000020029" |
vendorName | string or null Name of the vendor the vendor credit is associated with e.g. "Bowman and Co" |
currency | string or null Currency code e.g. "USD" |
subtotal | integer or null Subtotal of the vendor credits in cents e.g. 3000 |
totalAmount required | integer or null Total amount of the vendor credits in cents e.g. 3500 |
balance | integer or null Balance in the vendor credit in cents e.g. 2150 |
created | string or null <date-time> Time of the vendor credit creation e.g. "2014-08-28T22:53:31-0700" |
modified | string or null <date-time> Last modified time of vendor credit e.g. "2014-08-28T22:53:31-0700" |
{- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "3000000002075",
- "date": "2014-08-28",
- "status": "open",
- "vendorId": "460000000020029",
- "vendorName": "Bowman and Co",
- "currency": "USD",
- "subtotal": 3000,
- "totalAmount": 3500,
- "balance": 2150,
- "created": "2014-08-28T22:53:31-0700",
- "modified": "2014-08-28T22:53:31-0700"
}
Removes the VendorCredit resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_credits/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of VendorPayment resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_payments?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
]
Creates a VendorPayment resource.
The new VendorPayment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "460000000053219" |
vendorId | string or null Unique identifier for the vendor e.g. "460000000026049" |
vendorName | string or null Name of the vendor e.g. "Bowman and Co" |
paymentMode | string or null Mode of vendor payment e.g. "Stripe" |
txnDate | string or null <date-time> Date the payment is made e.g. "2013-10-07" |
referenceNumber | string or null Reference number for the vendor payment recorded e.g. REF#912300 |
amount required | integer or null Total amount of the vendor payment in cents e.g. 12500 |
balance | integer or null Balance due for the bill in cents e.g. 3500 |
currency | string or null Currency code e.g. "USD" |
created | string or null <date-time> Creation time of the vendor payment e.g. 2016-12-16T00:18:42-0500 |
modified | string or null <date-time> Last modified time of the vendor payment e.g. 2016-12-16T00:18:42-0500 |
{- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Retrieves a VendorPayment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_payments/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Replaces the VendorPayment resource.
id required | string Resource identifier |
The updated VendorPayment resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string the unique identifier of the source 3rd party integration e.g. "460000000053219" |
vendorId | string or null Unique identifier for the vendor e.g. "460000000026049" |
vendorName | string or null Name of the vendor e.g. "Bowman and Co" |
paymentMode | string or null Mode of vendor payment e.g. "Stripe" |
txnDate | string or null <date-time> Date the payment is made e.g. "2013-10-07" |
referenceNumber | string or null Reference number for the vendor payment recorded e.g. REF#912300 |
amount required | integer or null Total amount of the vendor payment in cents e.g. 12500 |
balance | integer or null Balance due for the bill in cents e.g. 3500 |
currency | string or null Currency code e.g. "USD" |
created | string or null <date-time> Creation time of the vendor payment e.g. 2016-12-16T00:18:42-0500 |
modified | string or null <date-time> Last modified time of the vendor payment e.g. 2016-12-16T00:18:42-0500 |
{- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
{- "id": "quickbooks-321",
- "integration": "quickbooks",
- "srcId": "460000000053219",
- "vendorId": "460000000026049",
- "vendorName": "Bowman and Co",
- "paymentMode": "Stripe",
- "txnDate": "2013-10-07",
- "referenceNumber": "REF#912300",
- "amount": 12500,
- "balance": 3500,
- "currency": "USD",
- "created": "2016-12-16T00:18:42-0500",
- "modified": "2016-12-16T00:18:42-0500"
}
Removes the VendorPayment resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendor_payments/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Vendor resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendors?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
]
Creates a Vendor resource.
The new Vendor resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
givenName | string or null First name of the vendor e.g. "Jane" |
familyName | string or null Last name of the vendor e.g. "Doe" |
companyName | string or null Name of the company e.g. "Doyle-Koch LLC" |
displayName | string or null Name displayed for vendor e.g. "Doyle-Koch" |
contactName | string or null Name of the main contact for the vendor e.g. "John Smith" |
contactTitle | string or null Title of the main contact for the vendor e.g. "Account Manager" |
accountNumber | string or null Account number for the vendor e.g. "420042" |
phone | string or null Phone number e.g. "281-381-4241" |
mobile | string or null Mobile number e.g. "786-258-0182" |
fax | string or null Fax number e.g. "281-381-4255" |
string or null Email address for the vendor e.g. "doyle-koch@email.com" | |
website | string or null Vendor website e.g. "https://www.doylekoch.com" |
address | string or null First line of vendor address e.g. "708 Woodland Avenue" |
addressLine2 | string or null Vendor address line 2 e.g. "Unit 105" |
city | string or null City of the address e.g. "St Paul" |
state | string or null Vendor state address e.g. "Alaska" |
country | string or null Country of the address
|
postalCode | string or null Postal code of the address
|
currency | string or null Currency code used by vendor e.g. "USD" |
balance | integer or null Balance in ledger for vendor in cents e.g. 650000 |
bankAccountName | string or null Bank account name associated with the vendor e.g. "Business Bank Account" |
bankAccountNumber | string or null Bank acount number associated with the vendor e.g. "123654" |
notes | string or null Additional note attached to vendor e.g. "Quality vendor" |
taxType | string or null Type of tax applied to vendor e.g. "Global" |
isContractor | boolean or null Whether the vendor is a contractor |
active | boolean or null Whether the vendor is active |
created | string or null <date-time> Date of vendor account creation e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-22T02:17:40.080Z" |
termId | string or null Reference to a Term object (payment terms) associated with this Vendor e.g. "1d80716b-427e-4cad-80c6-c4b3a18eb23d" |
termDays | integer or null The days value of the payment terms for this Vendor e.g. "15" |
termType | string or null The type of the payment terms for this Vendor e.g. "DAYSAFTERBILLDATE" |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Retrieves a Vendor resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendors/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Replaces the Vendor resource.
id required | string Resource identifier |
The updated Vendor resource
integration | string The key of the integration source e.g. "quickbooks", or "xero" |
srcId | string The unique identifier of the source 3rd party integration e.g. "GH2JK-67283H-YW82KHX-2883KK-KS78S" |
givenName | string or null First name of the vendor e.g. "Jane" |
familyName | string or null Last name of the vendor e.g. "Doe" |
companyName | string or null Name of the company e.g. "Doyle-Koch LLC" |
displayName | string or null Name displayed for vendor e.g. "Doyle-Koch" |
contactName | string or null Name of the main contact for the vendor e.g. "John Smith" |
contactTitle | string or null Title of the main contact for the vendor e.g. "Account Manager" |
accountNumber | string or null Account number for the vendor e.g. "420042" |
phone | string or null Phone number e.g. "281-381-4241" |
mobile | string or null Mobile number e.g. "786-258-0182" |
fax | string or null Fax number e.g. "281-381-4255" |
string or null Email address for the vendor e.g. "doyle-koch@email.com" | |
website | string or null Vendor website e.g. "https://www.doylekoch.com" |
address | string or null First line of vendor address e.g. "708 Woodland Avenue" |
addressLine2 | string or null Vendor address line 2 e.g. "Unit 105" |
city | string or null City of the address e.g. "St Paul" |
state | string or null Vendor state address e.g. "Alaska" |
country | string or null Country of the address
|
postalCode | string or null Postal code of the address
|
currency | string or null Currency code used by vendor e.g. "USD" |
balance | integer or null Balance in ledger for vendor in cents e.g. 650000 |
bankAccountName | string or null Bank account name associated with the vendor e.g. "Business Bank Account" |
bankAccountNumber | string or null Bank acount number associated with the vendor e.g. "123654" |
notes | string or null Additional note attached to vendor e.g. "Quality vendor" |
taxType | string or null Type of tax applied to vendor e.g. "Global" |
isContractor | boolean or null Whether the vendor is a contractor |
active | boolean or null Whether the vendor is active |
created | string or null <date-time> Date of vendor account creation e.g. "2013-11-18T02:17:40.080Z" |
modified | string or null <date-time> Date entry was last modified e.g. "2013-11-22T02:17:40.080Z" |
termId | string or null Reference to a Term object (payment terms) associated with this Vendor e.g. "1d80716b-427e-4cad-80c6-c4b3a18eb23d" |
termDays | integer or null The days value of the payment terms for this Vendor e.g. "15" |
termType | string or null The type of the payment terms for this Vendor e.g. "DAYSAFTERBILLDATE" |
{- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
{- "id": "quickbooks-726",
- "integration": "quickbooks",
- "srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
- "givenName": "Jane",
- "familyName": "Doe",
- "companyName": "Doyle-Koch LLC",
- "displayName": "Doyle-Koch",
- "contactName": "John Smith",
- "contactTitle": "Account Manager",
- "accountNumber": "420042",
- "phone": "281-381-4241",
- "mobile": "786-258-0182",
- "fax": "281-381-4255",
- "email": "doyle-koch@email.com",
- "address": "708 Woodland Avenue",
- "addressLine2": "Unit 105",
- "city": "St Paul",
- "state": "Alaska",
- "country": "United States",
- "postalCode": "99660",
- "currency": "USD",
- "balance": 650000,
- "bankAccountName": "Business Bank Account",
- "bankAccountNumber": "123654",
- "notes": "Quality vendor",
- "taxType": "Global",
- "isContractor": true,
- "active": true,
- "created": "2013-11-18T02:17:40.080Z",
- "modified": "2013-11-22T02:17:40.080Z",
- "termId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
- "termDays": "15",
- "termType": "DAYSAFTERBILLDATE"
}
Removes the Vendor resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/vendors/%7Bid%7D") .delete(null) .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
Retrieves the collection of Workflow resources.
page | integer Default: 1 The collection page number |
itemsPerPage | integer [ 0 .. 200 ] Default: 100 The number of items per page |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/workflows?page=SOME_INTEGER_VALUE&itemsPerPage=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
[- {
- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "updated": "string",
- "isActive": true,
- "type": "string"
}
]
Retrieves a Workflow resource.
id required | string Resource identifier |
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://example.myintranetapps.com/api/workflows/%7Bid%7D") .get() .addHeader("Authorization", "Basic REPLACE_BASIC_AUTH") .build(); Response response = client.newCall(request).execute();
{- "id": "string",
- "integration": "quickbooks",
- "srcId": "string",
- "created": "string",
- "updated": "string",
- "isActive": true,
- "type": "string"
}