POST api/TestOnly/EmployeeFinder

Request Information

URI Parameters

None.

Body Parameters

FindEmployeeCriteria
NameDescriptionTypeAdditional information
pStartFirst

string

None.

pStartLast

string

None.

pStartNick

string

None.

pMidNick

string

None.

pOccupationCode

integer

None.

pActive

string

None.

pDepCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pStartFirst": "sample string 1",
  "pStartLast": "sample string 2",
  "pStartNick": "sample string 3",
  "pMidNick": "sample string 4",
  "pOccupationCode": 5,
  "pActive": "sample string 6",
  "pDepCode": 7
}

application/xml, text/xml

Sample:
<FindEmployeeCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <pActive>sample string 6</pActive>
  <pDepCode>7</pDepCode>
  <pMidNick>sample string 4</pMidNick>
  <pOccupationCode>5</pOccupationCode>
  <pStartFirst>sample string 1</pStartFirst>
  <pStartLast>sample string 2</pStartLast>
  <pStartNick>sample string 3</pStartNick>
</FindEmployeeCriteria>

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 EmployesRetriveResult
NameDescriptionTypeAdditional information
code

integer

None.

nickname

string

None.

last_name

string

None.

first_name

string

None.

active

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": 1,
    "nickname": "sample string 1",
    "last_name": "sample string 2",
    "first_name": "sample string 3",
    "active": "sample string 4"
  },
  {
    "code": 1,
    "nickname": "sample string 1",
    "last_name": "sample string 2",
    "first_name": "sample string 3",
    "active": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployesRetriveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <EmployesRetriveResult>
    <active>sample string 4</active>
    <code>1</code>
    <first_name>sample string 3</first_name>
    <last_name>sample string 2</last_name>
    <nickname>sample string 1</nickname>
  </EmployesRetriveResult>
  <EmployesRetriveResult>
    <active>sample string 4</active>
    <code>1</code>
    <first_name>sample string 3</first_name>
    <last_name>sample string 2</last_name>
    <nickname>sample string 1</nickname>
  </EmployesRetriveResult>
</ArrayOfEmployesRetriveResult>

application/bson

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