{"id":12981,"date":"2016-06-22T08:46:28","date_gmt":"2016-06-22T13:46:28","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=12981"},"modified":"2016-08-16T08:32:09","modified_gmt":"2016-08-16T13:32:09","slug":"making-requests","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_requests\/making-requests\/","title":{"rendered":"Making Requests"},"content":{"rendered":"<p>The RESTful interface allows users to retrieve data, add data, update data, and delete data using call methods: GET, POST, PUT and DELETE, respectively. These methods can be set in the HTTP header, or they can be set in the URI using the key: <strong>method<\/strong>. Using the URI parameter <strong>method<\/strong> is a useful way to execute RESTful requests through a web browser.<\/p>\n<p>All API requests return a JSON object. The JSON response will always contain the members <strong>code<\/strong> and <strong>status<\/strong>. The <strong>status<\/strong> member indicates a high-level result of the request and has two possible values: <em>success<\/em> and <em>fail<\/em>. The <strong>code<\/strong> member is an HTTP response code describing the outcome of the API result.<\/p>\n<p>If an API call was successful, it may contain the member: <strong>result<\/strong>. This member contains data that was either requested or data that was generated as part of the API request. If an API call was unsuccessful, the JSON response will contain the member <strong>error<\/strong>. This member is a short description of the failure.<\/p>\n<h4>Examples<\/h4>\n<p><!--%subpages(1)%--> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The RESTful interface allows users to retrieve data, add data, update data, and delete data using call methods: GET, POST, PUT and DELETE, respectively. These methods can be set in the HTTP header, or they can be set in the URI using the key: method. Using the URI parameter method is a useful way to [&hellip;]<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":12979,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-12981","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1872"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=12981"}],"version-history":[{"count":17,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12981\/revisions"}],"predecessor-version":[{"id":13609,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12981\/revisions\/13609"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12979"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=12981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}