[progress Communities] [progress Openedge Abl] Forum Post: Business Entity - Data Object -...

  • Thread starter Thread starter tomas.kucera
  • Start date Start date
Status
Not open for further replies.
T

tomas.kucera

Guest
Hi there, I am trying to work out the following. I would like to distinguish between UPDATE and CREATE on PUT. When there is a PUT coming in, then if the ID exists, it updates the record and if not, it creates a new one. What I would like is to return custom HTTP status for the create (201 - Created), announcing that the record has been created instead of updated. I searched KBase, forums, docs but failed to find any hints. I found how to do it when having manually mapped REST services. But I cannot find it for the generated Business Entity and the Data Object service. Any idea? Thanks in advance! tom.+

Continue reading...
 
Status
Not open for further replies.
Back
Top