API specifications
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 target


      • mandatory hash


      • optional output_format


    • 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>