• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

JSON code for PUT API in Pabbly

Durkis

Member
Hi,

I am trying to do a PUT API request to Plutio. Its for a custom field in the Proposals section. I have looked on the API page and looked at examples, but I must have the syntax wrong. can you help?

The automation is Here, but I have a screenshot below which may make my mistake clear.

thank you again for your help.

Stu
1645949977939.png
 

Durkis

Member
OK. that's a great tool. I have validated the JSON code and I get this error:

1646784166611.png

So now I am trying to represent the custom fields as an array but after playing around with square brackets and commas and getting errors or bad code, I am not sure how to represent this. Can anyone help?
 

Hermes

Active member
Please use this:
"customFields" : [
{
"_id" : "PLbDXZKuH22Scn9Ya",
"value" : "{{__data.entity}}"
}
 

Durkis

Member
Please use this:
"customFields" : [
{
"_id" : "PLbDXZKuH22Scn9Ya",
"value" : "{{__data.entity}}"
}
Hi, Hermes, thanks for that. I must be using this wrongly, because JSONlint is giving me parse errors, both using the code as is, and trying to insert it where I had the "Customfields" name before hand. Can you help?
 

Attachments

  • Screenshot (20).png
    Screenshot (20).png
    213.9 KB · Views: 73
  • Screenshot (21).png
    Screenshot (21).png
    210.4 KB · Views: 76
Top