Admin
API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
latest_applications
An array of the latest applications from a specified date. More data about each application may be present in application_data()
Request
GET /admin/edit/connect/plain/api
Attributes
- mandatory
Data format: string
Example: 2019-10-112
From what date you want to fetch new applications from - mandatory
Data format: integer
Example: 1234
The ID for the API user in Atlas - optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/connect/plain/api?method=latest_applications&date=2019-10-112&api_user=1234
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<latest_applications> <response> <application> <id>468578</id> <name>Test Testsson</name> <oid>20894</oid> <streetname>Nugatan</streetname> <zip>11123</zip> <status>interest</status> <date>2019-06-17</date> <building>Karl</building> <origin>web</origin> </application> <application> <id>468457</id> <name>Emil</name> <oid>20854</oid> <streetname>Testgatan</streetname> <zip>72340</zip> <status>interest</status> <date>2019-06-17</date> <building>Test 1:20</building> <origin>web</origin> </application> <application> <id>469648</id> <name>Jeppe</name> <oid>18806</oid> <streetname>testgatan</streetname> <streetnumber>1</streetnumber> <zip>12345</zip> <email>test@test.com</email> <status>order</status> <date>2019-06-28</date> <building>testet:1</building> <origin>web</origin> </application> </response> <status>success</status> </latest_applications>