Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Can the Put rest api be configured to add new data as well as update existing data? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can the Put rest api be configured to add new data as well as update existing data?

Question
1
Views
0
Comments

Summary:

Can the Put rest api be configured to add new data as well as update existing data

Content (required):

The put handler currently updates existing but fails to create any new data rows.

Can this be fixed in the handler sql below

Version (include the version you are using, if applicable):

Apex Cloud database

Code Snippet (add any code snippets that support your topic, if applicable):

BEGIN

UPDATE ADMIN.PUT SET (PROJECTID = :PROJECTID,PROJECTNAME = :PROJECTNAME,LOCATION = :LOCATION)

WHERE PROJECTID = :PROJECTID

END;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!