Class ClientService


  • @Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"})
    @Path("/clients")
    public class ClientService
    extends Object
    • Constructor Detail

      • ClientService

        public ClientService()
    • Method Detail

      • getSingleForm

        @GET
        @Path("/{clientUuid}/forms/{formUuid}")
        @Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"})
        public javax.ws.rs.core.Response getSingleForm​(@PathParam("clientUuid") @NotNull
                                                       @NotNull UUID clientUuid,
                                                       @PathParam("formUuid") @NotNull
                                                       @NotNull UUID formUuid)
      • getFormFiles

        @GET
        @Path("/{clientUuid}/forms/{formUuid}/files")
        public javax.ws.rs.core.Response getFormFiles​(@PathParam("clientUuid") @NotNull
                                                      @NotNull UUID clientUuid,
                                                      @PathParam("formUuid") @NotNull
                                                      @NotNull UUID formUuid,
                                                      @QueryParam("size") @DefaultValue("10")
                                                      int pageSize,
                                                      @QueryParam("page") @DefaultValue("1")
                                                      int page)
      • getSingleFormFile

        @GET
        @Path("/{clientUuid}/forms/{formUuid}/files/{fileUuid}")
        public javax.ws.rs.core.Response getSingleFormFile​(@PathParam("clientUuid") @NotNull
                                                           @NotNull UUID clientUuid,
                                                           @PathParam("formUuid") @NotNull
                                                           @NotNull UUID formUuid,
                                                           @PathParam("fileUuid") @NotNull
                                                           @NotNull UUID fileUuid)
      • downloadFormFiles

        @GET
        @Path("/{clientUuid}/forms/{formUuid}/files/download")
        @Produces({"application/vnd.xima.fc.api.rest.public+octet-stream; version=1.0; charset=utf-8","application/octet-stream; charset=utf-8"})
        public javax.ws.rs.core.Response downloadFormFiles​(@PathParam("clientUuid") @NotNull
                                                           @NotNull UUID clientUuid,
                                                           @PathParam("formUuid") @NotNull
                                                           @NotNull UUID formUuid)
      • downloadSingleAttachment

        @GET
        @Path("/{clientUuid}/forms/{formUuid}/files/{fileUuid}/download")
        @Produces({"application/vnd.xima.fc.api.rest.public+octet-stream; version=1.0; charset=utf-8","application/octet-stream; charset=utf-8"})
        public javax.ws.rs.core.Response downloadSingleAttachment​(@PathParam("clientUuid") @NotNull
                                                                  @NotNull UUID clientUuid,
                                                                  @PathParam("formUuid") @NotNull
                                                                  @NotNull UUID formUuid,
                                                                  @PathParam("fileUuid") @NotNull
                                                                  @NotNull UUID fileUuid)