@Path(value="/humans")
public interface Humans
| Modifier and Type | Interface and Description |
|---|---|
static class |
Humans.GetHumansByIdResponse |
static class |
Humans.GetHumansPersonByIdResponse |
static class |
Humans.GetHumansResponse |
static class |
Humans.PutHumansByIdResponse |
| Modifier and Type | Method and Description |
|---|---|
Humans.GetHumansResponse |
getHumans(String type) |
Humans.GetHumansByIdResponse |
getHumansById(String id,
String userType) |
Humans.GetHumansPersonByIdResponse |
getHumansPersonById(String id,
String type) |
Humans.PutHumansByIdResponse |
putHumansById(String id,
Human entity) |
@GET @Produces(value="application/json") Humans.GetHumansResponse getHumans(@QueryParam(value="type") @NotNull String type)
@GET
@Path(value="/{id}")
@Produces(value="application/json")
Humans.GetHumansByIdResponse getHumansById(@PathParam(value="id")
String id,
@QueryParam(value="userType") @NotNull @Size(max=18)
String userType)
@PUT
@Path(value="/{id}")
@Consumes(value="application/json")
Humans.PutHumansByIdResponse putHumansById(@PathParam(value="id")
String id,
Human entity)
@GET
@Path(value="/person/{id}")
@Produces(value="application/json")
Humans.GetHumansPersonByIdResponse getHumansPersonById(@PathParam(value="id")
String id,
@QueryParam(value="type") @NotNull
String type)
Copyright © 2019 Mulesoft. All rights reserved.