@Path(value="/rest/identitystore/v3/identity") public final class IdentityStoreRestService extends Object
| Constructor and Description |
|---|
IdentityStoreRestService()
private constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String applicationCode)
Creates an identity.
The identity is created from the provided attributes in IdentityChangeRequest.The attributes are created if their characteristics match the definition given into the active service contract associated to the client application. |
javax.ws.rs.core.Response |
deleteIdentity(String strConnectionId,
String strHeaderClientAppCode,
String strQueryClientAppCode)
Deletes an identity from the specified connectionId
|
javax.ws.rs.core.Response |
fullIndex(String strHeaderClientAppCode)
Searches Identities from a list of values for a series of attributes
|
javax.ws.rs.core.Response |
getIdentity(String strCustomerId,
String strHeaderClientAppCode)
Gives Identity from a customerID
|
javax.ws.rs.core.Response |
importMediationIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String applicationCode)
Import an identity from mediation website.
The identity is created from the provided attributes in IdentityChangeRequest.The attributes are created if their characteristics match the definition given into the active service contract associated to the client application. |
javax.ws.rs.core.Response |
mergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest,
String applicationCode)
Merge two identities.
|
javax.ws.rs.core.Response |
searchIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
String strHeaderClientAppCode)
Searches Identities from a list of values for a series of attributes
|
javax.ws.rs.core.Response |
updateIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String strCustomerId,
String applicationCode)
update identity method
|
@GET
@Path(value="{customer_id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getIdentity(@PathParam(value="customer_id")
String strCustomerId,
@HeaderParam(value="client_code")
String strHeaderClientAppCode)
strCustomerId - customerIDstrHeaderClientAppCode - client code@POST
@Path(value="/search")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response searchIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
@HeaderParam(value="client_code")
String strHeaderClientAppCode)
strHeaderClientAppCode - client code@POST
@Path(value="index")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response fullIndex(@HeaderParam(value="client_code")
String strHeaderClientAppCode)
strHeaderClientAppCode - client code@POST
@Consumes(value="application/json")
public javax.ws.rs.core.Response createIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
@HeaderParam(value="client_code")
String applicationCode)
IdentityChangeRequest.identityChangeRequest - the identity creation requestapplicationCode - the application code in the HTTP headerIdentityChangeResponse@PUT
@Path(value="{customer_id}")
@Consumes(value="application/json")
public javax.ws.rs.core.Response updateIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
@PathParam(value="customer_id")
String strCustomerId,
@HeaderParam(value="client_code")
String applicationCode)
identityChangeRequest - the identity update requestapplicationCode - the header client app code@POST
@Path(value="/merge")
@Consumes(value="application/json")
public javax.ws.rs.core.Response mergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest,
@HeaderParam(value="client_code")
String applicationCode)
identityMergeRequest - the identity merge requestapplicationCode - the application code in the HTTP headerIdentityChangeResponse@DELETE
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteIdentity(@QueryParam(value="connection_id")
String strConnectionId,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@QueryParam(value="client_code")
String strQueryClientAppCode)
strConnectionId - the connection IDstrHeaderClientAppCode - the client code from headerstrQueryClientAppCode - the client code from query@POST
@Path(value="/import")
@Consumes(value="application/json")
public javax.ws.rs.core.Response importMediationIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
@HeaderParam(value="client_code")
String applicationCode)
IdentityChangeRequest.identityChangeRequest - the identity creation requestapplicationCode - the application code in the HTTP headerIdentityChangeResponseCopyright © 2023 City of Paris. All rights reserved.