POST api/Cajas/InsertarCaja

Request Information

URI Parameters

None.

Body Parameters

Cajas
NameDescriptionTypeAdditional information
CodCaja

string

None.

NomCaja

string

Required

Max length: 30

Request Formats

application/json, text/json

Sample:
{
  "CodCaja": "sample string 1",
  "NomCaja": "sample string 2"
}

application/xml, text/xml

Sample:
<Cajas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CheckIn.Domain">
  <CodCaja>sample string 1</CodCaja>
  <NomCaja>sample string 2</NomCaja>
</Cajas>

multipart/form-data

Sample:
<Cajas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CheckIn.Domain"><CodCaja>sample string 1</CodCaja><NomCaja>sample string 2</NomCaja></Cajas>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Cajas
NameDescriptionTypeAdditional information
CodCaja

string

None.

NomCaja

string

Required

Max length: 30

Response Formats

application/json, text/json

Sample:
{
  "CodCaja": "sample string 1",
  "NomCaja": "sample string 2"
}

application/xml, text/xml

Sample:
<Cajas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CheckIn.Domain">
  <CodCaja>sample string 1</CodCaja>
  <NomCaja>sample string 2</NomCaja>
</Cajas>

multipart/form-data

Sample:
<Cajas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CheckIn.Domain"><CodCaja>sample string 1</CodCaja><NomCaja>sample string 2</NomCaja></Cajas>