State Object

Administration

The State Object queries allow filtering of state data in responses based on the query object provided in request body for action APIs.

Empty array fields are not allowed for attributes. When an empty array is used in the criteria object for actions, groups, the corresponding state object will be omitted from the response. When an empty array is used in the criteria object for expanded domains, all attribute domains returned in the state object will omit the "available" elements property.
State Object Support

Transaction data services can now return state objects, if requested in the request body. For example: {"criteria": "state": "true"}. For more information, refer to Data Service Actions and Criteria Parameter Queries. The following table lists the state objects that are returned for transactions, transaction line lists, transaction lines, actions, attributes, domains, and groups.

State Object Transaction Transaction Line List Transaction Line Action Attribute Domain Group

actions

x

 

x

       

attributes

x

 

x

       

availableElements

         

x

 

constraintList

         

x

 

constraintType

         

x

 

defaultRowState

 

x

         

deletable

   

x

       

domain

       

x

   

enabled

     

x

     

groups

x

 

x

       

hasConstraintViolation

       

x

   

hasError

x

 

x

 

x

 

x

insertable

 

x

         

messages

x

     

x

   

queryable

 

x

         

required

       

x

   

sortable

 

x

         

updatable

   

x

 

x

   

visible

     

x

x

 

x

Related Topics

Related Topics Link IconSee Also