POST api/Rutas
Request Information
URI Parameters
None.
Body Parameters
Rutas| Name | Description | Type | Additional information |
|---|---|---|---|
| RutaID | integer |
None. |
|
| OrigenID | integer |
None. |
|
| DestinoID | integer |
None. |
|
| KM | decimal number |
Required Data type: Currency |
Request Formats
application/json, text/json
Sample:
{
"RutaID": 1,
"OrigenID": 2,
"DestinoID": 3,
"KM": 4.0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Rutas| Name | Description | Type | Additional information |
|---|---|---|---|
| RutaID | integer |
None. |
|
| OrigenID | integer |
None. |
|
| DestinoID | integer |
None. |
|
| KM | decimal number |
Required Data type: Currency |
Response Formats
application/json, text/json
Sample:
{
"RutaID": 1,
"OrigenID": 2,
"DestinoID": 3,
"KM": 4.0
}