Not logged in : Login |
ODS allows to store any additional details in a user profile. This is simply done by storing the data in a private graph of the Virtuoso triple store.Clients can provide as many custom fields as required, ie. repeat the parameters below an arbitrary number of times. Alternatively custom fields can be provided in JSON format (see below for an example). property The field name. The property to store typically this is a full URL denoting the RDF property to use. It can, however, also be a simple string identifier like myCustomField. In that case ODS will use a default namespace as a prefix. Qnames will be expanded for all known prefixes. value The value of the property. By default all values are stored as strings. If the value can be converted into an integer then it is stored as such. fields A JSON stream of custom fields. This needs to be a JSON object containing simple key/value pairs (see below for an example). Example: http://web.ods.openlinksw.com/ods/api/user.udpate.customFields?property=myField&value=Foobar&property=myOtherField&value=42 JSON Example: { "myField":"Foobar", "myOtherField":42 } An error code stating the success of the command execution as detailed in ODS Error Result Codes. AuthenticationThis function requries authentication via one of the supported authentication methods as described in ODS Authentication.
Attributes | Values |
---|---|
type | |
schema:url | |
schema:httpMethod |
|
schema:contentType |
|
http://www.openlin...es#isWebServiceOf | |
http://www.openlin...vices#endPointURL | |
schema:shortDescription |
|
http://www.openlin...ices#hasParameter | |
schema:name |
|
schema:description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. This function requries authentication via one of the supported authentication methods as described in ODS Authentication. |
is schema:target of |