Class FormRecordChatService


  • @Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"})
    @Path("/form-record-chats")
    @FcSecurity(authorizers="isFullyAuthenticated")
    public class FormRecordChatService
    extends Object
    Service for accessing form record chat resources via the REST API.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FormRecordChatService

        public FormRecordChatService()
    • Method Detail

      • getChats

        @GET
        public javax.ws.rs.core.Response getChats​(@QueryParam("size") @DefaultValue("10")
                                                  int pageSize,
                                                  @QueryParam("page") @DefaultValue("1")
                                                  int page,
                                                  @Pac4JProfile
                                                  org.pac4j.core.profile.CommonProfile profile)
      • getSingleChat

        @GET
        @Path("/{chatUuid}")
        public javax.ws.rs.core.Response getSingleChat​(@PathParam("chatUuid")
                                                       UUID chatUuid,
                                                       @Pac4JProfile
                                                       org.pac4j.core.profile.CommonProfile profile)
      • getChatMessages

        @GET
        @Path("/{chatUuid}/messages")
        public javax.ws.rs.core.Response getChatMessages​(@PathParam("chatUuid")
                                                         UUID chatUuid,
                                                         @QueryParam("size") @DefaultValue("10")
                                                         int pageSize,
                                                         @QueryParam("page") @DefaultValue("1")
                                                         int page,
                                                         @Pac4JProfile
                                                         org.pac4j.core.profile.CommonProfile profile)
      • postChatMessage

        @POST
        @Path("/{chatUuid}/messages")
        public javax.ws.rs.core.Response postChatMessage​(@PathParam("chatUuid")
                                                         UUID chatUuid,
                                                         @NotNull @Valid
                                                         @NotNull @Valid FormRecordMessageRequest formRecordMessageRequest,
                                                         @Pac4JProfile
                                                         org.pac4j.core.profile.CommonProfile profile)