Exportera Tjänsteguide
Export-API för hela Tjänsteguiden
FormatXML AuthLogin ConsumerStadsnät
list_categories
Request
GET /admin/edit/services/plain/api
Attributes
- mandatory
Data format: string
Example: consumers
consumers, companies, property, students, seniors - optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/services/plain/api?method=list_categories&target=consumers&hash=abcd
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<list_categories> <response> <categories> <category> <name>Via fiber</name> <id>39</id> </category> <category> <name>Via telefonjacket</name> <id>7</id> </category> <category> <name>Via kabeltvnätet</name> <id>92</id> </category> <category> <name>Trådlöst</name> <id>8</id> </category> <category> <name>Telefoni Prio</name> <id>3</id> </category> <category> <name>Telefoni Standard</name> <id>5</id> </category> </categories> </response> <status>success</status> </list_categories>