Loading...

Knowledge Base

Search Current Actions Using the API

When you want to search current actions using the API. This article explains available search filters, action status options, pagination parameters, and response details for current action records.

 

Description

Gets the Current Actions based on the criteria specified.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller Id
api-keyStringRequiredAn alphanumeric code that can be used to authenticate your API calls
eaq-idArray of IntegersOptionalThe Entity Action Queue Ids of the corresponding actions
order-idArray of IntegersOptionalThe Order Ids for which you want to search actions
entity-type-idArray of IntegersOptionalThe Entity Type Ids for which you want to search actions.
action-statusArray of StringsOptionalThe action statuses for which you want to search actions.
action-typeArray of StringsOptionalThe action types for which you want to search actions
no-of-recordsIntegerRequiredNumber of records to be returned
page-noIntegerRequiredPage number for which records are required

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/actions/search-current.json?auth-userid=0&api-key=key&order-id=0&order-id=1&no-of-records=10&page-no=1

Response

Returns a hash map of the Current Actions containing the below details:

  • Order Id (entityid)

  • Entity Type Id (entitytypeid)

  • Entity Action Queue Id (eaqid)

  • Action Type (actiontype)

  • Description of the Action (actiontypedesc)

  • Timestamp when the Action was added (actionadded)

  • Timestamp when the Action started (actionstarted)

  • Timestamp when the Action got completed (actioncompleted)

  • Action Status (actionstatus)

  • Description of the Action Status (actionstatusdesc)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

 
 

Loading...