A set of medical sampling parts for use with an endoscope or catheter for sampling of bodily fluids and/or bodily tissue, the endoscope or catheter having a suction channel and a suction connector in fluid connection with said suction channel, the set of medical sampling parts comprising: a sampling device including a suction inlet for connection to a suction connector of the endoscope or catheter, and a suction outlet for connection to a vacuum source; a sample container including a separator part located at a top of the sample container, a base located at a bottom of the sample container opposite of said top, and a container part at least partly enclosing a sample volume located at the bottom of the sample container, so that a container axis extends between said separator part and said base; and a connector for connecting the sampling device with the sample container, wherein the set of medical sampling parts has an assembled state, in which the sampling device and the sample container are attached to each other by means of said connector, and a detached state, in which the sample container is detached from the sampling device; wherein the sample container in said assembled state can be detached from the sampling device by a translational movement of the sample container along a detachment axis to bring the set of medical sampling parts to said detached state, whereby a smallest angle between said container axis and said detachment axis is equal to or greater than 45 degrees; and wherein in said assembled state, a first fluid connection is established between said sample container and said suction inlet, and a second fluid connection is established between said sample container and suction outlet, so that, when a sampling fluid comprising liquid and gas enters the sample container via the first fluid connection, the sampling fluid can be separated in the separator part of the sample container by discharging liquid of the sampling fluid into said sample volume and by discharging the gas of the sampling fluid via said second fluid connection; characterized in that the sampling device is made of or comprises a rigid material, so that, when in said assembled state and the sampling device is connected to the endoscope or catheter, the sampling device establishes a rigid connection between the sample container and the endoscope or catheter. a sampling device including a suction inlet for connection to a suction connector of the endoscope or catheter, and a suction outlet for connection to a vacuum source; a sample container including a separator part located at a top of the sample container, a base located at a bottom of the sample container opposite of said top, and a container part at least partly enclosing a sample volume located at the bottom of the sample container, so that a container axis extends between said separator part and said base; and a connector for connecting the sampling device with the sample container, wherein the set of medical sampling parts has an assembled state, in which the sampling device and the sample container are attached to each other by means of said connector, and a detached state, in which the sample container is detached from the sampling device; wherein the sample container in said assembled state can be detached from the sampling device by a translational movement of the sample container along a detachment axis to bring the set of medical sampling parts to said detached state, whereby a smallest angle between said container axis and said detachment axis is equal to or greater than 45 degrees; and wherein in said assembled state, a first fluid connection is established between said sample container and said suction inlet, and a second fluid connection is established between said sample container and suction outlet, so that, when a sampling fluid comprising liquid and gas enters the sample container via the first fluid connection, the sampling fluid can be separated in the separator part of the sample container by discharging liquid of the sampling fluid into said sample volume and by discharging the gas of the sampling fluid via said second fluid connection; characterized in that the sampling device is made of or comprises a rigid material, so that, when in said assembled state and the sampling device is connected to the endoscope or catheter, the sampling device establishes a rigid connection between the sample container and the endoscope or catheter.