Hoppa direkt till innehåll
API för beställningar i Tjänsteguiden
FormatXML AuthLogin OriginTjänsteguiden ConsumerStadsnät
order_info
  • Request

    GET /admin/edit/services/plain/orders
    • Attributes

    • Example request

      GET /admin/edit/services/plain/orders?method=order_info&id=12&api_user=1234
    • Response success: 200

      HTTP/1.1 200
      Content-Type: application/xml
        <response>     <orderinfo>       <date>2015-10-06 12:39</date>       <type>order</type>       <status>new</status>       <delivery>2015-10-06 00:00</delivery>       <provider>T3</provider>       <service_id>2440</service_id>       <service>50/50 Mbit/s</service>       <category>Privatpersoner: Internet / Via fiber</category>       <service_uid>12345678</service_uid>       <citynet>Stadsnätsfabriken DEMO</citynet>     </orderinfo>     <customer>       <id>16745</id>       <socket>65375</socket>       <serial>197510116952</serial>       <firstname>Test direktaktivering</firstname>       <surname>Test direktaktivering</surname>       <email>jonas@eklundh.com</email>       <address>Test direktaktivering</address>       <zip>12345</zip>       <city>Test direktaktivering</city>       <message>TESTBESTÄLLNING</message>       <phone>0703051947</phone>       <premise>508-004-06-0302</premise>     </customer>     <logs>       <log>         <date>2015-10-06 12:39:00</date>         <message>Saved order</message>         <type>system</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>Attaching order to existing customer (197510116952)</message>         <type>system</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>Attempting to add order to API server</message>         <type>system</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>Service order accepted from API server</message>         <type>system</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>User requested direct activation, checking activation status from API server</message>         <type>system</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>API doesn't report the service as activated</message>         <type>error</type>       </log>       <log>         <date>2015-10-06 12:39:00</date>         <message>Found email address for XSP associated with service or company: order@t3.se</message>         <type></type>       </log>     </logs>     <serviceinfo>       <data>         <name>invoice type</name>         <value>Autogiro</value>         <options></options>         <cost></cost>         <monthly></monthly>       </data>       <data>         <name>monthly fee</name>         <value></value>         <options></options>         <cost></cost>         <monthly>222</monthly>       </data>       <data>         <name>Just nu! Höstkampanj: HALVA PRISET I 6 MÅNADER! In</name>         <value></value>         <options></options>         <cost></cost>         <monthly></monthly>       </data>     </serviceinfo>   </response>