Support Topics Documentation Slack YouTube Blog

Add relation one to Many

(morteza hosseini) #1

Hi, i am using rest API to add child objectId to my table, relation is 1:n, but after use API, new child objectId replace last one and every time table row has one related child. was i clear?

rest API:

Content-Type: application/json
user-token: …USER_TOKEN…

(Vladimir Yalovy) #2

Hi morteza hosseini

You used URL like in page Backendless REST API Documentation - ?
Method POST - Set relation, method PUT - add relation.
You used method POST or PUT method?

Regards, Vladimir