Using REST APIs: Update Workzone from Metadata
Content
Hello,
We are trying to make a process to update our workzones, we can get the workzones using get work zone from METADATA, and this is OK.
But the request to update work zone doesn't work. We use java and jersey client to do this, the response always is the same: "returned a response status of 400 Bad Request"
I put here our code(it's very simple code), if somebody can help us I thank you in advance:
String output = (String) response.getEntity(String.class);
String jsons="'{\"workZoneLabel\":\"AlavaPeriferia\",\"status\":\"inactive\",\"travelArea\":\"company_area\",}'";
response = (ClientResponse) webResource.accept(
0