Vouchers Models
Beneficiario de bono
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherBeneficiary/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherBeneficiary
Create
POST https://dev.v3manager.com/api/model/voucherBeneficiary
Update
POST https://dev.v3manager.com/api/model/voucherBeneficiary/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherBeneficiary/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| customer |
Titular |
int |
yes |
no |
| beneficiary |
Beneficiario |
int |
yes |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Bono
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucher/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucher
Create
POST https://dev.v3manager.com/api/model/voucher
Update
POST https://dev.v3manager.com/api/model/voucher/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucher/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| customer |
Cliente |
int |
yes |
no |
| type |
Tipo |
int |
yes |
no |
| unitPrice |
Precio por unidad |
currency |
yes |
no |
| balance |
Saldo |
float |
yes |
no |
| startDate |
Válido desde |
date |
no |
no |
| endDate |
Válido hasta |
date |
no |
no |
| startTime |
Hora desde |
time |
no |
no |
| endTime |
Hora hasta |
time |
no |
no |
| daysOfWeek |
Días de la semana |
daysOfWeek |
no |
no |
| comments |
Observaciones |
text |
no |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Categoría de Bono
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherCategory/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherCategory
Create
POST https://dev.v3manager.com/api/model/voucherCategory
Update
POST https://dev.v3manager.com/api/model/voucherCategory/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherCategory/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| name |
Nombre |
string |
yes |
no |
| priority |
Priority |
int |
yes |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Filtro de Producto
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherProduct/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherProduct
Create
POST https://dev.v3manager.com/api/model/voucherProduct
Update
POST https://dev.v3manager.com/api/model/voucherProduct/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherProduct/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| type |
Tipo |
int |
yes |
no |
| product |
Producto |
int |
yes |
no |
| ratio |
Ratio |
float |
no |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Tipo de bono
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherType/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherType
Create
POST https://dev.v3manager.com/api/model/voucherType
Update
POST https://dev.v3manager.com/api/model/voucherType/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherType/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| name |
Nombre |
string |
yes |
no |
| kind |
Tipo |
select |
yes |
no |
| product |
Producto |
int |
yes |
no |
| shortDescription |
Descripción corta |
string |
no |
no |
| expiration |
Caducidad |
duration |
no |
no |
| startTime |
Hora desde |
time |
no |
no |
| endTime |
Hora hasta |
time |
no |
no |
| daysOfWeek |
Días de la semana |
daysOfWeek |
no |
no |
| customerTag |
Etiqueta que asigna |
int |
no |
no |
| successUrl |
URL de éxito |
string |
no |
no |
| successUrlPos |
URL de éxito en TPV |
string |
no |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Values for kind
| Value |
Name |
| 1 |
Monedero |
| 3 |
Unidades |
Transacción
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherTransaction/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherTransaction
Create
POST https://dev.v3manager.com/api/model/voucherTransaction
Update
POST https://dev.v3manager.com/api/model/voucherTransaction/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherTransaction/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| voucher |
Bono |
int |
yes |
no |
| description |
Descripción |
string |
yes |
no |
| sale |
Venta |
int |
no |
no |
| salePayment |
|
int |
no |
no |
| payment |
Cobro |
int |
no |
no |
| amount |
Cantidad |
float |
yes |
no |
| balanceAfter |
Saldo |
float |
yes |
no |
| unitPrice |
|
currency |
yes |
no |
| useDate |
Fecha de uso |
datetime |
yes |
no |
| fkModel |
|
fkModel |
no |
yes |
| fkId |
|
int |
no |
yes |
| ratio |
Ratio |
float |
no |
no |
| refunded |
Devuelta |
bool |
yes |
no |
| type |
Tipo |
select |
yes |
no |
| voucherType |
Tipo |
string |
yes |
no |
| customerName |
Cliente |
string |
yes |
no |
| beneficiary |
Beneficiario |
int |
no |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Values for type
| Value |
Name |
| 1 |
Recarga |
| 2 |
Consumo |
| 3 |
Manual |
| 4 |
Recarga masiva |
VoucherPrice
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/voucherPrice/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/voucherPrice
Create
POST https://dev.v3manager.com/api/model/voucherPrice
Update
POST https://dev.v3manager.com/api/model/voucherPrice/[id]
Delete
DELETE https://dev.v3manager.com/api/model/voucherPrice/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| type |
Tipo |
int |
yes |
no |
| tagFilter |
Etiqueta de filtro |
int |
no |
no |
| amount |
Cantidad de Recarga |
float |
yes |
no |
| price |
Precio |
currency |
yes |
no |
| online |
Disponible online |
bool |
yes |
no |
| minAge |
Edad mínima |
int |
no |
no |
| maxAge |
Edad máxima |
int |
no |
no |
| description |
Descripción |
text |
no |
no |
| priority |
Prioridad |
int |
yes |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |