Applications
- Get Platform Services Application Object Definition
- Query and List Platform Services Applications
- Query and List Platform Services Applications (Legacy)
- Get Platform Services Application
- Get Platform Services Application by ID
- Install Platform Services Application
A Platform Services application is an XML wrapper around a group of objects, menus, and portals that work together to fulfill a function.
Get Platform Services Application Object Definition
lookup
List all the fields and relationships for the Platform Services application object:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PTAPPLICATION |
Query and List Platform Services Applications
query
List the record number and application name for each Platform Services application:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PTAPPLICATION |
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 ) |
Response
PTAPPLICATION
The above function returns data structured like this:
Query and List Platform Services Applications (Legacy)
readByQuery
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PTAPPLICATION |
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 Platform Services Application
read
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PTAPPLICATION |
keys | Required | string | Comma-separated list of platform Services application 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:
|
Response
PTAPPLICATION
The above function returns data structured like this:
Get Platform Services Application by ID
readByName
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PTAPPLICATION |
keys | Required | string | Comma-separated list of platform Services application name 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:
|
Install Platform Services Application
As you build and deploy Platform Services applications on client companies, the need to programmatically install updates eventually arises. Installing or updating an application involves first publishing the application from the Sage Intacct UI to create the XML definition, then using installApp
to post that definition to the target company.
Applications with user-defined dimensions require authorization from a designated administrator before they can be installed. If you run installApp
on such an application, a request for authorization will be added in the Requests for authorization section under Platform Services > Applications in the UI. Alternatively, you can generate an email request for authorization by running the installation from Platform Services > Applications > Install From XML.
installApp
Parameters
Name | Required | Type | Description |
---|---|---|---|
appxml | Required | CDATA | The published application XML must be placed inside of a CDATA tag. |