POST api/DocumentoMarketing/generaFacturaTiposDesdePedido

Request Information

URI Parameters

None.

Body Parameters

costoFacturaAsiento
NameDescriptionTypeAdditional information
DocEntry

integer

None.

facturaReserva

boolean

None.

TaxDate

date

None.

TOKEN

string

None.

objeto

Collection of Detalle

None.

estado

boolean

None.

mensaje

string

None.

boleta

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DocEntry": 1,
  "facturaReserva": true,
  "TaxDate": "2025-12-06T00:54:21.0101479-03:00",
  "TOKEN": "sample string 4",
  "objeto": [
    {
      "lugar": 1,
      "LineNum": 2,
      "ItemCode": "sample string 3",
      "Dscription": "sample string 4",
      "Quantity": 5,
      "LineTotal": 6,
      "DiscPrcnt": 7,
      "AvgPrice": 8.1,
      "Price": 9.1,
      "BasePrice": "sample string 10"
    },
    {
      "lugar": 1,
      "LineNum": 2,
      "ItemCode": "sample string 3",
      "Dscription": "sample string 4",
      "Quantity": 5,
      "LineTotal": 6,
      "DiscPrcnt": 7,
      "AvgPrice": 8.1,
      "Price": 9.1,
      "BasePrice": "sample string 10"
    }
  ],
  "estado": true,
  "mensaje": "sample string 6",
  "boleta": true
}

application/xml, text/xml

Sample:
<DTO.INDESAD.costoFacturaAsiento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTRANET_API.Models">
  <DocEntry>1</DocEntry>
  <TOKEN>sample string 4</TOKEN>
  <TaxDate>2025-12-06T00:54:21.0101479-03:00</TaxDate>
  <boleta>true</boleta>
  <estado>true</estado>
  <facturaReserva>true</facturaReserva>
  <mensaje>sample string 6</mensaje>
  <objeto>
    <DTO.INDESAD.costoFacturaAsiento.Detalle>
      <AvgPrice>8.1</AvgPrice>
      <BasePrice>sample string 10</BasePrice>
      <DiscPrcnt>7</DiscPrcnt>
      <Dscription>sample string 4</Dscription>
      <ItemCode>sample string 3</ItemCode>
      <LineNum>2</LineNum>
      <LineTotal>6</LineTotal>
      <Price>9.1</Price>
      <Quantity>5</Quantity>
      <lugar>1</lugar>
    </DTO.INDESAD.costoFacturaAsiento.Detalle>
    <DTO.INDESAD.costoFacturaAsiento.Detalle>
      <AvgPrice>8.1</AvgPrice>
      <BasePrice>sample string 10</BasePrice>
      <DiscPrcnt>7</DiscPrcnt>
      <Dscription>sample string 4</Dscription>
      <ItemCode>sample string 3</ItemCode>
      <LineNum>2</LineNum>
      <LineTotal>6</LineTotal>
      <Price>9.1</Price>
      <Quantity>5</Quantity>
      <lugar>1</lugar>
    </DTO.INDESAD.costoFacturaAsiento.Detalle>
  </objeto>
</DTO.INDESAD.costoFacturaAsiento>

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.