Editing Contacts

HTTP Request Line

PUT /ffws/v1/contacts/USERNAME/id HTTP/1.1

HTTP Response Status Codes

200 OK

Modified successfully.

403 Forbidden

Authenticated user does not have permission to change data.

404 Not Found

No user found with that username.

400 Bad Request

The provided XML is not valid.


PUT /ffws/v1/contacts/admin/6 HTTP/1.1
content-type: application/xml
authorization: Basic YWRtaW46YWRtaW4=
<?xml version=”1.0” encoding=”UTF-8”?>
	<name>Change Name</name>
	<organization>Some org</organization>
HTTP/1.1 200 OK
content-type: application/xml
<?xml version=”1.0” encoding=”UTF-8”?>