POST api/Analisis/CrearMotorista
Request Information
URI Parameters
None.
Body Parameters
CrearMotoristaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MotoristaId | globally unique identifier |
None. |
|
| ProveedorId | globally unique identifier |
None. |
|
| Nombre | string |
None. |
|
| Apellido | string |
None. |
|
| Identidad | string |
None. |
|
| Telefono | string |
None. |
|
| Nacionalidad | string |
None. |
|
| errores | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"errores": [
"sample string 1",
"sample string 2"
],
"MotoristaId": "1e264ee0-547c-4c9c-b954-fd7b7853876e",
"ProveedorId": "59f68773-648c-481b-82fc-9a159d8bcaa6",
"Nombre": "sample string 3",
"Apellido": "sample string 4",
"Identidad": "sample string 5",
"Telefono": "sample string 6",
"Nacionalidad": "sample string 7"
}
text/xml
Sample:
<CrearMotoristaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
<errores xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</errores>
<Apellido>sample string 4</Apellido>
<Identidad>sample string 5</Identidad>
<MotoristaId>1e264ee0-547c-4c9c-b954-fd7b7853876e</MotoristaId>
<Nacionalidad>sample string 7</Nacionalidad>
<Nombre>sample string 3</Nombre>
<ProveedorId>59f68773-648c-481b-82fc-9a159d8bcaa6</ProveedorId>
<Telefono>sample string 6</Telefono>
</CrearMotoristaDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Object |
None. |
|
| Data | Object |
None. |
|
| Exception | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": {},
"Data": {},
"Exception": {}
}
text/xml
Sample:
<AppResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Data /> <Exception /> <IsValid>true</IsValid> <Message /> </AppResult>