POST api/WMS/GeneraGuiaDesdeFacturaReserva

Request Information

URI Parameters

None.

Body Parameters

DocumentoMarketing
NameDescriptionTypeAdditional information
Respuesta

respuesta

None.

CardCode

string

None.

DocEntryNV

integer

None.

DocEntrySOL

integer

None.

DocDueDate

date

None.

DocDate

date

None.

TaxDate

date

None.

NumAtCard

string

None.

Series

integer

None.

Comments

string

None.

detalle

Collection of DocumentoLineaMarketing

None.

UserFields

Collection of UserField

None.

Request Formats

application/json, text/json

Sample:
{
  "Respuesta": {
    "estado": true,
    "mensaje": "sample string 2",
    "token": "sample string 3",
    "objeto": {}
  },
  "CardCode": "sample string 1",
  "DocEntryNV": 1,
  "DocEntrySOL": 1,
  "DocDueDate": "2025-12-15T10:05:09.5204817-03:00",
  "DocDate": "2025-12-15T10:05:09.5204817-03:00",
  "TaxDate": "2025-12-15T10:05:09.5204817-03:00",
  "NumAtCard": "sample string 5",
  "Series": 6,
  "Comments": "sample string 7",
  "detalle": [
    {
      "Line": 1,
      "ItemCode": "sample string 2",
      "Dscription": "sample string 3",
      "Quantity": 4.1,
      "Price": 5.1,
      "LineTotal": 6.1,
      "GASTO_ADICIONAL": 1.1,
      "BaseType": 1,
      "BaseLine": 1,
      "BaseEntry": 1,
      "FromWhsCode": "sample string 7",
      "WhsCode": "sample string 8",
      "UserFields": [
        {
          "Field": "sample string 1",
          "Type": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "Field": "sample string 1",
          "Type": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "lotes": [
        {
          "lote": "sample string 1",
          "Quantity": 2.1
        },
        {
          "lote": "sample string 1",
          "Quantity": 2.1
        }
      ]
    },
    {
      "Line": 1,
      "ItemCode": "sample string 2",
      "Dscription": "sample string 3",
      "Quantity": 4.1,
      "Price": 5.1,
      "LineTotal": 6.1,
      "GASTO_ADICIONAL": 1.1,
      "BaseType": 1,
      "BaseLine": 1,
      "BaseEntry": 1,
      "FromWhsCode": "sample string 7",
      "WhsCode": "sample string 8",
      "UserFields": [
        {
          "Field": "sample string 1",
          "Type": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "Field": "sample string 1",
          "Type": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "lotes": [
        {
          "lote": "sample string 1",
          "Quantity": 2.1
        },
        {
          "lote": "sample string 1",
          "Quantity": 2.1
        }
      ]
    }
  ],
  "UserFields": [
    {
      "Field": "sample string 1",
      "Type": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Field": "sample string 1",
      "Type": "sample string 2",
      "Value": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<WMS.DocumentoMarketing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INDESAD.Models">
  <CardCode>sample string 1</CardCode>
  <Comments>sample string 7</Comments>
  <DocDate>2025-12-15T10:05:09.5204817-03:00</DocDate>
  <DocDueDate>2025-12-15T10:05:09.5204817-03:00</DocDueDate>
  <DocEntryNV>1</DocEntryNV>
  <DocEntrySOL>1</DocEntrySOL>
  <NumAtCard>sample string 5</NumAtCard>
  <Respuesta>
    <estado>true</estado>
    <mensaje>sample string 2</mensaje>
    <objeto />
    <token>sample string 3</token>
  </Respuesta>
  <Series>6</Series>
  <TaxDate>2025-12-15T10:05:09.5204817-03:00</TaxDate>
  <UserFields>
    <WMS.UserField>
      <Field>sample string 1</Field>
      <Type>sample string 2</Type>
      <Value>sample string 3</Value>
    </WMS.UserField>
    <WMS.UserField>
      <Field>sample string 1</Field>
      <Type>sample string 2</Type>
      <Value>sample string 3</Value>
    </WMS.UserField>
  </UserFields>
  <detalle>
    <WMS.DocumentoLineaMarketing>
      <BaseEntry>1</BaseEntry>
      <BaseLine>1</BaseLine>
      <BaseType>1</BaseType>
      <Dscription>sample string 3</Dscription>
      <FromWhsCode>sample string 7</FromWhsCode>
      <GASTO_ADICIONAL>1.1</GASTO_ADICIONAL>
      <ItemCode>sample string 2</ItemCode>
      <Line>1</Line>
      <LineTotal>6.1</LineTotal>
      <Price>5.1</Price>
      <Quantity>4.1</Quantity>
      <UserFields>
        <WMS.UserField>
          <Field>sample string 1</Field>
          <Type>sample string 2</Type>
          <Value>sample string 3</Value>
        </WMS.UserField>
        <WMS.UserField>
          <Field>sample string 1</Field>
          <Type>sample string 2</Type>
          <Value>sample string 3</Value>
        </WMS.UserField>
      </UserFields>
      <WhsCode>sample string 8</WhsCode>
      <lotes>
        <WMS.Lote>
          <Quantity>2.1</Quantity>
          <lote>sample string 1</lote>
        </WMS.Lote>
        <WMS.Lote>
          <Quantity>2.1</Quantity>
          <lote>sample string 1</lote>
        </WMS.Lote>
      </lotes>
    </WMS.DocumentoLineaMarketing>
    <WMS.DocumentoLineaMarketing>
      <BaseEntry>1</BaseEntry>
      <BaseLine>1</BaseLine>
      <BaseType>1</BaseType>
      <Dscription>sample string 3</Dscription>
      <FromWhsCode>sample string 7</FromWhsCode>
      <GASTO_ADICIONAL>1.1</GASTO_ADICIONAL>
      <ItemCode>sample string 2</ItemCode>
      <Line>1</Line>
      <LineTotal>6.1</LineTotal>
      <Price>5.1</Price>
      <Quantity>4.1</Quantity>
      <UserFields>
        <WMS.UserField>
          <Field>sample string 1</Field>
          <Type>sample string 2</Type>
          <Value>sample string 3</Value>
        </WMS.UserField>
        <WMS.UserField>
          <Field>sample string 1</Field>
          <Type>sample string 2</Type>
          <Value>sample string 3</Value>
        </WMS.UserField>
      </UserFields>
      <WhsCode>sample string 8</WhsCode>
      <lotes>
        <WMS.Lote>
          <Quantity>2.1</Quantity>
          <lote>sample string 1</lote>
        </WMS.Lote>
        <WMS.Lote>
          <Quantity>2.1</Quantity>
          <lote>sample string 1</lote>
        </WMS.Lote>
      </lotes>
    </WMS.DocumentoLineaMarketing>
  </detalle>
</WMS.DocumentoMarketing>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DocumentoMarketing'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.