POST api/sendAllDataandClose

Request Information

URI Parameters

None.

Body Parameters

NotifyClose
NameDescriptionTypeAdditional information
IdServicio

integer

None.

EstadoServicio

integer

None.

Comentarios

string

None.

FechaEntrega

date

None.

PickUpDate

date

None.

Qr

integer

None.

_Detalle

Collection of FotoItem

None.

_Intentos

Collection of Intentos

None.

Request Formats

application/json, text/json

Sample:
{
  "IdServicio": 1,
  "EstadoServicio": 2,
  "Comentarios": "sample string 3",
  "FechaEntrega": "2024-10-18T05:54:13.1485857-03:00",
  "PickUpDate": "2024-10-18T05:54:13.1485857-03:00",
  "Qr": 6,
  "_Detalle": [
    {
      "_ItemId": 1,
      "_IdOs": 2,
      "_Foto": "sample string 3",
      "_UniqIdent": "sample string 4"
    },
    {
      "_ItemId": 1,
      "_IdOs": 2,
      "_Foto": "sample string 3",
      "_UniqIdent": "sample string 4"
    }
  ],
  "_Intentos": [
    {
      "Id": 1,
      "IdServicio": 2,
      "FechaIntento": "2024-10-18T05:54:13.1485857-03:00",
      "Sync": 4
    },
    {
      "Id": 1,
      "IdServicio": 2,
      "FechaIntento": "2024-10-18T05:54:13.1485857-03:00",
      "Sync": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ServiciosTransporteClass.NotifyClose xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransporteFramework">
  <Comentarios>sample string 3</Comentarios>
  <EstadoServicio>2</EstadoServicio>
  <FechaEntrega>2024-10-18T05:54:13.1485857-03:00</FechaEntrega>
  <IdServicio>1</IdServicio>
  <PickUpDate>2024-10-18T05:54:13.1485857-03:00</PickUpDate>
  <Qr>6</Qr>
  <_Detalle>
    <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>
  </_Detalle>
  <_Intentos>
    <ServiciosTransporteClass.Intentos>
      <FechaIntento>2024-10-18T05:54:13.1485857-03:00</FechaIntento>
      <Id>1</Id>
      <IdServicio>2</IdServicio>
      <Sync>4</Sync>
    </ServiciosTransporteClass.Intentos>
    <ServiciosTransporteClass.Intentos>
      <FechaIntento>2024-10-18T05:54:13.1485857-03:00</FechaIntento>
      <Id>1</Id>
      <IdServicio>2</IdServicio>
      <Sync>4</Sync>
    </ServiciosTransporteClass.Intentos>
  </_Intentos>
</ServiciosTransporteClass.NotifyClose>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>