AppDirect Actions
Related pages:
AppDirect
AppDirect Technical Notes
AppDirect Triggers
Create Object
Create Object in AppDirect Environment
Create Object. Input fields
- Object type - type of object which you want to create. You can use only next list of types for this action:
Update Object
Update Object in AppDirect Environment
Update Object. Input fields
- Object type - type of object which you want to update. You can use only next list of types for this action:
Create Entity
Create Entity in AppDirect Environment.
Create Entity. Input fields
- Entity type - type of entity which you want to create. You can use only next list of types for this action:
Update Entity
Update Entity in AppDirect Environment.
Update Entity. Input fields
- Entity type - type of entity which you want to update. You can use only the following list of types for this action:
Lookup Object By ID
Get an object by its type and id from AppDirect Environment.
Lookup Object By ID. Input fields:
-
Object type - type of object which you want to lookup.
- Entity type - type of entity which you want to lookup. You can use only the following list of types for this action:
- Company Memberships
- Order
- Payment Instruments (Default)
- Product
- Subscription
- Subscription Assignment
- User
- User Memberships
Lookup Objects
Get objects by criteria.
Lookup Objects. Input fields
-
Object type - type of object which you want to lookup.
- Entity type - type of entity which you want to lookup. You can use only the following list of types for this action:
- Behaviour - Behaviour of emitting data.
- Fetch all
- Fetch Page
- Emit Individually
Lookup Objects. Input Metadata description
- pageSize: positive integer that defaults to 100 (only if Fetch Page mode)
- pageNumber: required non-negative integer that is 0 based (only if Fetch Page mode)
- order: optional array of fieldname + sort direction pairs (only if Fetch Page mode)
[ { "fieldName": "createdOn", "sortDirection": "ASC" }, { "fieldName": "NAME", "sortDirection": "DESC" } ]
- max result size: optional positive integer that defaults to 1000 (only if fetch all mode)
Lookup Objects. Input metadata limitations
- max result size value doesn’t support value more than 100000000 in Fetch all mode
- Emit Individually mode can’t emit more then 100000000 messages
Delete Object By ID
Delete object by its type and id from AppDirect Environment.
-
Object type - type of object which you want to lookup.
-
Entity type - type of entity which you want to lookup. You can use only the following type for this action:
Enable/Disable company membership
See the link: Enable/Disable company membership. Enable or disable marketplace user’s company membership.
This only changes the user company membership’s enabled status; all other attributes are ignored.
Invite company membership
See the link: Invite company membership Add a user as a member of a marketplace company.
Depending on channel configuration, the membership is either created immediately or when an invited user accepts the invitation. If no user exists with the given email address (and also depending on channel configuration), a user may be created. This causes an invitation to be sent to the user.