POST api/Caja

Request Information

URI Parameters

None.

Body Parameters

CajaRequest
NameDescriptionTypeAdditional information
idExterno

integer

None.

nombreCaja

string

None.

sucursalId

integer

None.

cuentaId

integer

None.

BovedaID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idExterno": 1,
  "nombreCaja": "sample string 2",
  "sucursalId": 3,
  "cuentaId": 4,
  "BovedaID": 5
}

application/xml, text/xml

Sample:
<CajaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
  <BovedaId>5</BovedaId>
  <CuentaId>4</CuentaId>
  <IdExterno>1</IdExterno>
  <NombreCaja>sample string 2</NombreCaja>
  <SucursalId>3</SucursalId>
</CajaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CajaResponse
NameDescriptionTypeAdditional information
responseCode

integer

None.

responseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "responseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<CajaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
  <responseCode>1</responseCode>
  <responseMessage>sample string 2</responseMessage>
</CajaResponse>