@Path(value="/rest/crm/user/") public class CRMUserAttributesRest extends Object
| Constructor and Description |
|---|
CRMUserAttributesRest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCRMUserAttribute(String strUserGuid,
String strAttribute)
Get the CRMUser attribute value
|
String |
getCRMUserAttributes(String strUserGuid,
String strMediaType)
Get the CRMUser attributes in XML or demand JSON depending the value of strMediaType
|
String |
getCRMUserAttributesJson(String strUserGuid)
Get the CRMUser attributes in JSON
|
String |
getCRMUserAttributesXml(String strUserGuid)
Get the CRMUser attributes in XML
|
String |
getUserGuidFromIdCRMUser(String strIdCRMUser)
Get the user guid from a given id crm user
|
@GET
@Path(value="{user_guid}")
public String getCRMUserAttributes(@PathParam(value="user_guid")
String strUserGuid,
@QueryParam(value="media_type")
String strMediaType)
strMediaType - the media type selected@GET
@Path(value="{user_guid}")
@Produces(value="application/xml")
public String getCRMUserAttributesXml(@PathParam(value="user_guid")
String strUserGuid)
strUserGuid - the user guid@GET
@Path(value="{user_guid}")
@Produces(value="application/json")
public String getCRMUserAttributesJson(@PathParam(value="user_guid")
String strUserGuid)
strUserGuid - the user guid@GET
@Path(value="{user_guid}/{attribute}")
@Produces(value="text/plain")
public String getCRMUserAttribute(@PathParam(value="user_guid")
String strUserGuid,
@PathParam(value="attribute")
String strAttribute)
strUserGuid - the user guidstrAttribute - the attributeCopyright © 2018 City of Paris. All rights reserved.