Creating a Sample for Patient in Senaite Health using JSONAPI

Hi,

I am trying to create a sample for a patient using the JSONAPI but I have not had any success with it. I am able to create the sample using the example provided in the JSONAPI documentation but unable to attach a patient to the sample create or even the analysis service to be provided.

I will be grateful for any advice how to achieve this.