GET api/HCS?empid={empid}&rectype={rectype}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
empid | integer |
Required |
|
rectype | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BasicNameValueName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
Name | string |
None. |
|
Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "Name": "sample string 2", "Value": "sample string 3" }, { "id": 1, "Name": "sample string 2", "Value": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfBasicNameValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs"> <BasicNameValue> <Name>sample string 2</Name> <Value>sample string 3</Value> <id>1</id> </BasicNameValue> <BasicNameValue> <Name>sample string 2</Name> <Value>sample string 3</Value> <id>1</id> </BasicNameValue> </ArrayOfBasicNameValue>