API Documentation Contents
sync_user
Syncs your API's repository with DandyId's main repository.
By syncing the user's information can be cross-pollinated with other web services that the user has authorized to sync.
NOTE: if you are using this call in conjunction with service_collection_widget you can pass the result into window.handle_sync_results_dandyid() to update the widget's user interface.
Request URL: GET
http://www.dandyId.org/api/sync_user/{api_key}/{user_identifier}
GET Request parameters
Request URL: GET
http://www.dandyId.org/api/sync_user/{api_key}/{user_identifier}
GET Request parameters
| Parameter | Type | Description |
| api_key | string (required) | Your api key |
| user_identifier | string (required) | Can be either an MD5 hashed email address or dandyId user id |
POST parameters
For security purposes sync_user requires that you pass the user's email address, password and your api_token via the POST method.
| Parameter | Type | Description |
| api_token | string (required) | Your api token. DO NOT SHARE THIS OR POST IN VIEWABLE SOURCE! |
| email_address | string (required) | Email address associated with the user's DandyId account that you want to sync with! |
| password | string (required) | Password associated with the user's DandyId account that you want to sync with! |
Values Returned as XML
| Parameter | Type | Description |
| result | string | If sync is successful "true" will be returned. If sync fail you will receive an XML formated error. |
