GET api/v{version}/laboratory/{laboratoryId}/subset/{subsetType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
laboratoryId

integer

Required

subsetType

SubsetType

Default value is Any

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfIEnumerableOfSubjectSubsetListItem
NameDescriptionTypeAdditional information
Data

Collection of SubjectSubsetListItem

None.

StatusCode

Gets or sets the status code.

HttpStatusCode

None.

StatusDescription

Gets or sets the status description.

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "subjectSubsetID": 1,
      "subjectSubsetTypeID": 2,
      "laboratoryID": 3,
      "description": "sample string 4",
      "displaySeq": 5,
      "subsetGUID": "sample string 6",
      "externalID": "sample string 7"
    },
    {
      "subjectSubsetID": 1,
      "subjectSubsetTypeID": 2,
      "laboratoryID": 3,
      "description": "sample string 4",
      "displaySeq": 5,
      "subsetGUID": "sample string 6",
      "externalID": "sample string 7"
    }
  ],
  "statusCode": 100,
  "statusDescription": "sample string 1",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfSubjectSubsetListItemuFpbgzW1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <StatusCode>Continue</StatusCode>
  <StatusDescription>sample string 1</StatusDescription>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DomainObjects">
    <d2p1:SubjectSubsetListItem>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:DisplaySeq>5</d2p1:DisplaySeq>
      <d2p1:ExternalID>sample string 7</d2p1:ExternalID>
      <d2p1:LaboratoryID>3</d2p1:LaboratoryID>
      <d2p1:SubjectSubsetID>1</d2p1:SubjectSubsetID>
      <d2p1:SubjectSubsetTypeID>2</d2p1:SubjectSubsetTypeID>
      <d2p1:SubsetGUID>sample string 6</d2p1:SubsetGUID>
    </d2p1:SubjectSubsetListItem>
    <d2p1:SubjectSubsetListItem>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:DisplaySeq>5</d2p1:DisplaySeq>
      <d2p1:ExternalID>sample string 7</d2p1:ExternalID>
      <d2p1:LaboratoryID>3</d2p1:LaboratoryID>
      <d2p1:SubjectSubsetID>1</d2p1:SubjectSubsetID>
      <d2p1:SubjectSubsetTypeID>2</d2p1:SubjectSubsetTypeID>
      <d2p1:SubsetGUID>sample string 6</d2p1:SubsetGUID>
    </d2p1:SubjectSubsetListItem>
  </Data>
</ResponseOfArrayOfSubjectSubsetListItemuFpbgzW1>