POST api/Analisis/AceptarUnidadCrearListaDinant
Request Information
URI Parameters
None.
Body Parameters
ListaDinantDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UnidadId | globally unique identifier |
None. |
|
| MotoristaId | globally unique identifier |
None. |
|
| ProveedorId | globally unique identifier |
None. |
|
| GestionId | globally unique identifier |
None. |
|
| errores | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"errores": [
"sample string 1",
"sample string 2"
],
"UnidadId": "2c2139cb-6cfb-459f-88e2-4bb95541b5de",
"MotoristaId": "e3f7aef8-733a-4e4d-bc85-d4c1755a3efa",
"ProveedorId": "a305f15a-d969-4088-a0da-c14613ef6a0a",
"GestionId": "0d36b5e8-0987-48f7-bd04-4b5d981749dc"
}
text/xml
Sample:
<ListaDinantDto 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>
<GestionId>0d36b5e8-0987-48f7-bd04-4b5d981749dc</GestionId>
<MotoristaId>e3f7aef8-733a-4e4d-bc85-d4c1755a3efa</MotoristaId>
<ProveedorId>a305f15a-d969-4088-a0da-c14613ef6a0a</ProveedorId>
<UnidadId>2c2139cb-6cfb-459f-88e2-4bb95541b5de</UnidadId>
</ListaDinantDto>
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>