Skip to content

Commit 7ce2efe

Browse files
committedOct 30, 2014
Incremented version and updated Readme with new methods documentation
1 parent 2a896f8 commit 7ce2efe

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
 

‎README.md

+14
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,25 @@ Now the available API calls can be done using the instance. All the result from
4848

4949
**Please refer to [https://developers.supportbee.com/api](https://developers.supportbee.com/api) for avaialble parameter details.**
5050

51+
Incase of multiple paramters : Pass as an associative array.
52+
All method names follow Camel Casing.
53+
5154

5255
### Ticket
5356
1. *tickets* - Returns 15 tickets of the company in the order of their last activity. Only tickets that are not archived are returned (please see optional parameters to get archived tickets).
5457
2. *ticket* - Retrieves the ticket specified by the id.
5558
3. *searchTickets* - Returns 15 tickets of the company in the order of their last activity matching the search query.
59+
4. *createTickets* - Creates a ticket for the company. Pass the information for ticket as associative array.
60+
5. *deleteTicket* - Deletes a trashed ticket. Only Admins can delete a trashed ticket.
61+
6. *archiveTicket* - Archives an unarchived ticket.
62+
7. *unarchiveTicket* - Un-archives an archived ticket.
63+
8. *assignTicket* - Assign a ticket to a User or Group. The first paramter is the ticket id. The second paramter is an associative arry with index as user_id if the ticket is to be assigned to an user and group_id if the ticket is to be assigned to a group.
64+
9. *starTicket* - Stars an un-starred ticket.
65+
10. *unstarTicket* - Un-stars a starred ticket.
66+
11. *spamTicket* - Spam's an un-spammed ticket.
67+
12. *unspamTicket* - Un-spam a spammed ticket.
68+
13. *trashTicket* - Trashes an un-trashed ticket.
69+
14. *untrashTicket* - Un-trashes a trashed ticket.
5670

5771
### Reply
5872
1. *replies* - Retrieves all the replies of the ticket with id ticket_id.

‎src/SupportBee/SupportBee.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class SupportBee
2121
{
22-
const VERSION = '0.0.1';
22+
const VERSION = '0.0.2';
2323
const BASE = 'https://COMPANY.supportbee.com/';
2424

2525
public static $base_url = null;

0 commit comments

Comments
 (0)