Base functions Atlas API 1.0
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
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
- mandatory
Data format: string
Example: abcd1234
The API key for the the API user in Atlas - mandatory
Data format: integer
Example: 1234
The ID for the API user in Atlas
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>