API Documentation Contents
update_service
Updates, adds or removes a service identifier associated with a specific user.
Use this call to push a user's service identifier to the DandyId database. A push is done via and MD5 hashed email address, so integration with your existing users is a snap. Also, your api token is required via the POST method to verify your service is making the update.
Request URL: GET
http://www.dandyId.org/api/update_service/{api_key}/{user_identifier}/{svcId}/{usrSvcId}
GET Request parameters
Request URL: GET
http://www.dandyId.org/api/update_service/{api_key}/{user_identifier}/{svcId}/{usrSvcId}
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 |
| svcId | string (required) | Id of the service on dandyId (one word all lowercase). |
| usrSvcId | string (optional) | Unique username or other identifier of the user for corresponding service. IF LEFT BLANK THE SERVICE WILL BE REMOVED IF IT EXISTS! |
POST parameters
For security purposes update_service requires that you pass 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! |
Values Returned as XML
| Parameter | Type | Description |
| svcId | string | Id of the service on dandyId (one word all lowercase). |
| usrSvcId | string (required) | Unique username or other identifier of the user for corresponding service. |
