GET api/employees/withmessaging
Gets the list of employees with Messaging turned on.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
An Http response message with the following status codes: 200 = success (a list of objects is returned; each object has EmployeeId and EmployeeName; it can be an empty list) 400 = bad request (the request is malformed or with invalid data), 500 = something went wrong (the request was not processed).
Collection of SimpleEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| EmployeeName | string |
None. |
|
| IsHighlited | boolean |
None. |
|
| Id | integer |
None. |
|
| Text | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"IsHighlited": false,
"Id": 1,
"Text": "sample string 2"
},
{
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"IsHighlited": false,
"Id": 1,
"Text": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfSimpleEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CWI.Mobile.Domain.DTO">
<SimpleEmployee>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
</SimpleEmployee>
<SimpleEmployee>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
</SimpleEmployee>
</ArrayOfSimpleEmployee>