GET api/Answer?departmentId={departmentId}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentId | integer |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MDLAnswer| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Answer | string |
None. |
|
| Identifier | string |
None. |
|
| Comment | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Answer": "sample string 2",
"Identifier": "sample string 3",
"Comment": "sample string 4"
},
{
"Id": 1,
"Answer": "sample string 2",
"Identifier": "sample string 3",
"Comment": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfMDLAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared.ComplaintsManagement">
<MDLAnswer>
<Answer>sample string 2</Answer>
<Comment>sample string 4</Comment>
<Id>1</Id>
<Identifier>sample string 3</Identifier>
</MDLAnswer>
<MDLAnswer>
<Answer>sample string 2</Answer>
<Comment>sample string 4</Comment>
<Id>1</Id>
<Identifier>sample string 3</Identifier>
</MDLAnswer>
</ArrayOfMDLAnswer>