PUT api/Pedidos/UpdateTokenPedido

Request Information

URI Parameters

None.

Body Parameters

Pedido
NameDescriptionTypeAdditional information
TOKENPAGO

string

None.

Id

integer

None.

Fecha_Pedido

date

None.

Fecha_Aceptado

date

None.

Fecha_Estimada

date

None.

Fecha_Entrega

date

None.

Id_Direccion

integer

None.

Calle

string

None.

Numero_Ext

string

None.

Numero_Int

string

None.

Colonia

string

None.

Municipio

string

None.

Estado

string

None.

CP

string

None.

Nota_Cliente

string

None.

Nota_User

string

None.

Id_Repartidor

integer

None.

Nombre_Repartidor

string

None.

Telefono_Repartidor

string

None.

Id_Cliente

integer

None.

Nombre_Cliente

string

None.

Telefono_Cliente

string

None.

Id_Listado

integer

None.

Nombre_Listado

string

None.

Id_User_Acepta

integer

None.

Id_User_Finaliza

integer

None.

Costo_Total

decimal number

None.

Costo_Envio

decimal number

None.

Metodo_Pago

string

None.

Latitud

string

None.

Longitud

string

None.

Id_Sucursal

integer

None.

Status

integer

None.

Fecha_Cancelado

date

None.

Detalles

Collection of DetallePedido

None.

Token

string

None.

HoraEntrega

string

None.

Dispositivo

string

None.

FechaAgendado

date

None.

IMAGEN_TARJETA

Collection of byte

None.

EstaAgendado

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TOKENPAGO": "sample string 1",
  "Id": 2,
  "Fecha_Pedido": "2024-04-25T06:30:38.2060884-06:00",
  "Fecha_Aceptado": "2024-04-25T06:30:38.2060884-06:00",
  "Fecha_Estimada": "2024-04-25T06:30:38.2060884-06:00",
  "Fecha_Entrega": "2024-04-25T06:30:38.2060884-06:00",
  "Id_Direccion": 7,
  "Calle": "sample string 8",
  "Numero_Ext": "sample string 9",
  "Numero_Int": "sample string 10",
  "Colonia": "sample string 11",
  "Municipio": "sample string 12",
  "Estado": "sample string 13",
  "CP": "sample string 14",
  "Nota_Cliente": "sample string 15",
  "Nota_User": "sample string 16",
  "Id_Repartidor": 17,
  "Nombre_Repartidor": "sample string 18",
  "Telefono_Repartidor": "sample string 19",
  "Id_Cliente": 20,
  "Nombre_Cliente": "sample string 21",
  "Telefono_Cliente": "sample string 22",
  "Id_Listado": 23,
  "Nombre_Listado": "sample string 24",
  "Id_User_Acepta": 25,
  "Id_User_Finaliza": 26,
  "Costo_Total": 27.0,
  "Costo_Envio": 28.0,
  "Metodo_Pago": "sample string 29",
  "Latitud": "sample string 30",
  "Longitud": "sample string 31",
  "Id_Sucursal": 32,
  "Status": 33,
  "Fecha_Cancelado": "2024-04-25T06:30:38.2060884-06:00",
  "Detalles": [
    {
      "Id_Pedido": 1,
      "Id_Producto": 2,
      "Costo": 3.0,
      "Id": 4,
      "Nombre": "sample string 5",
      "Descripcion": "sample string 6",
      "Fotografia": "sample string 7",
      "Imagen": "sample string 8",
      "Visible": 9,
      "Cantidad": 10,
      "Precio": 11.0,
      "Categoria": "sample string 12",
      "PROMO": true,
      "DIAS": 14,
      "PRECIOSIMBOLICO": 15.0,
      "ImagenString": "sample string 16",
      "RutaImagen": "sample string 17",
      "TOTALPRODUCTOS": 18,
      "Subtotal": 19.0,
      "IMAGEN_PRODUCTO": "QEA=",
      "TOTALSUBCAT": 20,
      "SUBCATEGORIA": "sample string 21"
    },
    {
      "Id_Pedido": 1,
      "Id_Producto": 2,
      "Costo": 3.0,
      "Id": 4,
      "Nombre": "sample string 5",
      "Descripcion": "sample string 6",
      "Fotografia": "sample string 7",
      "Imagen": "sample string 8",
      "Visible": 9,
      "Cantidad": 10,
      "Precio": 11.0,
      "Categoria": "sample string 12",
      "PROMO": true,
      "DIAS": 14,
      "PRECIOSIMBOLICO": 15.0,
      "ImagenString": "sample string 16",
      "RutaImagen": "sample string 17",
      "TOTALPRODUCTOS": 18,
      "Subtotal": 19.0,
      "IMAGEN_PRODUCTO": "QEA=",
      "TOTALSUBCAT": 20,
      "SUBCATEGORIA": "sample string 21"
    }
  ],
  "Token": "sample string 35",
  "HoraEntrega": "sample string 36",
  "Dispositivo": "sample string 37",
  "FechaAgendado": "2024-04-25T06:30:38.2217141-06:00",
  "IMAGEN_TARJETA": "QEA=",
  "EstaAgendado": 39
}

application/xml, text/xml

Sample:
<Pedido xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_CHALAN.Models">
  <CP>sample string 14</CP>
  <Calle>sample string 8</Calle>
  <Colonia>sample string 11</Colonia>
  <Costo_Envio>28</Costo_Envio>
  <Costo_Total>27</Costo_Total>
  <Detalles>
    <DetallePedido>
      <Cantidad>10</Cantidad>
      <Categoria>sample string 12</Categoria>
      <DIAS>14</DIAS>
      <Descripcion>sample string 6</Descripcion>
      <Fotografia>sample string 7</Fotografia>
      <IMAGEN_PRODUCTO>QEA=</IMAGEN_PRODUCTO>
      <Id>4</Id>
      <Imagen>sample string 8</Imagen>
      <ImagenString>sample string 16</ImagenString>
      <Nombre>sample string 5</Nombre>
      <PRECIOSIMBOLICO>15</PRECIOSIMBOLICO>
      <PROMO>true</PROMO>
      <Precio>11</Precio>
      <RutaImagen>sample string 17</RutaImagen>
      <SUBCATEGORIA>sample string 21</SUBCATEGORIA>
      <Subtotal>19</Subtotal>
      <TOTALPRODUCTOS>18</TOTALPRODUCTOS>
      <TOTALSUBCAT>20</TOTALSUBCAT>
      <Visible>9</Visible>
      <Costo>3</Costo>
      <Id_Pedido>1</Id_Pedido>
      <Id_Producto>2</Id_Producto>
    </DetallePedido>
    <DetallePedido>
      <Cantidad>10</Cantidad>
      <Categoria>sample string 12</Categoria>
      <DIAS>14</DIAS>
      <Descripcion>sample string 6</Descripcion>
      <Fotografia>sample string 7</Fotografia>
      <IMAGEN_PRODUCTO>QEA=</IMAGEN_PRODUCTO>
      <Id>4</Id>
      <Imagen>sample string 8</Imagen>
      <ImagenString>sample string 16</ImagenString>
      <Nombre>sample string 5</Nombre>
      <PRECIOSIMBOLICO>15</PRECIOSIMBOLICO>
      <PROMO>true</PROMO>
      <Precio>11</Precio>
      <RutaImagen>sample string 17</RutaImagen>
      <SUBCATEGORIA>sample string 21</SUBCATEGORIA>
      <Subtotal>19</Subtotal>
      <TOTALPRODUCTOS>18</TOTALPRODUCTOS>
      <TOTALSUBCAT>20</TOTALSUBCAT>
      <Visible>9</Visible>
      <Costo>3</Costo>
      <Id_Pedido>1</Id_Pedido>
      <Id_Producto>2</Id_Producto>
    </DetallePedido>
  </Detalles>
  <Dispositivo>sample string 37</Dispositivo>
  <EstaAgendado>39</EstaAgendado>
  <Estado>sample string 13</Estado>
  <FechaAgendado>2024-04-25T06:30:38.2217141-06:00</FechaAgendado>
  <Fecha_Aceptado>2024-04-25T06:30:38.2060884-06:00</Fecha_Aceptado>
  <Fecha_Cancelado>2024-04-25T06:30:38.2060884-06:00</Fecha_Cancelado>
  <Fecha_Entrega>2024-04-25T06:30:38.2060884-06:00</Fecha_Entrega>
  <Fecha_Estimada>2024-04-25T06:30:38.2060884-06:00</Fecha_Estimada>
  <Fecha_Pedido>2024-04-25T06:30:38.2060884-06:00</Fecha_Pedido>
  <HoraEntrega>sample string 36</HoraEntrega>
  <IMAGEN_TARJETA>QEA=</IMAGEN_TARJETA>
  <Id>2</Id>
  <Id_Cliente>20</Id_Cliente>
  <Id_Direccion>7</Id_Direccion>
  <Id_Listado>23</Id_Listado>
  <Id_Repartidor>17</Id_Repartidor>
  <Id_Sucursal>32</Id_Sucursal>
  <Id_User_Acepta>25</Id_User_Acepta>
  <Id_User_Finaliza>26</Id_User_Finaliza>
  <Latitud>sample string 30</Latitud>
  <Longitud>sample string 31</Longitud>
  <Metodo_Pago>sample string 29</Metodo_Pago>
  <Municipio>sample string 12</Municipio>
  <Nombre_Cliente>sample string 21</Nombre_Cliente>
  <Nombre_Listado>sample string 24</Nombre_Listado>
  <Nombre_Repartidor>sample string 18</Nombre_Repartidor>
  <Nota_Cliente>sample string 15</Nota_Cliente>
  <Nota_User>sample string 16</Nota_User>
  <Numero_Ext>sample string 9</Numero_Ext>
  <Numero_Int>sample string 10</Numero_Int>
  <Status>33</Status>
  <TOKENPAGO>sample string 1</TOKENPAGO>
  <Telefono_Cliente>sample string 22</Telefono_Cliente>
  <Telefono_Repartidor>sample string 19</Telefono_Repartidor>
  <Token>sample string 35</Token>
</Pedido>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.