POST api/Samples/GetSampleHistory

Documentation for 'GetSampleHistory'.

Request Information

Parameters

NameDescriptionAdditional information
sample
Documentation for 'sample'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SampleUID": "sample string 1",
  "ActionDate": "2025-01-07T15:01:46.6421446+01:00",
  "ReferenceUser": "sample string 2"
}

application/xml, text/xml

Sample:
<WASampleHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BioBancheFEShared.WebApiModels">
  <ActionDate>2025-01-07T15:01:46.6421446+01:00</ActionDate>
  <ReferenceUser>sample string 2</ReferenceUser>
  <SampleUID>sample string 1</SampleUID>
</WASampleHistory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'WASampleHistory'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "SampleUID": "sample string 1",
    "ActionDate": "2025-01-07T15:01:46.6421446+01:00",
    "ReferenceUser": "sample string 2"
  },
  {
    "SampleUID": "sample string 1",
    "ActionDate": "2025-01-07T15:01:46.6421446+01:00",
    "ReferenceUser": "sample string 2"
  },
  {
    "SampleUID": "sample string 1",
    "ActionDate": "2025-01-07T15:01:46.6421446+01:00",
    "ReferenceUser": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWASampleHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BioBancheFEShared.WebApiModels">
  <WASampleHistory>
    <ActionDate>2025-01-07T15:01:46.6421446+01:00</ActionDate>
    <ReferenceUser>sample string 2</ReferenceUser>
    <SampleUID>sample string 1</SampleUID>
  </WASampleHistory>
  <WASampleHistory>
    <ActionDate>2025-01-07T15:01:46.6421446+01:00</ActionDate>
    <ReferenceUser>sample string 2</ReferenceUser>
    <SampleUID>sample string 1</SampleUID>
  </WASampleHistory>
  <WASampleHistory>
    <ActionDate>2025-01-07T15:01:46.6421446+01:00</ActionDate>
    <ReferenceUser>sample string 2</ReferenceUser>
    <SampleUID>sample string 1</SampleUID>
  </WASampleHistory>
</ArrayOfWASampleHistory>