@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 clientCode,
String authorName,
String authorType)
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(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String strCustomerId,
String strClientCode,
String authorName,
String authorType)
Delete request for an identity from the specified CustomerId The identity will be marked as expired, for the deletion Deamon.
|
javax.ws.rs.core.Response |
getIdentity(String strCustomerId,
String strHeaderClientAppCode,
String strHeaderAuthorName,
String strHeaderAuthorType)
Gives Identity from a customerID
|
javax.ws.rs.core.Response |
getUpdatedIdentities(String strDays,
String strHeaderClientAppCode,
String authorName,
String authorType)
Gives all modified identity CUIDs within the last given number of days
|
javax.ws.rs.core.Response |
importMediationIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String clientCode,
String authorName,
String authorType)
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 clientCode,
String authorName,
String authorType)
Merge two identities.
|
javax.ws.rs.core.Response |
searchIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
String strHeaderClientAppCode,
String authorName,
String authorType)
Searches Identities from a list of values for a series of attributes
|
javax.ws.rs.core.Response |
uncertifyIdentity(String strCustomerId,
String clientCode,
String authorName,
String authorType)
uncertify identity method
|
javax.ws.rs.core.Response |
unmergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest,
String clientCode,
String authorName,
String authorType)
Cancel the merge of two identities.
|
javax.ws.rs.core.Response |
updateIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String strCustomerId,
String clientCode,
String authorName,
String authorType)
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,
@HeaderParam(value="author_name")
String strHeaderAuthorName,
@HeaderParam(value="author_type")
String strHeaderAuthorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strCustomerId - customerIDstrHeaderClientAppCode - client codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@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,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strHeaderClientAppCode - client codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@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 clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IdentityChangeRequest.identityChangeRequest - the identity creation requestclientCode - the application code in the HTTP headerIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@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 clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityChangeRequest - the identity update requestclientCode - the header client app codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@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 clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityMergeRequest - the identity merge requestclientCode - the client code in the HTTP headerIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@POST
@Path(value="/unmerge")
@Consumes(value="application/json")
public javax.ws.rs.core.Response unmergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest,
@HeaderParam(value="client_code")
String clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityMergeRequest - the identity merge requestclientCode - the client code in the HTTP headerIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@DELETE
@Path(value="{customer_id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
@PathParam(value="customer_id")
String strCustomerId,
@HeaderParam(value="client_code")
String strClientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strCustomerId - strClientCode - fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@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 clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IdentityChangeRequest.identityChangeRequest - the identity creation requestclientCode - the client application code in the HTTP headerIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@GET
@Path(value="/updated")
@Produces(value="application/json")
public javax.ws.rs.core.Response getUpdatedIdentities(@QueryParam(value="days")
String strDays,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strDays - max number of days since the last updatestrHeaderClientAppCode - client codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@PUT
@Path(value="/uncertify/{customer_id}")
@Consumes(value="application/json")
public javax.ws.rs.core.Response uncertifyIdentity(@PathParam(value="customer_id")
String strCustomerId,
@HeaderParam(value="client_code")
String clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
clientCode - the header client app codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2023 City of Paris. All rights reserved.