POST api/Estaciones
Request Information
URI Parameters
None.
Body Parameters
Estacion| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdEstacion | integer |
None. |
|
| Nombre | string |
Required Max length: 50 |
|
| Concesion | string |
Required Max length: 10 |
|
| Telefono | string |
Data type: PhoneNumber Max length: 20 |
|
| Imagen | string |
Data type: Text Max length: 50 |
|
| Direccion | string |
Data type: Text Max length: 100 |
|
| CodigoPostal | string |
Data type: PostalCode Max length: 10 |
|
| Poblacion | string |
Data type: Text Max length: 100 |
|
| Provincia | string |
Data type: Text Max length: 100 |
|
| IdEmpresa | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IdEstacion": 2,
"Nombre": "sample string 3",
"Concesion": "sample string 4",
"Telefono": "sample string 5",
"Imagen": "sample string 6",
"Direccion": "sample string 7",
"CodigoPostal": "sample string 8",
"Poblacion": "sample string 9",
"Provincia": "sample string 10",
"IdEmpresa": 11
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Estacion| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdEstacion | integer |
None. |
|
| Nombre | string |
Required Max length: 50 |
|
| Concesion | string |
Required Max length: 10 |
|
| Telefono | string |
Data type: PhoneNumber Max length: 20 |
|
| Imagen | string |
Data type: Text Max length: 50 |
|
| Direccion | string |
Data type: Text Max length: 100 |
|
| CodigoPostal | string |
Data type: PostalCode Max length: 10 |
|
| Poblacion | string |
Data type: Text Max length: 100 |
|
| Provincia | string |
Data type: Text Max length: 100 |
|
| IdEmpresa | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"IdEstacion": 2,
"Nombre": "sample string 3",
"Concesion": "sample string 4",
"Telefono": "sample string 5",
"Imagen": "sample string 6",
"Direccion": "sample string 7",
"CodigoPostal": "sample string 8",
"Poblacion": "sample string 9",
"Provincia": "sample string 10",
"IdEmpresa": 11
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.