Overview
Excerpt |
---|
This method returns a list of prebooks with their corresponding details. |
Request
https://api.kometsales.com/api/prebook.details.list
- Method: GET
- Content-Type: URL Params
Input parameters:
- authenticationToken (required): Komet Sales security token.
- date (required) (date): prebook truck date (date format YYYY-MM-DD).
- prebook (optional)(integer:10): prebook number.
- customer (optional)(string:200): customer name or code. You can obtain this value from the customer.list API method.
- customerId (optional)(integer:20): customer Komet Sales internal ID. You can obtain this value from the customer.list API method.
- carrierName (optional) (string:200): carrier name.
- carrierId (optional)(integer:20): carrier ID. You can obtain this value from the carrier.list API method.
- salesPersonId (optional)(integer:20): customer's sales person ID.
- soNumber (optional)(integer:20): standing order number.
- customerPONumber (string)(integer:20): customer PO number.
- locationId (optional)(integer:20): location Komet Sales internal ID.
- brandId (optional)(integer:20): vendor Komet Sales internal brand ID.
Filtering by prebook, date, customerId, carrierId, salesPersonId,locationId, brandId, soNumber and customerPONumber uses an exact match.
Filtering by customer and carrier uses a "LIKE" expression.
Filters are not case sensitive.
Using a vendor token, the system will return only the items associated to the vendor logged authenticated and the customer information will not be displayed nor sales prices.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
https://api.kometsales.com/api/prebook.details.list?authenticationToken=token_info_goes_here&date=2015-02-10 |
Response
Output:
theme | Confluence |
---|---|
language | js |
title | Output Sample |