Hoppa direkt till innehåll
Export-API för hela Tjänsteguiden
FormatXML AuthLogin ConsumerStadsnät
xsp_info
Basic information about the service provider, shown with their services. Some infromation is divided into several target categories

baseimage URL to the service provider logo
support array of all the support information for all target groups
supportcompanycustomeropenhours (Ex.) open hours for custimer service for company services.
invoices list of accepted invoice options to be presented to the customer
  • Request

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

    • Example request

      GET /admin/edit/services/plain/api?method=xsp_info&xid=12&hash=abcd
    • Response success: 200

      HTTP/1.1 200
      Content-Type: application/xml
        <xsp_info>     <response>       <base>         <name>Bredband2</name>         <image>/media/modules/memberpics/SNF/2013/09/23/14/fabriken2.png</image>       </base>       <data>         <consumers>           <order_email>email@company.com</order_email>           <paper_invoice>yes</paper_invoice>           <auto_invoice>yes</auto_invoice>           <e_invoice>yes</e_invoice>           <email_invoice>yes</email_invoice>           <address>Adressgatan 5</address>           <zip>12345</zip>           <city>Stockholm</city>           <url>www.company.com</url>           <image>/media/modules/memberpics/SSS/2008/06/13/13/logo.gif</image>           <about>A cool XSP</about>           <longdescription>A very cool XSP</longdescription>         </consumers>       </data>       <support>         <consumers>           <customer>             <phone>0770-81 10 00</phone>             <email>helpdesk@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <mon_start>8</mon_start>               <mon_end>19</mon_end>               <tue_start>8</tue_start>               <tue_end>19</tue_end>               <wed_start>8</wed_start>               <wed_end>19</wed_end>               <thu_start>8</thu_start>               <thu_end>19</thu_end>               <fri_start>8</fri_start>               <fri_end>19</fri_end>               <sat_start>10</sat_start>               <sat_end>14</sat_end>               <sun_start>10</sun_start>               <sun_end>14</sun_end>             </openhours>           </customer>           <support>             <phone>0770-81 10 00</phone>             <email>helpdesk@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <mon_start>8</mon_start>               <mon_end>19</mon_end>               <tue_start>8</tue_start>               <tue_end>19</tue_end>               <wed_start>8</wed_start>               <wed_end>19</wed_end>               <thu_start>8</thu_start>               <thu_end>19</thu_end>               <fri_start>8</fri_start>               <fri_end>19</fri_end>               <sat_start>10</sat_start>               <sat_end>14</sat_end>               <sun_start>10</sun_start>               <sun_end>14</sun_end>             </openhours>           </support>         </consumers>         <companies>           <customer>             <phone>0770-81 10 20</phone>             <email>sales@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <mon_start>8</mon_start>               <mon_end>18</mon_end>               <tue_start>8</tue_start>               <tue_end>18</tue_end>               <wed_start>8</wed_start>               <wed_end>18</wed_end>               <thu_start>8</thu_start>               <thu_end>18</thu_end>               <fri_start>8</fri_start>               <fri_end>18</fri_end>             </openhours>           </customer>           <support>             <phone>0770-81 10 10</phone>             <email>foretag@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <mon_start>8</mon_start>               <mon_end>18</mon_end>               <tue_start>8</tue_start>               <tue_end>18</tue_end>               <wed_start>8</wed_start>               <wed_end>18</wed_end>               <thu_start>8</thu_start>               <thu_end>18</thu_end>               <fri_start>8</fri_start>               <fri_end>18</fri_end>             </openhours>           </support>         </companies>         <property>           <customer>             <phone>0770-81 10 00</phone>             <email>helpdesk@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <week_start>8</week_start>               <week_end>22</week_end>               <weekend_start>10</weekend_start>               <weekend_end>18</weekend_end>             </openhours>           </customer>           <support>             <phone>0770-81 10 00</phone>             <email>helpdesk@bredband2.com</email>             <fax>040-12 58 90</fax>             <openhours>               <week_start>8</week_start>               <week_end>22</week_end>               <weekend_start>10</weekend_start>               <weekend_end>18</weekend_end>             </openhours>           </support>         </property>       </support>       <invoices>         <invoice>           <name>Pappersfaktura</name>           <cost>39</cost>         </invoice>         <invoice>           <name>Autogiro</name>           <cost>0</cost>         </invoice>         <invoice>           <name>E-faktura via bank</name>           <cost>0</cost>         </invoice>         <invoice>           <name>Faktura via e-post</name>           <cost>19</cost>         </invoice>       </invoices>     </response>     <status>success</status>   </xsp_info>