optional field gives error when no value entered via API

Answered

Comments

2 comments

  • Christian Holm

    Hi Michael

    If the values are blank, you should simply leave them out of the "fields" array. So I suggest you start with an empty array, and then add the values if they are not blank, and the use that in the item-create call.

    Christian

    0
    Comment actions Permalink
  • Michael Winterheller

    Hi Christian,

    thank you for the fast response!! I can follow your approach but how do I go about the "wanted" empty fields... But maybe the behavior is different when using the update call?!

    Thank you again for the reponse

    Michael

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk