SOLVED

Field update: API request empty response

Go to solution
Vitaly_Nikolaie
Level 1

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.

pastedImage_0.png

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

Does anyone had such problem?

Tags (3)
1 ACCEPTED SOLUTION
Jay_Jiang
Level 10

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

View solution in original post

2 REPLIES 2
Jay_Jiang
Level 10

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
Level 1

Ahh, thanks!

That's correct )