{"id":177,"date":"2020-04-27T12:01:53","date_gmt":"2020-04-27T12:01:53","guid":{"rendered":"http:\/\/localhost\/senitron\/?page_id=177"},"modified":"2020-05-27T05:07:35","modified_gmt":"2020-05-27T05:07:35","slug":"restapi-api-url-and-key","status":"publish","type":"page","link":"https:\/\/senitron.net\/developers\/restapi-api-url-and-key\/","title":{"rendered":"RESTAPI-API URL and Key"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last\" style=\"--awb-bg-size:cover;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-column-wrapper-legacy\"><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:0px;margin-bottom:0px;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;border-color:#e2e2e2;border-top-width:2px;\"><\/div><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-text fusion-text-1\"><p><b>API URL<\/b><br \/>\nSenitron's API URL for the production server is:<br \/>\n<span style=\"color: #3366ff;\">http:\/\/app.senitron.net\/api\/v1<\/span><\/p>\n<p>Developers are required to add service names to the end of this URL and to call it accordingly to our documentation.<\/p>\n<p>for example Imagine the following description for a service<br \/>\n<b>GET: \/items<\/b><\/p>\n<p>It means you should make an HTTP request as a GET type and call following the URL<br \/>\nhttp:\/\/app.senitron.net\/api\/v1\/items<\/p>\n<p>When using HTTP request(s) such as POST type, JSON data must be added to the body of the request(s).<\/p>\n<p><b>API-KEY<\/b><br \/>\nEvery tenant has a unique API key (string) that can be provided by the Senitron support team or can be accessed and discovered by logging into an active account, with Super Admin privileges, and accessing \"Tenant Admin &gt; Integrations\"<\/p>\n<\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"side-navigation.php","meta":{"footnotes":""},"class_list":["post-177","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/pages\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/pages\/177\/revisions"}],"wp:attachment":[{"href":"https:\/\/senitron.net\/developers\/wp-json\/wp\/v2\/media?parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}