POST api/batchapi/analysisresult/generate

Request Information

URI Parameters

None.

Body Parameters

GenerateAnalysisLogViewModel
NameDescriptionTypeAdditional information
particle_counter_id

globally unique identifier

None.

batch_id

globally unique identifier

None.

compartment_number

integer

None.

witness_id

globally unique identifier

None.

vet_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "particle_counter_id": "f340322c-2282-4d0c-ab0d-7c17fbb69ee1",
  "batch_id": "7ea6cca0-2eee-42f6-8f4a-f5f0d14d919a",
  "compartment_number": 3,
  "witness_id": "cf008732-9078-4cfd-9ed8-c5e87813107f",
  "vet_id": 1
}

application/xml, text/xml

Sample:
<generate_analysis_log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <batch_id>7ea6cca0-2eee-42f6-8f4a-f5f0d14d919a</batch_id>
  <compartment_number>3</compartment_number>
  <particle_counter_id>f340322c-2282-4d0c-ab0d-7c17fbb69ee1</particle_counter_id>
  <vet_id>1</vet_id>
  <witness_id>cf008732-9078-4cfd-9ed8-c5e87813107f</witness_id>
</generate_analysis_log>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

None.