Account
| API | Description |
|---|---|
| GET api/Account/GetToken |
Login rep user and get bearer token |
| GET api/Account/GetTokenMobiApp |
No documentation available. |
| GET api/Account/GetTokenCustomer |
Login customer user and get bearer token |
Rep
| API | Description |
|---|---|
| GET api/Rep/GetRep/{repCode}/{customerId}/{lastRefreshDate} |
Gets the rep details, including rep customers |
| GET api/Rep/GetRepOrders/{repCode}/{customerId}/{lastRefreshDate} |
Gets all the rep orders |
| GET api/Rep/GetGraphData/{repCode}/{lastRefreshDate} |
Gets the rep graph data |
| GET api/Rep/GetRepVisitSchedules/{userId}/{selectedDate} |
Gets all the rep schedules for the selected month |
| POST api/rep/CreatePickupNote |
Creates a new Pickup Note |
| GET api/Rep/GetSalesManager/{userId}/{lastRefreshDate} |
Gets the sales manager details |
| GET api/Rep?userId={userId}&scheduleId={scheduleId}&slatitude={slatitude}&slongitude={slongitude} |
Start a rep visit |
| GET api/Rep?userId={userId}&scheduleId={scheduleId}&elatitude={elatitude}&elongitude={elongitude} |
End a rep visit |
| GET api/Rep |
No documentation available. |
| POST api/Rep |
No documentation available. |
| GET api/Rep?identity={identity} |
No documentation available. |
MobiApp
Customer
| API | Description |
|---|---|
| GET api/Customer/GetCustomer/{lastRefreshDate} |
Gets the customer details, including customer rep details |
| GET api/Customer/GetCustomerTransactions/{lastRefreshDate} |
Gets the customer transactions (invoices only) |
| GET api/Customer/GetCustomerTransactions_CreditDebitNotes/{lastRefreshDate} |
Gets the customer Debit and Credit transactions |
| GET api/Customer/GetCustomerInvoiceTransactions/{invoiceNumber}/{lastRefreshDate} |
Gets the transactions for a selected invoice number |
| POST api/Customer/DetailsChangeRequest |
Use for Customer to request changes to their account details |
| POST api/Customer |
No documentation available. |
Order
| API | Description |
|---|---|
| GET api/Order/GetOrder/{orderId} |
Gets the order details |
| POST api/Order/PlaceOrder |
Places rep order |
| GET api/Order |
No documentation available. |
| GET api/Order?identity={identity} |
No documentation available. |
ClientOrder
| API | Description |
|---|---|
| GET api/ClientOrder/GetClientOrder?shipToLocation={shipToLocation} |
Initializes the order screen |
| POST api/ClientOrder/AddItemToOrder |
Add items to an order |
| POST api/ClientOrder/DeleteOrderItem?customerOrderItemId={customerOrderItemId} |
Deletes an item from the order |
| POST api/ClientOrder/DeleteOrder?customerOrderID={customerOrderID} |
Deletes the order |
| POST api/ClientOrder/PlaceClientOrder |
Places the order |
| GET api/ClientOrder?customerId={customerId}&shipToLocation={shipToLocation} |
No documentation available. |
Invoice
| API | Description |
|---|---|
| GET api/Invoice/{id} |
No documentation available. |