(Originally posted on 5, February 2014)
We would like to create / update custom fields via the API to provide us with better integration into our other systems.
(Originally posted on 17, March 2014)
You can update and retrieve data in custom fields via the API. The following is an example of how to update a custom field for a phone extension using Curl via the command line (but you can use any Rest client):
curl --digest -u "Email:Password" -d "<user><custom_field><Extension>1004</Extension></custom_field></user>" -H "Accept: application/xml" -H "Content-Type:text/xml" -X PUT https://api.samanage.com/users/User_ID.xml
If you do not know the User ID, it can be found here: https://api.samanage.com/users.xml.
Retrieving data ...