Can not get JSON array from response. REST API GET Request

Can not get JSON array from response. REST API GET Request

  

Hi every one!

I am using consume REST API to get some data from server.

When I testing the request it works fine,and when I copy the result to the response body and the data structure is created automatically.

Problem is - When I am 'call' that action the response result is empty. Also I was debugging it and it had the same problem.


Here is the request test response :


[
  {
    "schooldId": 142,
    "schoolName": "Alpha State School",
    "address": {
      "addressId": 6163,
      "addressLine1": "11 Milton St",
      "addressLine2": null,
      "addressLine3": null,
      "addressLine4": null,
      "addressLine5": "Alpha State School",
      "suburb": "Alpha ",
      "state": "QLD",
      "postcode": "4724",
      "country": "Australia"
    },
    "sector": "Government",
    "type": "Combined",
    "products": 0,
    "educonnexURL": null,
    "ptoSchoolCode": null,
    "ssoSchoolCode": null
  },
  {
    "schooldId": 114,
    "schoolName": "Alpha Omega Senior College",
    "address": {
      "addressId": 10329,
      "addressLine1": null,
      "addressLine2": null,
      "addressLine3": null,
      "addressLine4": null,
      "addressLine5": "Alpha Omega Senior College",
      "suburb": "AUBURN",
      "state": "NSW",
      "postcode": "2144",
      "country": null
    },
    "sector": "Non-government",
    "type": "Secondary",
    "products": 0,
    "educonnexURL": null,
    "ptoSchoolCode": null,
    "ssoSchoolCode": null
  },
  {
    "schooldId": 9464,
    "schoolName": "Crystal Vale High School Alpha",
    "address": {
      "addressId": 11826,
      "addressLine1": "15/1 Bounty Close",
      "addressLine2": null,
      "addressLine3": null,
      "addressLine4": null,
      "addressLine5": null,
      "suburb": "Tuggerah",
      "state": "NSW",
      "postcode": "2259",
      "country": "Australia"
    },
    "sector": "Non-goverment",
    "type": "High School",
    "products": 16,
    "educonnexURL": "https://alpha.cloud.educonnex.com.au",
    "ptoSchoolCode": null,
    "ssoSchoolCode": null
  }
]

Hi unknown Educonnex employee,

Did you increase the REST consume logging level to see whether you receive the expected data?