Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

See our SwaggerHub account for technical information on our new API v2.

Note: SwaggerHub may have small problems, so if the page doesn’t display AFTER redirecting, just do an F5 refresh (sometimes you need to refresh a few times)

Info

See some of our API Examples on our github repository.

Info

We held an API Webinar in January 2021 to help provide an overview on the new API and demonstrate some if its features - you can find the Webinar here.

Key Partner Takeaways

  1. Our API is changing, but you don’t have to move to the new v2 just yet… we’re keeping the old one as it is in place for 12 months

  2. The new API v2 will be a like for like in terms of functions – but written in JSON rather than XML

  3. We will be introducing new functions into v2 further down the line, and we’d like to hear from you about things you’d like to see included

...

Code Block
class PiApi {
  static PiUser createUser(String usercode) {
      String url // e.g. https://localhost:8224/panMISDashboardWebServices/api/user
      String body // assemble the request and put usercode into the body
      String response = Http.post(url, body) // in xml
      Map data // converted from response xml

      return new PiUser(usercode: data.usercode)

  }
}

...

Elementor macro
rowWidth100
titletyxt1l
content[{"id":"bh0yoh","order":1662116718241,"background":{"source":"color","value":"#ffffff","id":""},"backgroundOverlay":{"isActive":false,"color":"#000000","opacity":0.5},"rows":[{"id":"iwxrz8","order":1662116718241,"type":"one","columns":[{"id":"jc7et","order":1,"alignment":{"vertical":"center","horizontal":"center"},"macro":{"id":"pagedivider","dividerColor":"#8d135bff","text":"Related Topics","fontSize":24,"textAlignment":"center","dividerWidth":100,"dividerWeight":3,"dividerType":"text-only","dividerIcon":"atlaskit/StarFilledIcon","textColor":"#8d135bff","iconColor":"#000","labelPosition":"middle","emojiEnabled":"false","emoji":{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}}},{"id":"2tph1k","order":2,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"eykj1n","order":3,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"q34fws","order":4,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}}]},{"id":"0bt4bi","order":1662116800345,"type":"one","columns":[{"id":"z72q2","order":1,"alignment":{"vertical":"center","horizontal":"center"},"macro":{"id":"pages","type":"list","layout":"four","loadType":"manual","parentPage":"202375675","manualPages":[{"id":"4ejjbc","position":0,"contentId":"1238892545"},{"id":"7mllm8","position":1,"contentId":"229834770"},{"id":"qoo3lne","position":2,"contentId":"229441558"},{"id":"8qwd4q","position":3,"contentId":"562462756"},{"id":"86t3ve","position":4,"contentId":"794689558"},{"id":"1aq6c","position":5,"contentId":"1271889921"}],"labels":[],"spaces":[],"contributors":[],"numberOfItems":8,"pagination":"infinite"}},{"id":"rakvfe","order":2,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"w8pjr","order":3,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"ziv95p","order":4,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}}]}]}]