Getting Users - ACS - Reference Guides

ACS Integration Guide

Product
ACS
AFS_Version
7.9
Category
Reference Guides
language
English
audience
public

To get a user from the CKS instance community, a CKS user must use the GET method on the user resource.

WADL file

Resource

Method

user.wadl

/cks/instance/<service_id>-${Service_Status}/user/
{user_id}

GET

The following example shows how to get the data for a specific user.

The request line is:

GET /cks/instance/<service_id>-${Service_Status}/user/12?afs:login=login://user1:@Antidot

The reply body is:

<value xsi:type="ws.response" xmlns="antidot:cks:output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<result xsi:type="cks.ws.user" reference="/cks/instance/<service_id>-${Service_Status}/user/12">
<id>12</id>
<hidden>false</hidden>
<tracker>
<creationDate xsi:type="date-time"
timestamp="1281354110105">
2010-08-09T13:41:50+02:00
</creationDate>
<creator xsi:type="cks.ws.user"
partial="true" reference=
"/cks/instance/<service_id>-${Service_Status}/user/2"/>
<modificationDate xsi:type="date-time"
timestamp="1281354110105">
2010-08-09T13:41:50+02:00
</modificationDate>
<modifier xsi:type="cks.ws.user"
partial="true"
reference="/cks/instance/<service_id>-${Service_Status}/user/2"></modifier>
</tracker>
<lastName>Einstein</lastName>
<firstName>Albert</firstName>
<sex>MASCULIN</sex>
<title>Herr</title>
<email>albert.einstein@olympia.de</email>
<language >de</language>
<country>deutschland</country>
<login>aeinstein</login>
<annotations type="collection">
<annotation type="common.annotation.string">
<name>city</name>
<values>
<value>Ulm</value>
</values>
</annotation>
</annotations>
</result>
</value>