Hoppa direkt till innehåll
API for direct activation of services from Tjänsteguiden connecting to an API server on the CO premises
FormatXML AuthLogin OriginStadsnät ConsumerTjänsteguiden
port_status
Acquire port status on a specific accessId
  • Request

    GET https://www.citynet.com/[api]
    • Attributes

    • Example request

      GET /[api]?method=port_status&socket=123-456-ABC
    • Response success: 200

      HTTP/1.1 200
      Content-Type: application/xml
        <port_status>     <response>       <info>         <message>Port avstängd på grund av utebliven betalning</message>         <nettype>LAYER2</nettype>         <media>FTTH</media>         <portcapacity>100</portcapacity>         <cpecapacity>1000</cpecapacity>         <cocpe>YES</cocpe>         <dhcpoption>5216010765746820302F31020B31302E</dhcpoption>         <serviceport>ASAP</serviceport>       </info>       <services>         <service>           <id>12</id>           <date>2010-12-03</date>           <name>T3 50/50 Mbit Privat</name>           <commitment>2030-01-01</commitment>           <release>0</release>           <message>Tjänst aktiverad via BRF Föreningen</message>         </service>         <service>           <id>13</id>           <date>2010-08-21</date>           <name>AllTele Telefoni Privat</name>           <commitment>2011-06-25</commitment>           <release>2030-01-01</release>         </service>       </services>     </response>     <status>success</status>   </port_status>