POST api/Complemento?strCookie={strCookie}&strLineaId={strLineaId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
strCookie

string

Required

strLineaId

string

Required

Body Parameters

Collection of Complemento
NameDescriptionTypeAdditional information
intId

integer

None.

strNombre

string

None.

decPVP

decimal number

None.

intTipo

integer

None.

strActivo

string

None.

strMarcado

string

None.

strNotas

string

None.

decIva

decimal number

None.

strArticuloExtId

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "intId": 1,
    "strNombre": "sample string 2",
    "decPVP": 3.0,
    "intTipo": 4,
    "strActivo": "sample string 5",
    "strMarcado": "sample string 6",
    "strNotas": "sample string 7",
    "decIva": 8.0,
    "strArticuloExtId": "sample string 9"
  },
  {
    "intId": 1,
    "strNombre": "sample string 2",
    "decPVP": 3.0,
    "intTipo": 4,
    "strActivo": "sample string 5",
    "strMarcado": "sample string 6",
    "strNotas": "sample string 7",
    "decIva": 8.0,
    "strArticuloExtId": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfComplemento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestTpvWA.Models">
  <Complemento>
    <decIva>8</decIva>
    <decPVP>3</decPVP>
    <intId>1</intId>
    <intTipo>4</intTipo>
    <strActivo>sample string 5</strActivo>
    <strArticuloExtId>sample string 9</strArticuloExtId>
    <strMarcado>sample string 6</strMarcado>
    <strNombre>sample string 2</strNombre>
    <strNotas>sample string 7</strNotas>
  </Complemento>
  <Complemento>
    <decIva>8</decIva>
    <decPVP>3</decPVP>
    <intId>1</intId>
    <intTipo>4</intTipo>
    <strActivo>sample string 5</strActivo>
    <strArticuloExtId>sample string 9</strArticuloExtId>
    <strMarcado>sample string 6</strMarcado>
    <strNombre>sample string 2</strNombre>
    <strNotas>sample string 7</strNotas>
  </Complemento>
</ArrayOfComplemento>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.