URI | Method | Notes |
/contacts | GET | Get all contacts. This should not be done if you have many contacts. |
/contacts | POST | Create a new contact. You need to supply the contact information as either XML or json. |
/contacts/count | GET | Get total number of contacts. |
/contacts/{id} | GET | Retrieve the information about a single contact på the identifier. |
/contacts/{id} | PUT | Update a single contact defined by the identifier. You need to supply the contact information as either XML or json. |
/contacts/{id} | DELETE | Delete a single contact defined by the identifier. |
/contacts/phonenumber/{number} | GET | Get contact with specified phone number (exact match). |
/contacts/search/{text} | GET | Used to search for contacts. Searches in fields firstname, lastname, description, description2, description3, email, and phonenumber. You can provide multiple search terms, separated by space (%20). Contacts will then need to match on all provided terms. |