REST API

/{version}/reagentlots/{reagentlotid}

The following operations are supported on this resource:

GET

Displays the XML representation of a specified reagent lot.

Parameters

name description type default
reagentlotid The id of the reagent lot to display. path

Output Payload

element produceable content type(s)
reagent-lot (XML)
  • application/xml
description
The system returns a response that includes the XML representation of the reagent lot.

PUT

Updates the specified reagent lot in the system.

When updating a reagent lot you must specify both lot number and expiry date (unless the reagent lot status is PENDING in which case those fields are not required). Reagent lots must also be unique (the lot number, name, kit, and status cannot all be the same as another reagent lot).

An example of a <reagent-lot> is as follows:
<lot:reagent-lot xmlns:lot="http://genologics.com/ri/reagentlot" limsid="124-103" uri="http://localhost:8080/api/v2/reagentlots/124-103">   <reagent-kit uri="http://localhost:8080/api/v2/reagentkits/101" name="Affy-3a"/>   <name>Affy-3a Batch #1</name>   <lot-number>5613281</lot-number>   <expiry-date>2014-05-01</expiry-date>   <storage-location>Cooler in room 204</storage-location>   <notes>Shipment Contained 2 kits.</notes>   <status>ACTIVE</status> </lot:reagent-lot>

Parameters

name description type default
reagentlotid The id of the reagent lot to update path

Input Payload

element consumeable content type(s)
reagent-lot (XML)
  • */*
  • application/xml
description
The new representation of the specified reagent lot

Output Payload

element produceable content type(s)
reagent-lot (XML)
  • application/xml
description
A response that includes the XML representation of the updated reagent lot

/{version}/reagentlots/{reagentlotid}

Home

REST Endpoints

XML Data Elements

XML Data Types