Purpose: Used to retrieve all sales Orders
Resource URL: http://localhost:8482/WebReporter/api/v1/salesOrders
Method: GET
Authentication: Set Header As
X-Auth-Token : <API - KEY>Request:
GET: http://localhost:8482/WebReporter/api/v1/salesOrders
Response:
|
Examples:
1. To retrieve sales orders in between a period
Request:
GET: http://localhost:8482/WebReporter/api/v1/salesOrders?q=createdAt>=2014-10-22 00: 00: 00,createdAt<=2014-09-22 00: 00: 00
2. To retrieve top '50' sales orders
Request:
4. To sort the order of sales orders based on the created date and time
Request: