Android SDK Samples - Territories Operations
ZCRMSDKUtil.getTerritory(5540xxx0341, object : DataCallback<APIResponse, ZCRMTerritory>
//554023000000430341 is the id of the territory here
{
override fun completed(response: APIResponse, zcrmentity: ZCRMTerritory)
{
println("${response.responseJSON}")
}
override fun failed(exception: ZCRMException)
{
println("Throws Exception : $exception")
}
})