POST api/Services/{servId}/Close
Cierra un servicio
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| servId | integer |
Required |
Body Parameters
ObjCierre| Name | Description | Type | Additional information |
|---|---|---|---|
| IdServicio | integer |
None. |
|
| EstadoServicio | integer |
None. |
|
| Comentarios | string |
None. |
|
| FechaEntrega | date |
None. |
|
| PickUpDate | date |
None. |
|
| Qr | integer |
None. |
|
| Fotos | Collection of FotoItem |
None. |
|
| DetIntentos | Collection of Intentos |
None. |
|
| Productos | Collection of DetalleProductos |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdServicio": 1,
"EstadoServicio": 2,
"Comentarios": "sample string 3",
"FechaEntrega": "2025-10-29T05:56:16.6968567-03:00",
"PickUpDate": "2025-10-29T05:56:16.6968567-03:00",
"Qr": 6,
"Fotos": [
{
"_ItemId": 1,
"_IdOs": 2,
"_Foto": "sample string 3",
"_UniqIdent": "sample string 4"
},
{
"_ItemId": 1,
"_IdOs": 2,
"_Foto": "sample string 3",
"_UniqIdent": "sample string 4"
}
],
"DetIntentos": [
{
"Id": 1,
"IdServicio": 2,
"FechaIntento": "2025-10-29T05:56:16.6968567-03:00",
"Sync": 4
},
{
"Id": 1,
"IdServicio": 2,
"FechaIntento": "2025-10-29T05:56:16.6968567-03:00",
"Sync": 4
}
],
"Productos": [
{
"DetalleId": 1,
"EstadoId": 2,
"CantidadEnvasesDespachados": 3,
"CantidadEnvasesEntregados": 1,
"Producto": "sample string 4",
"CodigoProducto": "sample string 5"
},
{
"DetalleId": 1,
"EstadoId": 2,
"CantidadEnvasesDespachados": 3,
"CantidadEnvasesEntregados": 1,
"Producto": "sample string 4",
"CodigoProducto": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<ServiciosTransporteClass.ObjCierre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransporteFramework">
<Comentarios>sample string 3</Comentarios>
<DetIntentos>
<ServiciosTransporteClass.Intentos>
<FechaIntento>2025-10-29T05:56:16.6968567-03:00</FechaIntento>
<Id>1</Id>
<IdServicio>2</IdServicio>
<Sync>4</Sync>
</ServiciosTransporteClass.Intentos>
<ServiciosTransporteClass.Intentos>
<FechaIntento>2025-10-29T05:56:16.6968567-03:00</FechaIntento>
<Id>1</Id>
<IdServicio>2</IdServicio>
<Sync>4</Sync>
</ServiciosTransporteClass.Intentos>
</DetIntentos>
<EstadoServicio>2</EstadoServicio>
<FechaEntrega>2025-10-29T05:56:16.6968567-03:00</FechaEntrega>
<Fotos>
<FotoItem>
<_Foto>sample string 3</_Foto>
<_IdOs>2</_IdOs>
<_ItemId>1</_ItemId>
<_UniqIdent>sample string 4</_UniqIdent>
</FotoItem>
<FotoItem>
<_Foto>sample string 3</_Foto>
<_IdOs>2</_IdOs>
<_ItemId>1</_ItemId>
<_UniqIdent>sample string 4</_UniqIdent>
</FotoItem>
</Fotos>
<IdServicio>1</IdServicio>
<PickUpDate>2025-10-29T05:56:16.6968567-03:00</PickUpDate>
<Productos>
<ServiciosTransporteClass.DetalleProductos>
<CantidadEnvasesDespachados>3</CantidadEnvasesDespachados>
<CantidadEnvasesEntregados>1</CantidadEnvasesEntregados>
<CodigoProducto>sample string 5</CodigoProducto>
<DetalleId>1</DetalleId>
<EstadoId>2</EstadoId>
<Producto>sample string 4</Producto>
</ServiciosTransporteClass.DetalleProductos>
<ServiciosTransporteClass.DetalleProductos>
<CantidadEnvasesDespachados>3</CantidadEnvasesDespachados>
<CantidadEnvasesEntregados>1</CantidadEnvasesEntregados>
<CodigoProducto>sample string 5</CodigoProducto>
<DetalleId>1</DetalleId>
<EstadoId>2</EstadoId>
<Producto>sample string 4</Producto>
</ServiciosTransporteClass.DetalleProductos>
</Productos>
<Qr>6</Qr>
</ServiciosTransporteClass.ObjCierre>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |