Loading...

Knowledge Base

Search Multi Domain Windows Hosting Orders Using the API

Summary

When you want to find Multi Domain Windows Hosting orders using the API. This article explains the available search criteria and how matching order information is returned.


Description

Gets a list and details of Multi Domain Windows Hosting orders matching the specified search criteria.


Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller ID used to authenticate the API request.
api-keyStringRequiredYour API key used to authenticate the API request.
no-of-recordsIntegerRequiredNumber of orders to be fetched.
page-noIntegerRequiredPage number for which the order details are to be fetched.
order-idArray of IntegersOptionalOrder ID or Order IDs of the Multi Domain Windows Hosting orders whose details need to be fetched.
reseller-idArray of IntegersOptionalReseller ID or Reseller IDs whose orders need to be fetched.
customer-idArray of IntegersOptionalCustomer ID or Customer IDs whose orders need to be fetched.
show-child-ordersBooleanOptionalSpecifies whether Sub-Reseller orders need to be fetched.
statusArray of StringsOptionalStatus of the order, such as Active, InActive, or Deleted.
domain-nameStringOptionalDomain name of the Multi Domain Windows Hosting order.
creation-date-startStringOptionalUNIX timestamp for fetching orders whose creation date is greater than this value.
creation-date-endStringOptionalUNIX timestamp for fetching orders whose creation date is less than this value.
expiry-date-startStringOptionalUNIX timestamp for fetching orders whose expiry date is greater than this value.
expiry-date-endStringOptionalUNIX timestamp for fetching orders whose expiry date is less than this value.
order-byArray of StringsOptionalOne or more parameters by which the orders should be sorted. The default is orderid.


HTTP Method

GET


Example Test URL Request

US, Texas Server

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

India Server

https://test.httpapi.com/api/multidomainhosting/windows/in/search.json?auth-userid=0&api-key=key&no-of-records=1&page-no=1


Sorting the Results

Use the order-by parameter to control the order in which matching records are returned.

For example, if:

  • page-no is 1

  • no-of-records is 30

  • order-by is orderid

the API returns the first 30 orders matching the search criteria, sorted by Order ID.

If page-no is changed to 2, the API returns the next set of 30 matching orders using the same sorting criteria.


Response

Returns the list of Multi Domain Windows Hosting orders that match the specified search criteria.