GET api/Drugs/GetContactList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of myObjectName | Description | Type | Additional information |
---|---|---|---|
_id | ObjectId |
None. |
|
string |
None. |
||
firstName | string |
None. |
|
middleName | string |
None. |
|
lastName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "_id": "000000000000000000000000", "email": "sample string 1", "firstName": "sample string 2", "middleName": "sample string 3", "lastName": "sample string 4" }, { "_id": "000000000000000000000000", "email": "sample string 1", "firstName": "sample string 2", "middleName": "sample string 3", "lastName": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfBLDrug.myObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement"> <BLDrug.myObject> <_id xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </_id> <email>sample string 1</email> <firstName>sample string 2</firstName> <lastName>sample string 4</lastName> <middleName>sample string 3</middleName> </BLDrug.myObject> <BLDrug.myObject> <_id xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </_id> <email>sample string 1</email> <firstName>sample string 2</firstName> <lastName>sample string 4</lastName> <middleName>sample string 3</middleName> </BLDrug.myObject> </ArrayOfBLDrug.myObject>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.