Hello - I'm trying to create a polygon from co-ordinates received from an API call. The response body containing the co-ordinates is attached. The response can include shells and holes and I would like to be able to create both of these features if required (the attached example doesn't include shells but we will encounter these in future use).
I think the response form the API is JSON and the workbench I've built to call the API is storing this response in an attribute ('_response_body').
I'm really not sure how I can turn these co-ordinates into a polygon and I would be so grateful for any help.
Thanks in advance and all the best,
Matt