Hi there,
I’m trying to create related object in a single request using following:
curl
-H application-id:<application-id>
-H secret-key:<REST-secret-key>
-H Content-Type:application/json
-H application-type:REST
-X PUT
-v [url=http://api.backendless.com/v1/data/Class/]http://api.backendless.com/v1/data/Users/<user-object-id>[/url]
-d '{"refills":[{"___class":"Refill","prescription_1":"Hello"}]}'
But getting following error
Relation type update is prohibited - property refills must relate to table Users but not Refill
Please advise
Thanks