This tutorial described new API, which will be appear either in 1.10 release or current master branch.
If you want to create a contact record via rest api, firstly please generate user’s api key and wsse header, how to do this described here, go to [app_url]/api/doc/rest_json_api#get–api-contacts, click on “Sandbox”, click on “Try!”, copy first entity json section, remove ‘”id”: “1”,’ and paste json to testing.json. After that you need to set right wsse header to curl.
For example i have created ‘testing’ custom entity with ‘name’ field (in your case rename extendtestings to contacts)
Please pay attention, you must re-generate wsse header each time when you want call api. In my example i purposely deleted ‘[‘ char from json, though it exists when you press ‘Try!’ button.
Author
Replies
Viewing 2 replies - 1 through 2 (of 2 total)
The forum ‘Oro Community’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.