Tomas Cohen Arazi
6d52d57fac
This patch introduces an /acquisitions/vendors endpoint. To test: - Apply the patch - Run: $ sudo koha-shell kohadev k$ prove t/db_dependent/api/v1/acquisitions_vendors.t => SUCCESS: Tests pass - Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"biblionumber": {
|
|
"type": "integer",
|
|
"description": "internally assigned biblio identifier"
|
|
},
|
|
"borrowernumber": {
|
|
"type": "integer",
|
|
"description": "internally assigned user identifier"
|
|
},
|
|
"cardnumber": {
|
|
"type": ["string", "null"],
|
|
"description": "library assigned user identifier"
|
|
},
|
|
"cityid": {
|
|
"type": "integer",
|
|
"description": "internally assigned city identifier",
|
|
"readOnly": true
|
|
},
|
|
"email": {
|
|
"type": ["string", "null"],
|
|
"description": "primary email address for patron's primary address"
|
|
},
|
|
"firstname": {
|
|
"type": ["string", "null"],
|
|
"description": "patron's first name"
|
|
},
|
|
"itemnumber": {
|
|
"type": ["integer", "null"],
|
|
"description": "internally assigned item identifier"
|
|
},
|
|
"phone": {
|
|
"type": ["string", "null"],
|
|
"description": "primary phone number for patron's primary address"
|
|
},
|
|
"reserve_id": {
|
|
"type": "integer",
|
|
"description": "Internal hold identifier"
|
|
},
|
|
"surname": {
|
|
"type": "string",
|
|
"description": "patron's last name"
|
|
},
|
|
"vendor_id": {
|
|
"type": "integer",
|
|
"description": "internally assigned vendor identifier",
|
|
"readOnly": true
|
|
}
|
|
}
|