DDS Jobs
- Get DDS Job Object Definition
- Query and List DDS Jobs
- Query and List DDS Jobs (Legacy)
- Get DDS Job
- Run DDS Jobs
Data Delivery Service (DDS) enables you to export your data from Sage Intacct to a cloud destination.
Get DDS Job Object Definition
lookup
List all the fields and relationships for the DDS job object:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use DDSJOB |
Query and List DDS Jobs
query
List the record number and object for each DDS job:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use DDSJOB |
filter | Optional | object | Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL). |
select | Required | sequence | The names of the fields that you want included in the response, and an optional aggregate function such as count or sum . Returning all fields is not supported. |
orderby | Optional | object | Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> |
options | Optional | object | Query options:
|
pagesize | Optional | integer | Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100 ) |
offset | Optional | integer | Point at which to start indexing into records (Default: 0 ) |
Query and List DDS Jobs (Legacy)
readByQuery
Parameter
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use DDSJOB |
fields | Optional | string | Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value. |
query | Required | string | SQL-like query based on fields on the object. The following operators are supported: < , > , >= , <= , = , like , not like , in , not in , IS NOT NULL , IS NULL , AND , OR . Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli' ). Joins are not supported. |
pagesize | Optional | integer | Custom page size between 1 and 1000 items (Default: 100 ) |
Get DDS Job
read
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use DDSJOB |
keys | Required | string | Comma-separated list of job RECORDNO to get. |
fields | Optional | string | Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value.For best performance and predictability, limit the number of fields. |
returnFormat | Optional | string | Data format for the response body:
|
Run DDS Jobs
Release | Changes |
---|---|
2019 Release 4 | Added synchronized, objects |
2019 Release 2 | Added additional_parameters |
There are several approaches for exporting data using DDS.
You can
- run a DDS job for a single object, requesting either all changes or only changes since the last delivery.
- run a DDS job for a set of objects, requesting either all changes or only changes since the last delivery.
- run a synchronous DDS job for up to five objects for changes only.
About synchronous jobs
Synchronous jobs start at the same point in time, which can help prevent reporting gaps.
When you run a set of synchronous jobs, the system checks whether there are jobs for any of the objects in your set already in the queue. If matching objects are found, those objects are not rerun as part of your set and will therefore have different starting times.
You cannot run synchronous jobs for GLACCOUNTBALANCE or GLRESOLVE.
runDdsJob
Create a job to get all vendors:
Create a job to get changed customers:
Create a job to get GL account balances for the reporting periods January 2018 to April 2019:
Create a job to get all information for multiple objects:
Create a synchronous job to get change information for multiple objects (five or fewer):
Create a job to get change information for the
APDETAIL
aggregate object and use a complex query to filter the results and specify the fields to include in the data:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Optional | string | Single DDS object or aggregate object name. Required if not using <objects> to provide multiple object names. |
objects | Optional | array of object |
List of object names. Must be five or fewer when synchronized is set to true . Required if not using <object> to supply a single object name. |
cloudDelivery | Required | string | Name of a cloud storage destination set up for your company in the Sage Intacct UI. |
jobType | Required | string | Job type.
|
additional_parameters | Optional | parameter[1...2] |
PERIODSTARTDATE and PERIODENDDATE for which to calculate balances when using the GLACCOUNTBALANCE object. If you don’t provide these parameters, historical reporting periods are used and this can generate a lot of unneeded data. |
timeStamp | Optional | string | Timestamp to get data from if jobType is change . The time zone is UTC, and future dates are not supported.Format YYYY-MM-DDThh:mm:ss . |
query | Optional | object | Specification of filtering criteria and the fields to include in results. |
fileConfiguration | Optional | object | Output file attributes |
synchronized | Optional | boolean | Specifies a synchronized run where each job in the set will start at the same time. Only available when jobType is set to change and when five or fewer objects are specified. Use true for a synchronized run, false otherwise. (Default: false ) |
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | DDS object or aggregate object name |
Available for use only if the object
is GLACCOUNTBALANCE.
Name | Required | Type | Description |
---|---|---|---|
name | Optional | string | Parameter name. Use PERIODSTARTDATE and PERIODENDDATE together, or PERIOD . |
value | Optional | string | For PERIODSTARTDATE and PERIODENDDATE , provide both the period start and end date in the format mm/dd/yyyy . For PERIOD , provide the name of a budgetable reporting period (Ex: Month Ended April 2019 ) or a system reporting period (Ex: Current Month ). Partial periods are not supported, and the system reports full period ranges. For example, the whole April period will be used if you enter a start date of 04/15/2019 and an end date of 04/29/2019. |
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | The name of a DDS object or aggregate object to apply filters to. |
filter | Optional | object | Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL). |
select | Required | sequence | field elements containing the names of the fields that you want included in the response, and an optional aggregate function such as count or sum . Must be <fields>*</fields> for GLACCOUNTBALANCE object. |
orderby | Optional | object | Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> |
Name | Required | Type | Description |
---|---|---|---|
delimiter | Optional | string | Value delimiter. Use . for Period, ; for Semicolon, or , for Comma (Default: , Comma) |
enclosure | Optional | string | Text qualifier. Use " for Double quote, ' for Single quote, [ for Left bracket, or / for Forward Slash (Default: " Double quote) |
includeHeaders | Optional | boolean | Include column headers. Use true for Yes otherwise false for No (Default: false ) |
fileFormat | Optional | string | File format. Use windows , mac , or unix (Default: unix ) |
splitSize | Optional | integer | Split files after this many records. Minimum is 10000 and maximum is 100000 . |
compress | Optional | boolean | Compress file. Use true for Yes otherwise false for No (Default: false ). |