Admin
API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
insert_address
The array must follow the specification for the connection engine import function. However, you can add an "id" field to the data array to specify what post to update. The id of any given post is obtained via the search_address function. Without the id field, the address will always be added to the address database even if it is a duplicate.
When using the api to create addresses, the "origin" field will be set to "api" always,
When using the api to create addresses, the "origin" field will be set to "api" always,
Request
GET /admin/edit/connect/plain/api
Attributes
- mandatory
Data format: array
Example: Array
An array of the address - 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=insert_address&data=Array&api_user=1234