POST api/Transporte
Request Information
URI Parameters
None.
Body Parameters
TransporteModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CodigoPersona | integer |
None. |
|
| CodigoColab | integer |
None. |
|
| TipoPersona | string |
None. |
|
| IdTransportista | integer |
None. |
|
| EntradaSalida | string |
None. |
|
| CIColaborador | string |
None. |
|
| CICliente | string |
None. |
|
| Fecha | date |
None. |
|
| Hora | date |
None. |
|
| Observaciones | string |
None. |
|
| Sucursal | integer |
None. |
|
| Usuario | integer |
None. |
|
| NombreUsuario | string |
None. |
|
| FechaMod | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CodigoPersona": 1,
"CodigoColab": 2,
"TipoPersona": "sample string 3",
"IdTransportista": 4,
"EntradaSalida": "sample string 5",
"CIColaborador": "sample string 6",
"CICliente": "sample string 7",
"Fecha": "2025-12-13T14:53:47.8945928-08:00",
"Hora": "2025-12-13T14:53:47.8945928-08:00",
"Observaciones": "sample string 10",
"Sucursal": 11,
"Usuario": 12,
"NombreUsuario": "sample string 13",
"FechaMod": "2025-12-13T14:53:47.8945928-08:00"
}
application/xml, text/xml
Sample:
<TransporteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcessWebApi.Models.EntityModels"> <CICliente>sample string 7</CICliente> <CIColaborador>sample string 6</CIColaborador> <CodigoColab>2</CodigoColab> <CodigoPersona>1</CodigoPersona> <EntradaSalida>sample string 5</EntradaSalida> <Fecha>2025-12-13T14:53:47.8945928-08:00</Fecha> <FechaMod>2025-12-13T14:53:47.8945928-08:00</FechaMod> <Hora>2025-12-13T14:53:47.8945928-08:00</Hora> <IdTransportista>4</IdTransportista> <NombreUsuario>sample string 13</NombreUsuario> <Observaciones>sample string 10</Observaciones> <Sucursal>11</Sucursal> <TipoPersona>sample string 3</TipoPersona> <Usuario>12</Usuario> </TransporteModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransporteResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageError | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessageError": "sample string 1",
"Success": true
}
application/xml, text/xml
Sample:
<TransporteResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcessWebApi.Models.ResponseModels"> <MessageError>sample string 1</MessageError> <Success>true</Success> </TransporteResponseModel>