PUT api/Pedido/{id}

Modifica un objeto pedido en la base de datos

Informacion Request

URI Parametros

NombreDescripcionTipoInformacion Adicicional
id

Id unico del pedido

integer

Required

Parametros Body

Objeto dto para el paso de valores

PedidoCabecera
NombreDescripcionTipoInformacion Adicicional
BusinessPartnerId

Id de Socio de Negocios

string

Ninguno.

BusinessPartnerIdDestiny

string

Ninguno.

FechaSolicitud

date

Ninguno.

CompanyId

integer

Ninguno.

SiteId

integer

Ninguno.

UsuarioId

integer

Ninguno.

SectorId

integer

Ninguno.

TipoId

integer

Ninguno.

DestinoId

integer

Ninguno.

EstadoId

integer

Ninguno.

WorkTypeId

integer

Ninguno.

PackageStateId

integer

Ninguno.

SectorNombre

string

Ninguno.

Nota

string

Ninguno.

ExisteReserva

boolean

Ninguno.

Formato Request

application/json, text/json

Ejemplo:
{
  "BusinessPartnerId": "sample string 1",
  "BusinessPartnerIdDestiny": "sample string 2",
  "FechaSolicitud": "2025-12-06T00:40:55.7820244-03:00",
  "CompanyId": 4,
  "SiteId": 5,
  "UsuarioId": 6,
  "SectorId": 7,
  "TipoId": 8,
  "DestinoId": 9,
  "EstadoId": 10,
  "WorkTypeId": 11,
  "PackageStateId": 12,
  "SectorNombre": "sample string 13",
  "Nota": "sample string 14",
  "ExisteReserva": true
}

application/xml, text/xml

Ejemplo:
<DtoObj.PedidoCabecera xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INNVITA_DTO">
  <BusinessPartnerId>sample string 1</BusinessPartnerId>
  <BusinessPartnerIdDestiny>sample string 2</BusinessPartnerIdDestiny>
  <CompanyId>4</CompanyId>
  <DestinoId>9</DestinoId>
  <EstadoId>10</EstadoId>
  <ExisteReserva>true</ExisteReserva>
  <FechaSolicitud>2025-12-06T00:40:55.7820244-03:00</FechaSolicitud>
  <Nota>sample string 14</Nota>
  <PackageStateId>12</PackageStateId>
  <SectorId>7</SectorId>
  <SectorNombre>sample string 13</SectorNombre>
  <SiteId>5</SiteId>
  <TipoId>8</TipoId>
  <UsuarioId>6</UsuarioId>
  <WorkTypeId>11</WorkTypeId>
</DtoObj.PedidoCabecera>

application/x-www-form-urlencoded

Ejemplo:

Sample not available.

Informacion Response

Descripcion Recurso

Retorna un booleano

boolean

Formato Response

application/json, text/json

Ejemplo:
true

application/xml, text/xml

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