Inventory Action Parameters
Each action is an object, whose fields are the action parameters. Every action must contain at least two fields (parameters) - ‘entity’ and ‘action’.
This table describes the ‘entity’ and ‘action’ parameters for inventory:
Parameters that are specific for each action are described in the Supported
Inventory Actions and Supported Activity Actions sections. Parameters that contain the
ids of Oracle Field Service entities (invid, inv_aid, inv_pid) are of the
type "string" and not "number". This is because, entities that are created on the client
side have ids similar to "1234567890-1234", before they're synchronized with the
server.
Parameter | Mandatory | Type | Description |
---|---|---|---|
entity | Yes | String | Must be either "activity" or "inventory" |
action | Yes | String | Must be equal to one of the supported inventory actions or supported activity actions (such as "install", "create") |
Labels and values of all parameters are case-sensitive, for example, all these parameters are
invalid:
{
ACTION: "INSTALL"
entity: "Inventory",
Inv_Aid: ""
}