@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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
Gives Identity from a customerID
|
javax.ws.rs.core.Response |
getUpdatedIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchRequest updatedIdentitySearchRequest,
String strHeaderClientAppCode,
String authorName,
String authorType,
String strHeaderAppCode)
Gives all modified identity CUIDs according to given request.
|
javax.ws.rs.core.Response |
importMediationIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChangeRequest,
String clientCode,
String authorName,
String authorType,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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@POST
@Path(value="/updated")
@Produces(value="application/json")
public javax.ws.rs.core.Response getUpdatedIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchRequest updatedIdentitySearchRequest,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
updatedIdentitySearchRequest - the requeststrHeaderClientAppCode - 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,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
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.