Loading...

Knowledge Base

Search Business Email Orders Using the API

When you want to search Business Email orders using the API. This article explains available search filters, order status options, sorting, pagination, and response details for matching Business Email orders.

Search Orders

 

Description

Gets a list and details of the Business Email Orders matching the search criteria.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
no-of-recordsIntegerRequiredNumber of Orders to be fetched
page-noIntegerRequiredPage number for which details are to be fetched
order-idArray of IntegersOptionalOrder ID(s) of the Business Email Order(s) whose details need to be fetched
reseller-idArray of IntegersOptionalReseller ID(s) of the Resellers whose Orders need to be fetched
customer-idArray of IntegersOptionalCustomer ID(s) of the Customers whose Orders need to be fetched
show-child-ordersBooleanOptionalWhether Sub-Reseller Orders need to be fetched or not
statusArray of StringsOptionalStatus of the Order: Active, InActive, Deleted, etc.
domain-nameStringOptionalDomain name associated with the Business Email Order
creation-date-startStringOptionalUNIX TimeStamp for listing of the Business Email Orders whose Creation Date is greater than creation-date-start
creation-date-endStringOptionalUNIX TimeStamp for listing of the Business Email Orders whose Creation Date is less than creation-date-end
expiry-date-startStringOptionalUNIX TimeStamp for listing of the Business Email Orders whose expiry date is greater than expiry-date-start
expiry-date-endStringOptionalUNIX TimeStamp for listing of the Business Email Orders whose expiry date is less than expiry-date-end
order-byArray of StringsOptionalOne or more parameters by which you want to sort the Orders. Default is orderid.

Example:

If page-no is 1, no-of-records is 30 and order-by is orderid; it will fetch the first 30 Orders which suit the search criteria sorted by orderid. If page-no is 2, no-of-records is 30 and order-by is orderid; it will fetch the second batch of 30 Orders sorted by orderid

HTTP Method

GET

Example Test URL Request

US Server https://test.httpapi.com/api/eelite/us/search.json?auth-userid=0&api-key=key&no-of-records=1&page-no=1

Response

Returns a hash map containing the below details of the Business Email Orders which match the search criteria:

  • Domain Name (entity.description)

  • Order Id (orders.orderid)

  • Customer Id (entity.customerid)

  • Order Addition Timestamp (orders.creationdt)

  • Order Creation Timestamp (orders.creationtime)

  • Expiry Timestamp (orders.endtime)

  • Current Order Status under the System (entity.currentstatus) - value will be InActive, Active, Suspended, Pending Delete Restorable, Deleted or Archived

  • Product Name (entitytype.entitytypename)

  • Product Key (entitytype.entitytypekey)

  • GEO Location (hosting_group_info.location)

 
 

Loading...