API för beställningar i Tjänsteguiden
FormatXML AuthLogin OriginTjänsteguiden ConsumerStadsnät
orders
Use to fetch new orders from the system. This only returns the order data, and more info about each order is found via order_info(). Note that the valuefor delivery_date can be "asap" for "as soon as possible"
  • Request


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


      • mandatory date


      • mandatory api_user


      • optional output_format


    • Example request


      GET /admin/edit/services/plain/orders?method=orders&date=2015-10-01&api_user=1234
    • Response success: 200


      HTTP/1.1 200
      Content-Type: application/xml
        <serviceguide>     <response>       <order>         <id>19530</id>         <type>order</type>         <date>2015-10-06 11:48:00</date>         <status>new</status>         <service>2440</service>         <xsp>31420</xsp>         <delivery>2015-10-06 00:00:00</delivery>         <customer>16745</customer>       </order>       <order>         <id>19531</id>         <type>order</type>         <date>2015-10-06 11:48:00</date>         <status>new</status>         <service>2440</service>         <xsp>31420</xsp>         <delivery>asap</delivery>         <customer>16746</customer>       </order>     </response>   </serviceguide>