@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class CustomersApi extends Object
| Constructor and Description |
|---|
CustomersApi() |
CustomersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
customersCustomeridLinkedpeopleIdDelete(String customerid,
String id)
Delete a person linked to a customer
|
CustomersList |
customersGet(Boolean currentMembers,
Boolean currentNonMembers,
Date createdSince,
String searchField,
String searchText,
Integer itemsPerPage,
String pageNavigationToken,
Integer pageNumber)
Retrieve customers
Get a list of customers.
|
void |
customersIdAuthenticateGet(String id,
String password)
Check a customer's password
The customer's email address is the \"username\" used by Bookeo to authenticate customers.\n So to authenticate a customer your application would typically use GET /customers to search for customers with a given email address, and then GET /customers/{id}/authenticate to authenticate.\n Remember that there may be duplicate customer records with the same email address, ex.
|
BookingsList |
customersIdBookingsGet(String id,
Date beginDate,
Date endDate,
Boolean expandParticipants,
Integer itemsPerPage,
String pageNavigationToken,
Integer pageNumber)
Retrieve a customer's bookings
Get a customer's bookings.
|
void |
customersIdDelete(String id)
Delete a customer
Delete a customer.\n Please note it is not possible to delete customers that have bookings in the future, and that are not cancelled.\n If your application needs to delete a customer with future bookings, make sure to cancel all future bookings for that customer first.
|
Customer |
customersIdGet(String id)
Retrieve a customer
Retrieve a customer by its id
|
LinkedPersonList |
customersIdLinkedpeopleGet(String id,
Integer itemsPerPage,
String pageNavigationToken,
Integer pageNumber)
Get the people linked to a customer
|
void |
customersIdPut(Customer customer,
String id)
Update an existing customer
|
void |
customersPost(Customer customer)
Create a new customer
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public CustomersApi()
public CustomersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public CustomersList customersGet(Boolean currentMembers, Boolean currentNonMembers, Date createdSince, String searchField, String searchText, Integer itemsPerPage, String pageNavigationToken, Integer pageNumber) throws ApiException
currentMembers - if true, include customers that are current members. this is the defaultcurrentNonMembers - if true, include customers that are not current members. this is the defaultcreatedSince - if present, only include customers created since the given timesearchField - a field on which to apply the search filter. Used only if searchText is specifiedsearchText - the text to search for. If not present, all customers are returneditemsPerPage - number of items per page.\nmaximum: 100pageNavigationToken - if present, continues navigation after a previous call. pageNavigationToken is included in the response of the first call, if there are more results than itemsPerPagepageNumber - ApiExceptionpublic void customersPost(Customer customer) throws ApiException
customer - ApiExceptionpublic void customersCustomeridLinkedpeopleIdDelete(String customerid, String id) throws ApiException
customerid - id - ApiExceptionpublic Customer customersIdGet(String id) throws ApiException
id - ApiExceptionpublic void customersIdPut(Customer customer, String id) throws ApiException
customer - id - ApiExceptionpublic void customersIdDelete(String id) throws ApiException
id - ApiExceptionpublic void customersIdAuthenticateGet(String id, String password) throws ApiException
id - password - remember to use URL encodingApiExceptionpublic BookingsList customersIdBookingsGet(String id, Date beginDate, Date endDate, Boolean expandParticipants, Integer itemsPerPage, String pageNavigationToken, Integer pageNumber) throws ApiException
id - beginDate - if specified, only bookings on or after this date will be includedendDate - if specified, only bookings on or before this date will be includedexpandParticipants - if true, full details of the participants are included (provided the application has read permission over the participant)itemsPerPage - .\nmaximum: 100pageNavigationToken - pageNumber - ApiExceptionpublic LinkedPersonList customersIdLinkedpeopleGet(String id, Integer itemsPerPage, String pageNavigationToken, Integer pageNumber) throws ApiException
id - itemsPerPage - maximum: 100pageNavigationToken - pageNumber - ApiExceptionCopyright © 2015. All rights reserved.