POST api/Cuenta
Request Information
URI Parameters
None.
Body Parameters
CuentaRequest| Name | Description | Type | Additional 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
}
application/xml, text/xml
Sample:
<CuentaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <idExterno>sample string 3</idExterno> <idMarca>5</idMarca> <idSistema>4</idSistema> <nombreCuenta>sample string 1</nombreCuenta> <tipoCuentaId>2</tipoCuentaId> </CuentaRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CuentaResponse| Name | Description | Type | Additional 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.Models"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </CuentaResponse>