Field update: API request empty response | Community
Skip to main content
Vitaly_Nikolaie
New Participant
November 23, 2018
Solved

Field update: API request empty response

  • November 23, 2018
  • 1 reply
  • 3737 views

I'm trying to update my Country field values list through REST API request. But update field endpoint always returns the empty string as response.

The following is an example of a field label update request.

I think it should return success status and errors... But just empty response and 200 code.

Does anyone had such problem?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jay_Jiang

You're endpoint doesn't look correct. It's missing /field/. Also the update parameter and value looks like it's entered under params and not body.

Check the documentation again. The example is: /rest/asset/v1/form/{id}/field/LastName.json?label=enter the last name here

1 reply

Jay_Jiang
Jay_JiangAccepted solution
New Participant
November 23, 2018

You're endpoint doesn't look correct. It's missing /field/. Also the update parameter and value looks like it's entered under params and not body.

Check the documentation again. The example is: /rest/asset/v1/form/{id}/field/LastName.json?label=enter the last name here

Vitaly_Nikolaie
New Participant
November 26, 2018

Ahh, thanks!

That's correct )