Not logged in : Login |
Manually synchonizes a addressbook subscription created with addressbook.subscription.new(). This is required if the subscription has been configured to be manually updated. However, it can also be used to force an update on subscriptions with a scheduled update interval.
subscription_id
The numerical id of the subscription to update.
An error code stating the success of the command execution as detailed in ODS Error Result Codes.
addressbook.subscription.new
Example:
$ curl -i "http://kingsley.idehen.net/ods/api/addressbook.subscription.sync?subscription_id=2222&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB
Connection: Keep-Alive
Date: Tue, 24 May 2011 22:40:59 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
type | |
Description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. $ curl -i "http://kingsley.idehen.net/ods/api/addressbook.subscription.sync?subscription_id=2222&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 22:40:59 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result> <code>1</code> <message>Success</message> </result> |
name |
|
url | |
contentType |
|
httpMethod |
|
isWebServiceOf | |
oplwebservices:endPointURL | |
hasParameter | |
schema:shortDescription |
|
is target of |