Admin
API för att aktivera, avaktivera och sätta service_uid i Tjänsteguiden, riktat för integration mot tjänsteplattform
FormatXML AuthLogin ConsumerStadsnät
services
Request
GET /admin/edit/services/plain/adminapi
Attributes
- mandatory
Data format: string
Example: consumers
What target to list services from ('consumers', 'companies', 'seniors', 'students', 'property') - mandatory
Data format: string
Example: ABC123
hash from api_login - 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/adminapi?method=services&target=consumers&hash=ABC123
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<services> <response> <service> <id>18224</id> <name>10/10 Mbit/s + Telefoni Standard</name> <category>Internet, Via fiber, Telefoni, Telefoni Standard</category> <service_uid>BAHNHOF1010PRIVAT</service_uid> <xsp>Bahnhof</xsp> <speedup>10000</speedup> <speeddown>10000</speeddown> <status>active</status> <validation>ok</validation> </service> <service> <id>18225</id> <name>100/10 Mbit/s + Telefoni Standard</name> <category>Internet, Via fiber, Telefoni, Telefoni Standard</category> <service_uid></service_uid> <xsp>Bahnhof</xsp> <speedup>10000</speedup> <speeddown>100000</speeddown> <status>active</status> <validation>ok</validation> </service> </response> <status>success</status> </services>