Backendless Support
 
Works as Designed

Backendless 4.0 create object with relationship with POST REST API

Hello,

I am not able to create new object with relationship(POST call) via REST Api also this call is working properly on 3.0 version. Am i need to do 2 separated call then 3rd one to connect these two objects ?

Example request:

  1. {
  2. "spec":"XYZ",
  3. "person":{
  4. "name":"XXX",
  5. "surname":"YYY"
  6. }
  7. }

Best regards,

Sebastian

Leave a Comment

Comments (1)

photo
1

Hi Sebastian,

Establishing relations between objects has changed in version 4. For details, please see the documentation:

https://backendless.com/docs/rest/doc.html#related_objects

Regards,

Mark