Get customers with no card
GET {{AppUrl}}/api/v1/issuer/customer/no-card
Introduction
Get all customers that are eligible for a card. Only active customers with a WMO disposal are eligible for a card.
Structure
Item | Type | Plurality | Options | Required | Description | ||
---|---|---|---|---|---|---|---|
id | integer | 1 | yes | Identifier. | |||
first_name | varchar(255) | 1 | yes | First name. | |||
initials | varchar(255) | 1 | yes | Initials. | |||
infix | varchar(255) | 1 | no | Infix. | |||
last_name | varchar(255) | 1 | yes | Last name. | |||
gender | varchar(1) | 1 | m f | yes | Gender (male or female). | ||
phone_number | varchar(255) | 1 | yes | Phone number. | |||
mobilephonenumber | varchar(255) | 1 | yes | Mobile phone number. | |||
varchar(255) | 1 | yes | E-mail address. | ||||
dateofbirth | DateTime | 1 | yes | Date of birth. | |||
payment_method | varchar(50) | 1 | cash direct-debit | yes | Payment method. | ||
directdebitrequested_at | DateTime | 1 | no | Date and time when direct debit authorization was requested for this customer. | |||
directdebitauthorized_at | DateTime | 1 | no | Date and time when direct debit request was authorized. | |||
municipality_code | varchar(4) | 1 | yes | The numeric code of the municipality. | |||
cardtype | varchar(255) | 1 | no | Defect or lost. Param to indicate whether a card was lost or defect. | |||
addresses | array | N | yes | Home, post and billing are required. Extra custom addresses are optional. | |||
type | varchar(255) | 1 | home post billing custom | yes | Type of address (home, post, billing or custom). | ||
differentfromhome | boolean | 1 | 0 1 | yes | Indicates whether this address differs from the home address. | ||
label | varchar(255) | 1 | yes* | Label to identify the type of custom address. *Only required on addresses of type 'custom'. | |||
street | varchar(255) | 1 | yes* | Street name. *Required on the home address and any addresses that have 'differentfromhome' set to 1. | |||
number | varchar(255) | 1 | yes* | House number. *Required on the home address and any addresses that have 'differentfromhome' set to 1. | |||
addition | varchar(255) | 1 | no | House number addition. | |||
postcode | varchar(255) | 1 | yes* | Postal code. *Required on the home address and any addresses that have 'differentfromhome' set to 1. | |||
city | varchar(255) | 1 | yes* | City. *Required on the home address and any addresses that have 'differentfromhome' set to 1. | |||
created_at | DateTime | 1 | yes | Date/time the customer was created. | |||
updated_at | DateTime | 1 | yes | Date/time customer was last modified. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"id":50,"first_name":"Mick","initials":"M","infix":"","last_name":"Schipper","gender":"m","phone_number":"+3120 5852978","mobile_phone_number":"0643438998","email":"mees.vanderlede@example.net","date_of_birth":"2002-02-06T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-11-28T10:23:02+01:00","direct_debit_authorized_at":"2018-12-04T21:22:49+01:00","municipality_code":"6417","cardtype":"defect","blocked":false,"addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Molenaarboulevard","number":"3114","addition":"b","postcode":"2562VH","city":"Drogteropslagen"},{"type":"post","different_from_home":1,"label":null,"street":"Smitlaan","number":"3090","addition":"a","postcode":"6673DB","city":"Overveen"},{"type":"billing","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"custom","different_from_home":0,"label":"Qui perspiciatis","street":"Haengreveboulevard","number":"2810","addition":"b","postcode":"1334DP","city":"Zwaagdijk-West"},{"type":"custom","different_from_home":0,"label":"Molestias autem","street":"Bruggemanring","number":"1109","addition":"b","postcode":"2242PK","city":"Rheezerveen"}],"created_at":"2018-12-10T15:23:21+01:00","updated_at":"2018-12-10T15:23:27+01:00"},{"id":62,"first_name":"Lily","initials":"L","infix":"","last_name":"Peeters","gender":"f","phone_number":"+3173 3526773","mobile_phone_number":"+31(0)6-43813624","email":"vanderkint.naud@example.net","date_of_birth":"2012-10-29T00:00:00+01:00","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":"2018-12-06T01:13:46+01:00","direct_debit_authorized_at":null,"municipality_code":"4808","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"Kösterboulevard","number":"730","addition":"c","postcode":"7311AL","city":"Langezwaag"},{"type":"post","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"billing","different_from_home":0,"label":null,"street":null,"number":null,"addition":null,"postcode":null,"city":null},{"type":"custom","different_from_home":0,"label":"Cum recusandae","street":"de Bruinweg","number":"747","addition":"bis","postcode":"3527EJ","city":"Buurmalsen"},{"type":"custom","different_from_home":0,"label":"Alias voluptatibus","street":"Ramosring","number":"2698","addition":null,"postcode":"8231JL","city":"Aldeboarn"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:24:26+01:00"},{"id":68,"first_name":"Lotte","initials":"L","infix":"","last_name":"Kruns","gender":"f","phone_number":"+3110 6298475","mobile_phone_number":"06-84283498","email":"tara45@example.org","date_of_birth":"1931-02-24T00:00:00+00:19","bankaccount":"NL27YBGI2209095944","bankaccount_name":"D Blewanus","payment_method":"cash","direct_debit_requested_at":null,"direct_debit_authorized_at":null,"municipality_code":"3258","addresses":[{"type":"home","different_from_home":1,"label":null,"street":"van Munsterdreef","number":"2724","addition":"b","postcode":"6655AE","city":"Paterswolde"},{"type":"post","different_from_home":1,"label":null,"street":"van Dijkpad","number":"150","addition":"c","postcode":"8446CM","city":"Hummelo"},{"type":"billing","different_from_home":1,"label":null,"street":"van Arnsberglaan","number":"2468","addition":null,"postcode":"3628AC","city":"Meppel"},{"type":"custom","different_from_home":0,"label":"Accusantium esse","street":"van den Brinksteeg","number":"419","addition":"a","postcode":"3515GC","city":"De Klomp"}],"created_at":"2018-12-10T15:23:22+01:00","updated_at":"2018-12-10T15:23:28+01:00"}],"links":{"first":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card?page=1","last":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"path":"https://vitapp.localtest.me/api/v1/issuer/customer/no-card","per_page":50,"to":3,"total":3}}