POST api/LookUpCust/EmployeeFinder

Request Information

URI Parameters

None.

Body Parameters

FindEmployeeCriteria
NameDescriptionTypeAdditional information
pStartFirst

string

None.

pStartLast

string

None.

pStartNick

string

None.

pMidNick

string

None.

pOccupationCode

Collection of 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": [
    1,
    2
  ],
  "pActive": "sample string 5",
  "pDepCode": 6
}

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 5</pActive>
  <pDepCode>6</pDepCode>
  <pMidNick>sample string 4</pMidNick>
  <pOccupationCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </pOccupationCode>
  <pStartFirst>sample string 1</pStartFirst>
  <pStartLast>sample string 2</pStartLast>
  <pStartNick>sample string 3</pStartNick>
</FindEmployeeCriteria>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FindEmployeeCriteria'.

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.