GET api/ListEtater?etatId={etatId}
Liste over etater og hvilke kommuner de dekker
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| etatId |
EtatId for en etat (valgfritt) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
IHttpActionResult
EtatList| Name | Description | Type | Additional information |
|---|---|---|---|
| etater |
Liste over etater |
Collection of EtatItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"etater": [
{
"kommuner": [
"sample string 1",
"sample string 2"
],
"etatId": "sample string 1",
"etatNavn": "sample string 2"
},
{
"kommuner": [
"sample string 1",
"sample string 2"
],
"etatId": "sample string 1",
"etatNavn": "sample string 2"
}
]
}