POST api/Inventarios/NuevaNota

Request Information

URI Parameters

None.

Body Parameters

datosNota
NameDescriptionTypeAdditional information
idNota

integer

None.

cantidad

decimal number

None.

descripcionArticulo

string

None.

descripcionNota

string

None.

entradaSalida

string

None.

idAlmacen

integer

None.

idArticulo

integer

None.

idEmpresa

globally unique identifier

None.

idOrden

integer

None.

idTipoNota

integer

None.

idUsuario

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idNota": 1,
  "cantidad": 2.0,
  "descripcionArticulo": "sample string 3",
  "descripcionNota": "sample string 4",
  "entradaSalida": "sample string 5",
  "idAlmacen": 6,
  "idArticulo": 7,
  "idEmpresa": "d7d39d3c-0fd4-4a11-b5a3-16b307110914",
  "idOrden": 9,
  "idTipoNota": 10,
  "idUsuario": 11
}

application/xml, text/xml

Sample:
<datosNota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS">
  <cantidad>2</cantidad>
  <descripcionArticulo>sample string 3</descripcionArticulo>
  <descripcionNota>sample string 4</descripcionNota>
  <entradaSalida>sample string 5</entradaSalida>
  <idAlmacen>6</idAlmacen>
  <idArticulo>7</idArticulo>
  <idEmpresa>d7d39d3c-0fd4-4a11-b5a3-16b307110914</idEmpresa>
  <idNota>1</idNota>
  <idOrden>9</idOrden>
  <idTipoNota>10</idTipoNota>
  <idUsuario>11</idUsuario>
</datosNota>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idNota"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="cantidad"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="descripcionArticulo"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="descripcionNota"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="entradaSalida"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idAlmacen"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idArticulo"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

d7d39d3c-0fd4-4a11-b5a3-16b307110914
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idOrden"

9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idTipoNota"

10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

11
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--