CONTACT AND GROUP FUNCTIONS
Example
1
POST /ffws/v1/contact_groups/admin HTTP/1.1
2
content-type: application/xml
3
authorization: Basic YWRtaW46YWRtaW4=
4
<?xml
version="1.0" encoding="UTF-8"?>
5
<contact_group>
6
<name>New Group from API</name>
7
<description>Can I create one from the API</description>
8
<contact>https://dot3/ffws/v1/contacts/admin/23</contact>
9
<contact>https://dot3/ffws/v1/contacts/admin/24</contact>
10
<contact>https://dot3/ffws/v1/contacts/admin/25</contact>
11
<contact>https://dot3/ffws/v1/contacts/admin/26</contact>
12
</contact_group>
13
----------------------
14
<?xml
version="1.0" encoding="UTF-8"?>
15
<response>
16
<message>Created</message>
17
<contact_group>
18
<contact_group_url>https://dot3/ffws/v1/contact_groups/admin/14</contact_group_url>
19
<name>New Group from API</name>
20
<description>Can I create one from the API</description>
21
<contact>https://dot3/ffws/v1/contacts/admin/23</contact>
22
<contact>https://dot3/ffws/v1/contacts/admin/24</contact>
23
<contact>https://dot3/ffws/v1/contacts/admin/25</contact>
24
<contact>https://dot3/ffws/v1/contacts/admin/26</contact>
25
</contact_group>
26
</response>
Editing Groups
HTTP Request
Line
HTTP Response
Status Codes
19
PUT /ffws/v1/contact_groups/USERNAME/id HTTP/1.1
200 OK
Modified successfully.
403 Forbidden
Authenticated user does not have permission to change data
associated with username.
404 Not Found
No user found with that username.
400 Bad Request
The provided XML is not valid.
FaxFinder Web Services API Developer Guide