Description

This method returns the name of the parent Domain for the given Domain or null if the given Domain has no parent Domain.


Exceptions

The following GenRocket exceptions may be thrown by this method:  

  • If the requested domainName is not found.


Runtime Method Signature

Use this method signature when directly accessing the GenRocket binary runtime.


public String domainParent(String domainName)

REST/Socket Payload Request

Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.


{
  "interfaceType": "Manual",
  "methodName": "domainParent",
  "parameters": {
    "domainName": "",
  }
}


REST/Socket Payload Successful Payload Response

The API JSON response payload for this method will be empty.


{
  "responseType": "OK",
  "data": {
     "parentName": ""
  }
}