POST api/VariableMuestraDetalle/InsertAll

Request Information

URI Parameters

None.

Body Parameters

RequestVariableMuestra
NameDescriptionTypeAdditional information
idVariableMuestra

integer

None.

variableMuestra

Collection of RequestVariableMuestraDetalle

None.

observacion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idVariableMuestra": 1,
  "variableMuestra": [
    {
      "id": 1,
      "idTipoMuestra": 2,
      "lectura": 3.0,
      "resultado": true
    },
    {
      "id": 1,
      "idTipoMuestra": 2,
      "lectura": 3.0,
      "resultado": true
    }
  ],
  "observacion": "sample string 2"
}

application/xml, text/xml

Sample:
<RequestVariableMuestra xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICalidadHD.Models">
  <IdVariableMuestra>1</IdVariableMuestra>
  <Observacion>sample string 2</Observacion>
  <VariableMuestra>
    <RequestVariableMuestraDetalle>
      <Id>1</Id>
      <IdTipoMuestra>2</IdTipoMuestra>
      <Lectura>3</Lectura>
      <Resultado>true</Resultado>
    </RequestVariableMuestraDetalle>
    <RequestVariableMuestraDetalle>
      <Id>1</Id>
      <IdTipoMuestra>2</IdTipoMuestra>
      <Lectura>3</Lectura>
      <Resultado>true</Resultado>
    </RequestVariableMuestraDetalle>
  </VariableMuestra>
</RequestVariableMuestra>

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.