| GET | /illnesses |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | query | string | No | |
| TargetType | query | TargetType? | No | |
| IsActive | query | bool? | No | |
| Property | query | string | No | |
| IsAscending | query | bool | No | |
| PageSize | query | int | No | |
| Page | query | int | No |
| Name | Value | |
|---|---|---|
| Human | 1 | |
| Animal | 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Illnesses | form | List<IllnessListItemDto> | No | |
| TotalEntities | form | long | No | |
| Page | form | int | No | |
| Property | form | string | No | |
| IsAscending | form | bool | No | |
| PageSize | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| Name | form | string | No | |
| TargetType | form | TargetType | No | |
| IsActive | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /illnesses HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
illnesses:
[
{
id: 0,
name: String,
targetType: 1,
isActive: False
}
],
totalEntities: 0,
page: 0,
property: String,
isAscending: False,
pageSize: 0
}