Beställningar
API för beställningar i Tjänsteguiden
FormatXML AuthLogin OriginTjänsteguiden ConsumerStadsnät
customer_info
Request
GET /admin/edit/services/plain/orders
Attributes
- mandatory
Data format: integer
Example: 12
Customer ID, from orders() or customers() - mandatory
Data format: integer
Example: 1234
API User ID with privileges - optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/services/plain/orders?method=customer_info&id=12&api_user=1234
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<response> <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> <member>1234</member> </customer> <data> <message>TESTBESTÄLLNING</message> <phone>0703051947</phone> <premise>508-004-06-0302</premise> </data> </response>
Definitions
- mandatory
Data format: string
Example: Tokgatan 43
Adress så som den är angiven i Marknadsdatabasen