Beställningar
API för beställningar i Tjänsteguiden
FormatXML AuthLogin OriginTjänsteguiden ConsumerStadsnät
customers
Request
GET /admin/edit/services/plain/orders
Attributes
- mandatory
Data format: string
Example: 2015-01-01
Date from when to list new or edited 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=customers&date=2015-01-01&api_user=1234
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<response> <customer> <id>16745</id> <socket>12345</socket> <serial>XXXXXXXXXX</serial> <firstname>Kalle</firstname> <surname>Testsson</surname> <email>test@test.com</email> </customer> <customer> <id>17048</id> <socket></socket> <serial>XXXXXXXXXXX</serial> <firstname>Kalle</firstname> <surname>Provsson</surname> <email>exempel@exempel.com</email> </customer> </response>