API V2.0: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 199: Line 199:
Each response item will contain a "success" boolean field. Success will be false if there were any errors in processing the item.
Each response item will contain a "success" boolean field. Success will be false if there were any errors in processing the item.
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}}  </span> Success being false does not necessarily mean that nothing has changed.  
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}}  </span> Success being false does not necessarily mean that nothing has changed.  
  E.g. if a valid booking with an invalid info item is posted, the booking will be created but the info item will not. Success will be false in this case because there was an error.
 
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span> E.g. if a valid booking with an invalid info item is posted, the booking will be created but the info item will not. Success will be false in this case because there was an error.


A response item may also contain one or more of the following:  
A response item may also contain one or more of the following: