POST api/NetzbetreiberTarife
Request Information
URI Parameters
None.
Body Parameters
NetzbetreiberTarifeDaten| Name | Type | Additional information |
|---|---|---|
| Plz | string |
Required Matching regular expression pattern: ^\d{5}$ |
| Ort | string |
Required Matching regular expression pattern: ^[A-Za-zÄÖÜäöüß][A-Za-zÄÖÜäöüß.\-()]*([ ]?[A-Za-zÄÖÜäöüß.\-()]+)*$ Max length: 30 Min length: 3 |
| SparteID | integer |
Required Matching regular expression pattern: ^[12]$ |
Request Formats
application/json, text/json
Sample:
{
"Plz": "sample string 1",
"Ort": "sample string 2",
"SparteID": 3
}
Response Information
Resource Description
Collection of Netzbetreiber| Name | Type | Additional information |
|---|---|---|
| NetzbetreiberID | integer |
None. |
| NetzbetreiberName | string |
None. |
| NetzbetreiberError | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NetzbetreiberID": 1,
"NetzbetreiberName": "sample string 2",
"NetzbetreiberError": "sample string 3"
},
{
"NetzbetreiberID": 1,
"NetzbetreiberName": "sample string 2",
"NetzbetreiberError": "sample string 3"
}
]