GET api/Filters/GetDisciplinesBySite?siteID={siteID}

Method to get and return the disciplines by SiteID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Discipline
NameDescriptionTypeAdditional information
ID

integer

None.

Value

string

None.

Code

string

None.

IsDefault

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Value": "sample string 2",
    "Code": "sample string 3",
    "IsDefault": true
  },
  {
    "ID": 1,
    "Value": "sample string 2",
    "Code": "sample string 3",
    "IsDefault": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDiscipline xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <Discipline>
    <Code>sample string 3</Code>
    <ID>1</ID>
    <IsDefault>true</IsDefault>
    <Value>sample string 2</Value>
  </Discipline>
  <Discipline>
    <Code>sample string 3</Code>
    <ID>1</ID>
    <IsDefault>true</IsDefault>
    <Value>sample string 2</Value>
  </Discipline>
</ArrayOfDiscipline>