POST api/LookUpCust/GetFilteredDiariesList

Request Information

URI Parameters

None.

Body Parameters

FilteredDiariesCriteria
NameDescriptionTypeAdditional information
ActiveOnly

boolean

None.

DepCode

integer

None.

NameLike

string

None.

BranchCodes

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ActiveOnly": true,
  "DepCode": 1,
  "NameLike": "sample string 2",
  "BranchCodes": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<FilteredDiariesCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <ActiveOnly>true</ActiveOnly>
  <BranchCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BranchCodes>
  <DepCode>1</DepCode>
  <NameLike>sample string 2</NameLike>
</FilteredDiariesCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of DiariesRetriveResult
NameDescriptionTypeAdditional information
DiaryNum

integer

None.

DiaryName

string

None.

SpecCode

integer

None.

SpecDesc

string

None.

Description

string

None.

RoomCode

integer

None.

RoomDesc

string

None.

Active

string

None.

DepCode

integer

None.

Depname

string

None.

ReminderSms

string

None.

BranchCode

integer

None.

BranchName

string

None.

NeedSmoker

string

None.

NeedPacs

string

None.

WithTime

string

None.

color_for_display

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DiaryNum": 1,
    "DiaryName": "sample string 1",
    "SpecCode": 1,
    "SpecDesc": "sample string 2",
    "Description": "sample string 3",
    "RoomCode": 1,
    "RoomDesc": "sample string 4",
    "Active": "sample string 5",
    "DepCode": 1,
    "Depname": "sample string 6",
    "ReminderSms": "sample string 7",
    "BranchCode": 1,
    "BranchName": "sample string 8",
    "NeedSmoker": "sample string 9",
    "NeedPacs": "sample string 10",
    "WithTime": "sample string 11",
    "color_for_display": "sample string 12"
  },
  {
    "DiaryNum": 1,
    "DiaryName": "sample string 1",
    "SpecCode": 1,
    "SpecDesc": "sample string 2",
    "Description": "sample string 3",
    "RoomCode": 1,
    "RoomDesc": "sample string 4",
    "Active": "sample string 5",
    "DepCode": 1,
    "Depname": "sample string 6",
    "ReminderSms": "sample string 7",
    "BranchCode": 1,
    "BranchName": "sample string 8",
    "NeedSmoker": "sample string 9",
    "NeedPacs": "sample string 10",
    "WithTime": "sample string 11",
    "color_for_display": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDiariesRetriveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <DiariesRetriveResult>
    <Active>sample string 5</Active>
    <BranchCode>1</BranchCode>
    <BranchName>sample string 8</BranchName>
    <DepCode>1</DepCode>
    <Depname>sample string 6</Depname>
    <Description>sample string 3</Description>
    <DiaryName>sample string 1</DiaryName>
    <DiaryNum>1</DiaryNum>
    <NeedPacs>sample string 10</NeedPacs>
    <NeedSmoker>sample string 9</NeedSmoker>
    <ReminderSms>sample string 7</ReminderSms>
    <RoomCode>1</RoomCode>
    <RoomDesc>sample string 4</RoomDesc>
    <SpecCode>1</SpecCode>
    <SpecDesc>sample string 2</SpecDesc>
    <WithTime>sample string 11</WithTime>
    <color_for_display>sample string 12</color_for_display>
  </DiariesRetriveResult>
  <DiariesRetriveResult>
    <Active>sample string 5</Active>
    <BranchCode>1</BranchCode>
    <BranchName>sample string 8</BranchName>
    <DepCode>1</DepCode>
    <Depname>sample string 6</Depname>
    <Description>sample string 3</Description>
    <DiaryName>sample string 1</DiaryName>
    <DiaryNum>1</DiaryNum>
    <NeedPacs>sample string 10</NeedPacs>
    <NeedSmoker>sample string 9</NeedSmoker>
    <ReminderSms>sample string 7</ReminderSms>
    <RoomCode>1</RoomCode>
    <RoomDesc>sample string 4</RoomDesc>
    <SpecCode>1</SpecCode>
    <SpecDesc>sample string 2</SpecDesc>
    <WithTime>sample string 11</WithTime>
    <color_for_display>sample string 12</color_for_display>
  </DiariesRetriveResult>
</ArrayOfDiariesRetriveResult>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.