MT#63320 /api/vouchers add search by code

* search can now be performed by code, where the code is expected
  to be a base64 encoded string

Change-Id: Ic53f28aef1cc676570aec3f346818f717c565bc4
mr14.0
Kirill Solomko 1 year ago
parent 4a38eace57
commit 4c28a0d0cc

@ -42,7 +42,13 @@ sub query_params {
},
second => sub {},
},
}, ];
},
{
param => 'code',
description => 'Filter for a voucher with the base64 encoded code',
query_type => 'string_eq',
},
],
}
use parent qw/NGCP::Panel::Role::Entities NGCP::Panel::Role::API::Vouchers/;

Loading…
Cancel
Save