@Path(value="/rest/identitystore/api/v{version}/servicecontracts")
public class ServiceContractRest
extends Object
| Constructor and Description |
|---|
ServiceContractRest() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createServiceContract(String name,
String application_code,
String organizational_entity,
String responsible_name,
String contact_name,
String service_type,
String authorized_read,
String authorized_deletion,
String authorized_search,
String authorized_import,
String authorized_export,
Integer nVersion)
Create ServiceContract
|
javax.ws.rs.core.Response |
deleteServiceContract(Integer nVersion,
Integer id)
Delete ServiceContract
|
javax.ws.rs.core.Response |
getServiceContract(Integer nVersion,
Integer id)
Get ServiceContract
|
javax.ws.rs.core.Response |
getServiceContractList(Integer nVersion)
Get ServiceContract List
|
javax.ws.rs.core.Response |
modifyServiceContract(Integer id,
String name,
String application_code,
String organizational_entity,
String responsible_name,
String contact_name,
String service_type,
String authorized_read,
String authorized_deletion,
String authorized_search,
String authorized_import,
String authorized_export,
Integer nVersion)
Modify ServiceContract
|
@GET
@Path(value="")
@Produces(value="application/json")
public javax.ws.rs.core.Response getServiceContractList(@PathParam(value="version")
Integer nVersion)
nVersion - the API version@POST
@Path(value="")
@Produces(value="application/json")
public javax.ws.rs.core.Response createServiceContract(@FormParam(value="name")
String name,
@FormParam(value="application_code")
String application_code,
@FormParam(value="organizational_entity")
String organizational_entity,
@FormParam(value="responsible_name")
String responsible_name,
@FormParam(value="contact_name")
String contact_name,
@FormParam(value="service_type")
String service_type,
@FormParam(value="authorized_read")
String authorized_read,
@FormParam(value="authorized_deletion")
String authorized_deletion,
@FormParam(value="authorized_search")
String authorized_search,
@FormParam(value="authorized_import")
String authorized_import,
@FormParam(value="authorized_export")
String authorized_export,
@PathParam(value="version")
Integer nVersion)
nVersion - the API versionname - the nameapplication_code - the application_codeorganizational_entity - the organizational_entityresponsible_name - the responsible_namecontact_name - the contact_nameservice_type - the service_typeauthorized_read - the authorized_readauthorized_deletion - the authorized_deletionauthorized_search - the authorized_searchauthorized_import - the authorized_importauthorized_export - the authorized_export@PUT
@Path(value="/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response modifyServiceContract(@PathParam(value="id")
Integer id,
@FormParam(value="name")
String name,
@FormParam(value="application_code")
String application_code,
@FormParam(value="organizational_entity")
String organizational_entity,
@FormParam(value="responsible_name")
String responsible_name,
@FormParam(value="contact_name")
String contact_name,
@FormParam(value="service_type")
String service_type,
@FormParam(value="authorized_read")
String authorized_read,
@FormParam(value="authorized_deletion")
String authorized_deletion,
@FormParam(value="authorized_search")
String authorized_search,
@FormParam(value="authorized_import")
String authorized_import,
@FormParam(value="authorized_export")
String authorized_export,
@PathParam(value="version")
Integer nVersion)
nVersion - the API versionid - the idname - the nameapplication_code - the application_codeorganizational_entity - the organizational_entityresponsible_name - the responsible_namecontact_name - the contact_nameservice_type - the service_typeauthorized_read - the authorized_readauthorized_deletion - the authorized_deletionauthorized_search - the authorized_searchauthorized_import - the authorized_importauthorized_export - the authorized_export@DELETE
@Path(value="/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteServiceContract(@PathParam(value="version")
Integer nVersion,
@PathParam(value="id")
Integer id)
nVersion - the API versionid - the id@GET
@Path(value="/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getServiceContract(@PathParam(value="version")
Integer nVersion,
@PathParam(value="id")
Integer id)
nVersion - the API versionid - the idCopyright © 2023 City of Paris. All rights reserved.