GET api/LookUpCust/GetEmplByOccupation?pOccupationCode={pOccupationCode}&pActive={pActive}&pOnlyExternal={pOnlyExternal}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pOccupationCode | integer |
Default value is 0 |
|
pActive | string |
Default value is y |
|
pOnlyExternal | string |
Default value is all |
Body Parameters
None.
Response Information
Resource Description
Collection of EmployesRetriveResultName | Description | Type | Additional 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.