Hoppa direkt till innehåll
API specifications
Base functions for Atlas API. API-user and API-key is found in Admin

API-user and API-key for another user is found under Tools for that user.

API-user and API-key for Stadsnätsportalen users are found as logged in here
FormatXML OriginAtlas ConsumerAtlas API User
api_login
Global API function for those API's that require a hash to login. Use this method on the endpoint for the API you are accessing. The resulting Hash is only valid for 20 minutes
  • Request

    GET
    • Attributes

    • Example request

      GET ?method=api_login&api_key=abcd1234&api_user=1234
    • Response success: 200

      HTTP/1.1 200
      Content-Type: application/xml
        <api_login>     <response>       <message>Peter Smith logged in</message>       <hash_key>6a075bdba19b85170ae95666a240a2d1</hash_key>     </response>     <status>success</status>   </api_login>