POST api/Cuenta_Bulk

Request Information

URI Parameters

None.

Body Parameters

Collection of CuentaRequest
NameDescriptionTypeAdditional information
nombreCuenta

string

None.

tipoCuentaId

integer

None.

idExterno

string

None.

idSistema

integer

None.

idMarca

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "nombreCuenta": "sample string 1",
    "tipoCuentaId": 2,
    "idExterno": "sample string 3",
    "idSistema": 4,
    "idMarca": 5
  },
  {
    "nombreCuenta": "sample string 1",
    "tipoCuentaId": 2,
    "idExterno": "sample string 3",
    "idSistema": 4,
    "idMarca": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfCuentaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
  <CuentaRequest>
    <idExterno>sample string 3</idExterno>
    <idMarca>5</idMarca>
    <idSistema>4</idSistema>
    <nombreCuenta>sample string 1</nombreCuenta>
    <tipoCuentaId>2</tipoCuentaId>
  </CuentaRequest>
  <CuentaRequest>
    <idExterno>sample string 3</idExterno>
    <idMarca>5</idMarca>
    <idSistema>4</idSistema>
    <nombreCuenta>sample string 1</nombreCuenta>
    <tipoCuentaId>2</tipoCuentaId>
  </CuentaRequest>
</ArrayOfCuentaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CuentaResponse
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:
<CuentaResponse 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>
</CuentaResponse>