Class WarehousingAsnsController

    • Constructor Detail

      • WarehousingAsnsController

        public WarehousingAsnsController()
    • Method Detail

      • createAsn

        @Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"})
        @RequestMapping(method=POST,
                        produces={"application/json","application/xml"},
                        consumes={"application/json","application/xml"})
        @ResponseStatus(CREATED)
        @ResponseBody
        public AsnWsDTO createAsn​(@RequestBody
                                  AsnWsDTO asnWsDTO,
                                  @RequestParam(required=false,defaultValue="DEFAULT")
                                  java.lang.String fields)
                           throws WebserviceValidationException
        Request to create a AdvancedShippingNoticeModel in the system
        Parameters:
        fields - defaulted to DEFAULT but can be FULL or BASIC
        asnWsDTO - object representing AsnWsDTO
        Returns:
        created AsnData
        Throws:
        WebserviceValidationException
      • confirmAsnReceipt

        @Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"})
        @RequestMapping(value="{internalId}/confirm-receipt",
                        method=POST,
                        consumes={"application/xml","application/json"},
                        produces={"application/json","application/xml"})
        @ResponseStatus(OK)
        @ResponseBody
        public AsnWsDTO confirmAsnReceipt​(@PathVariable @NotNull
                                          @NotNull java.lang.String internalId,
                                          @RequestParam(required=false,defaultValue="DEFAULT")
                                          java.lang.String fields)
        Request to confirm receipt of AsnWsDTO
        Parameters:
        internalId - AdvancedShippingNoticeModel.INTERNALID for the AdvancedShippingNoticeModel to be confirmed
      • cancelAsn

        @Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"})
        @RequestMapping(value="{internalId}/cancel",
                        method=POST,
                        consumes={"application/xml","application/json"},
                        produces={"application/json","application/xml"})
        @ResponseStatus(ACCEPTED)
        @ResponseBody
        public AsnWsDTO cancelAsn​(@PathVariable @NotNull
                                  @NotNull java.lang.String internalId,
                                  @RequestParam(required=false,defaultValue="DEFAULT")
                                  java.lang.String fields)
        Request to cancel an AsnWsDTO
        Parameters:
        internalId - AdvancedShippingNoticeModel.INTERNALID for the AdvancedShippingNoticeModel to be cancelled