PUT /api/external_systems/:external_system_id

update an external system for the authenticated reach admin

Success Response Code: 200

Params

Param name Description
external_system
optional

Value: Must be a Hash
external_system[name]
required

name of the external_system


Value: Must be a String
external_system[description]
optional

description of external_system


Value: Must be a String
external_system[url]
required

the system url of the external_system


Value: Must be a String
external_system[not_in_company_stream]
optional

exclude this system's messages from Company Stream


Value: Must be one of: <code>true</code>, <code>false</code>.
external_system[external_system_type]
optional

system type (default=html)


Value: Must be one of: <code>html</code>, <code>sharepoint</code>, <code>google_gadget</code>.
external_system[sharepoint_version]
optional

available only if external_system_type is sharepoint


Value: Must be one of: <code>2007</code>, <code>2010</code>.

Response Fields

external_system see "GET /api/external_systems/:external_system_id" for documentation external_system

Example Curl Commands

#Update external_system to name "Socialcast Developers" and url http://w.com
curl -X PUT -d "external_system[name]=Socialcast%20Developers&external_system[url]=http%3A%2F%2Fw.com" -v --basic -u "adminuser@socialcast.com:adminuser" http://demo.socialcast.com/api/external_systems/12.json
#Update profile photo with an image from an url
curl -X PUT -F "external_system[profile_photo_url]=http://www.socialcast.com/sites/default/files/Logos/logo.png" -v --basic -u "adminuser@socialcast.com:adminuser" https://demo.socialcast.com/api/external_systems/12.json
#Update profile photo with a local image
curl -X PUT -F "external_system[profile_photo][data]=@./socialcast.png" -v --basic -u "adminuser@socialcast.com:adminuser" https://demo.socialcast.com/api/external_systems/12.json
#Update external_system with 2007 sharepoint
curl -X PUT -d "external_system[external_system_type]=sharepoint&external_system[sharepoint_version]=2007" -v --basic -u "adminuser@socialcast.com:adminuser" https://demo.socialcast.com/api/external_systems/12.json