The fincrm is an http based restful json api. The api is currently in the alpha phase, so that third party developers can provide us with feedback before we will release the beta and stable version of the api. Although we try to avoid it, the API might change without further announcement during alpha phase.
If you have questions, comments or other feedback regarding the api dont hesitate to contact us.
Sign up to our developer newsletter to get notified about api changes.
All notable changes to this project will be documented in this section.
POST /leads
endpoint to create a case with one single request (applicants, purpose and property). GET /customers/{customerId}/tags
endpoint to get all tags of a customer. POST /customers/{customerId}/tags
endpoint to ass one or more tags to a customer. DELETE /customers/{customerId}/tags
endpoint to remove one or more tags from a customer.GET /institutes/{institudeId}
endpoint. POST /institutes/
endpoint. PUT /institutes/{institudeId}
endpoint. DELETE /institutes/{institudeId}
endpoint.GET /institutes
endpoint.GET /intermediaries
endpoint.GET /customers/{customerId}/purposes
endpoint. POST /customers/{customerId}/properties
endpoint. purpose.state
from integer (-1
, 0
, 1
,2
) to string (ACTIVE
, ON_HOLD
, WON
, LOST
) and removed property state_name. won_at
, lost_at
, on_hold_since
with state_since
. loss_reason
, on_hold_reason
with state_reason
. loss_note
, on_hold_note
with state_note
.GET /customers/{customerId}/properties
endpoint. POST /customers/{customerId}/properties
endpoint. salutation
as required field from customer endpoints. street_number
fields.fincrm API supports two authentication methods: OAuth 2 (Authorization Code Grant) and Personal Access Tokens.
This is the preferred authentication method for the fincrm Api.
When using authorization codes, a client application will redirect a user to the fincrm server where they will either approve or deny the authorization request to issue an access token to the client.
fincrm issues access tokens that expire after one year.
First the 3rd party application (the client) needs to be registered in the finCRM application settings with a name and a URL that finCRM can redirect to after users approve the request for authorization. Once a client has been created, developers may use the client ID and secret to request an authorization code and access token from fincrm.
After registering the application (client) the client should make a redirect request to fincrm´s https://{subdomain}.fincrm.de/oauth/authorize
endpoint:
client_id
: [CLIENT_ID] (defined when the client was registered)redirect_uri
: [REDIRECT_URI] (defined when the client was registered)response_type
: 'code'scope
: ''state
: [CLIENT_STATE] (Optional, an opaque value used by the client to maintain state between the request and callback)When receiving the authorization request, fincrm will ask the user to approve or deny the request. If the user approves the authorization request, they will be redirected back to the consuming application.
The consuming application should then issue a POST request to fincrms https://{subdomain}.fincrm.de/api/v1/oauth/token
endpoint to request an access token:
grant_type
: 'authorization_code'client_id
: [CLIENT_ID] (defined when the client was registered)client_secret
: [CLIENT_SECRET] (defined when the client was registered)redirect_uri
: [REDIRECT_URI] (defined when the client was registered)code
: [AUTHORIZATION_CODE] (authorization code that was issued by fincrm when the user approved the authorization request)fincrm will return a JSON response containing access_token
, refresh_token
, and expires_in
attributes. The expires_in attribute contains the number of seconds until the access token expires.
Users will need to refresh their access tokens after 1 year via the refresh token that was provided to them when the access token was issued. Consuming applications can refresh the access token by sending a POST request to the https://{subdomain}.fincrm.de/api/v1/oauth/token
endpoint:
grant_type
: 'refresh_token'refresh_token
: [REFRESH_TOKEN] (provided when the access token was issued)client_id
: [CLIENT_ID] (defined when the client was registered)client_secret
: [CLIENT_SECRET] (defined when the client was registered)scope
: ''fincrm will return a JSON response containing access_token
, refresh_token
, and expires_in
attributes. The expires_in attribute contains the number of seconds until the access token expires.
3rd Party applications should send the access token as a Bearer
token in the Authorization header of their request.
authorizationCode
https://{subdomain}.fincrm.de/oauth/authorize
https://{subdomain}.fincrm.de/api/v1/oauth/token
*
- fincrm API currently does not support scoped tokens.
fincrm users are able to issue access tokens to themselves in the settings area of the fincrm application without going through the typical authorization code redirect flow. This is helpful for testing and development purposes.
Personal access tokens are always long-lived tokens and will not expire. Use it with caution!
3rd Party applications should send the access token as a Bearer
token in the Authorization header of their request.
Bearer
Operators can optionally be used to filter finCRM resources.
Usage: api/[VERSION]/[ENDPOINT]/?[FIELD]:[OPERATOR]=[VALUE]
The allowed operators depend on the field.
Available Operators
lte
: The field should be less than or equal to the given value. [FIELD]:lte=5
gte
: The field should be greater than or equal to the given value. [FIELD]:gte=5
lt
: The field should be less than the given value. [FIELD]:lt=5
gt
: The field should be greater than the given value. [FIELD]:gt=5
like
: The field should contain the given value. Wildcards are allowed in the value. [FIELD]:like=*my-query*
not-like
: The field should not contain the given value. Wildcards are allowed in the value. [FIELD]:not-like=*my-query*
in
: The field should be equal to any of the values separated by comma. [FIELD]:in=1,2,3
not-in
: The field should not be equal to any of the values separated by comma. [FIELD]:not-in=1,2,3
bt
: The field should not be between two values separated by comma. [FIELD]:bt=2018-01-01,2018-12-12
fincrm API has a rate limit of 60 requests per minute
. If you exceed this limit,
you will get a 429 Too Many Requests
response for subsequent requests.
Response Headers
X-RateLimit-Limit
: The maximum number of requests that the consumer is permitted to make per minute.X-RateLimit-Remaining
: The number of requests remaining in the current rate limit window.X-RateLimit-Reset
: The time at which the current rate limit window resets in UTC epoch seconds.Create a new lead with the applicants (customer & partner), property and purpose.
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
required | Array of objects (Applicant) [ 1 .. 2 ] items An array containing the applicants of the lead.. |
required | object (LeadPurpose) The purpose of the lead |
(string or null) or (integer or null) The email address or id of the user the lead should be assigned to. | |
CUSTOMER (object) or INTERMEDIARY (object) or CUSTOM (object) | |
object or null (LeadProperty) The property of the lead | |
notes | Array of strings or null Default: "[]" An array containing the notes for the applicant 1. |
notify | boolean or null Default: false Whether or not the owner of the lead should be notified. |
tags | Array of strings or null Default: "[]" An array containing the name of tags of the lead. The tags are case insensitive. |
{- "assign_to": "test@fincrm.de",
- "source": {
- "type": "CUSTOMER",
- "id": 24,
- "email": "test@fincrm.de"
}, - "applicants": [
- {
- "title": "Dr.",
- "salutation": "Herr",
- "first_name": "Max",
- "last_name": "Mustermann",
- "postal_code": "50273",
- "city": "Köln",
- "federal_state": "NRW",
- "email": null,
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "job": "Online Redakteur",
- "primary_income_per_month": 2500,
- "occupational_group": "CIVIL_SERVANT"
}
], - "property": {
- "type": "APARTMENT",
- "usage": "MIXED_USE",
- "construction_year": 2018,
- "postal_code": "50273",
- "city": "Köln",
- "federal_state": "NRW",
- "street": "Musterstraße",
- "street_number": "3a",
- "living_area": 120,
- "property_size": 500
}, - "purpose": {
- "type": "BUILDING_LOAN_CONTRACT",
- "capital_requirements": {
- "purchase_price": 250000,
- "notary_fees": 2500,
- "real_estate_transfer_tax": 2500,
- "brokerage_fee": 2500,
- "consulting_fees": 2500,
- "production_costs": 2500,
- "development_costs": 2500,
- "outdoor_facilities_costs": 2500,
- "furniture_costs": 2500,
- "building_costs": 2500,
- "other_costs": 2500
}, - "capital_invested": {
- "equity": 2500,
- "own_funding": 2500
}
}, - "notes": [
- "This is my new note.",
- "This is my second note."
], - "notify": true,
- "tags": [
- "Muster Tag",
- "Muster Tag 2"
]
}
{- "applicants": [
- {
- "id": 24,
- "title": "Dr.",
- "salutation": "Herr",
- "first_name": "Max",
- "last_name": "Mustermann",
- "postal_code": "50273",
- "city": "Köln",
- "federal_state": "NRW",
- "email": null,
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "job": "Online Redakteur",
- "primary_income_per_month": 2500,
- "occupational_group": "CIVIL_SERVANT"
}
], - "property": {
- "id": 24,
- "type": "APARTMENT",
- "usage": "MIXED_USE",
- "construction_year": 2018,
- "postal_code": "50273",
- "city": "Köln",
- "federal_state": "NRW",
- "street": "Musterstraße",
- "street_number": "3a",
- "living_area": 120,
- "property_size": 500
}, - "purpose": {
- "id": 24,
- "type": "BUILDING_LOAN_CONTRACT",
- "capital_requirements": {
- "purchase_price": 250000,
- "notary_fees": 2500,
- "real_estate_transfer_tax": 2500,
- "brokerage_fee": 2500,
- "consulting_fees": 2500,
- "production_costs": 2500,
- "development_costs": 2500,
- "outdoor_facilities_costs": 2500,
- "furniture_costs": 2500,
- "building_costs": 2500,
- "other_costs": 2500
}, - "capital_invested": {
- "equity": 2500,
- "own_funding": 2500
}
}
}
Returns a list of customers matching the filter criterias.
advisor | string Example: advisor=2#user 'Filter the results by advisor of the customer. The value consists of the advisor_id followed by # as separator and the advisor_type.' |
birthday_period | string Enum: "current_month" "current_week" "last_3_month" "last_6_month" "last_month" … 8 more Example: birthday_period=next_week Filter the results by a birthday period. Show only customers that birthday is in the given period. |
channel_id | integer Example: channel_id=12 Filter the results by channel_id of the customer |
city | string Example: city=Musterstadt 'Filter the results by city of the customer. Allowed operators: |
company | string Example: company=Muster GmbH 'Filter the results by company of the customer. Allowed operators: |
created_by | integer Example: created_by=14 Filter the results by the id of the creator (user) of the customer |
created_at_end | string <date> Example: created_at_end=2019-01-25 Filter the results by created_at end date. |
created_at_period | string Enum: "current_month" "current_week" "current_year" "last_month" "last_week" … 3 more Example: created_at_period=current_year Filter the results by a created_at period. |
created_at_start | string <date> Example: created_at_start=2019-01-25 Filter the results by created_at start date. |
do_not_disturb | integer Enum: 0 1 Example: do_not_disturb=1 Filter the results by the do not disturb filter. |
first_name | string Example: first_name=max Filter the results by first name of the customer. |
last_name | string Example: last_name=mustermann Filter the results by last name of the customer. |
string Example: email=max.mustermann@musterweb.de 'Filter the results by email of the customer. Allowed operators: | |
fields | Array of arrays Items Enum: "first_name" "id" "last_name" Example: fields=id,first_name Show only a subset of the customers field. |
job | string Example: job=Architekt 'Filter the results by job of the customer. Allowed operators: |
no_channel | integer Enum: 0 1 Example: no_channel=1 Filter the results by the empty channel of the customer. |
occupational_group_id | number Example: occupational_group_id=1 Filter the results by last occupational group of the customer. |
owner_id | integer Example: owner_id=12 Filter the results by the id of the owner (user) of the customer. Allowed operators: |
page | integer >= 1 Default: 1 Example: page=3 The page to show. |
per_page | integer >= 1 Default: 15 Example: per_page=25 The number of customers showed on each page. |
phone | string Example: phone=2834653878 'Filter the results by phone_private, phone_office and mobile of the customer. Allowed operators: |
postal_code | string Example: postal_code=50362 'Filter the results by postal_code of the customer. Allowed operators: |
q | string Example: q=Max Mustermann Search the items by simple text search. |
salutation | Array of any Items Enum: 1 2 Example: salutation=1 'Filter the results by salutation/gender of the customer. Allowed operators: |
sort | string Enum: "address" "advisor_id" "birthday" "company" "created_at" … 16 more Example: sort=-updated_at Sort customers by a field. Prepend |
sourceable | string Example: sourceable=2#intermediary 'Filter the results by sourceable of the customer. The value consists of the sourceable_id followed by |
street | string Example: street=Musterstraße 'Filter the results by street of the customer. Allowed operators: |
tags | integer Example: tags=2 Filter the results by tags of the customer |
updated_at_end | string <date> Example: updated_at_end=2019-01-25 Filter the results by updated_at end date. |
updated_at | string <date> Example: updated_at=2018-09-23T12:13:42 Filter the results by a updated_at. |
updated_at_period | string Enum: "current_month" "current_week" "current_year" "last_month" "last_week" … 3 more Example: updated_at_period=current_year Filter the results by a updated_at period. |
updated_at_start | string <date> Example: updated_at_start=2019-01-25 Filter the results by updated_at start date. |
with | Array of arrays Items Enum: "advisor" "channel" "creator" "owner" "partners" … 2 more Example: with=owner,partners Load nested resources. Multiple values separated by comma are allowed. |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
[- {
- "id": 2675,
- "owner_id": 28,
- "advisor_id": 12,
- "advisor_type": "intermediary",
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary",
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "email_office": "max-mustermann@muster-gmbh.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "do_not_disturb": false,
- "industry_id": 3,
- "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "employer_in_germany": true,
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "employment_temporary_until": "2030-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "country": "DE",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "resident_since": "1995-04-01",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_id": "633876272618",
- "external_id": "user-123XX",
- "full_name_reversed": "Mustermann, Max",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "advisor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "channel": {
- "id": 232,
- "name": "Muster Tag",
- "is_system": 0,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "creator": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "editor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "owner": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "partners": [
- {
- "id": 2675,
- "customer_id": 28,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "industry_id": {
- "id": 21,
- "name": "Immobilien"
}, - "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "tax_id": "633876272618",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "customer": { }
}
], - "sourceable": {
- "id": 24,
- "channel_id": 3,
- "name": "Muster Quelle",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "tags": [
- {
- "id": 24,
- "name": "Muster Tag",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 3
}
], - "abilities": {
- "can_edit": true,
- "can_delete": false
}
}
]
Create a new customer.
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
email required | string <email> [ 1 .. 255 ] Default: null The customers email address. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
first_name required | string [ 1 .. 255 ] Default: "" The customers first name. |
last_name required | string [ 1 .. 255 ] Default: null The customers last name |
owner_id | integer Default: null The id of the owner of the customer |
advisor_id | integer Default: null The id of the adviser |
advisor_type | string Default: null Enum: "intermediary" "user" The type of the advisor |
channel_id | integer Default: null The id of the source channel |
sourceable_id | integer Default: null The id of the adviser |
sourceable_type | string Default: null Enum: "customer" "intermediary" "source" The type of the source. |
salutation | string Default: "" Enum: "Frau" "Herr" The customers salutation. |
title | string Default: null Enum: "Dr." "Prof." "Prof. Dr." The customers title. |
email_office | string <email> [ 1 .. 255 ] Default: null The customers office email address. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
birthday | string <date> Default: null The birthday of the customer. |
birth_place | string [ 1 .. 255 ] Default: null The customers birth place. |
birth_name | string [ 1 .. 255 ] Default: null The customers birth name. |
phone_private | string [ 1 .. 255 ] Default: null The customers primary private phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
phone_office | string [ 1 .. 255 ] Default: null The customers primary office phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
mobile | string [ 1 .. 255 ] Default: null The customers primary mobile phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
fax | string [ 1 .. 255 ] Default: null The customers primary fax number. |
do_not_disturb | boolean Default: false Whether or not the customer wants to be contacted. |
homepage | string [ 1 .. 255 ] Default: null Whether or not the customer wants to be contacted. |
industry_id | number Default: null Enum: 1 10 11 12 13 … 34 more The industry values are:
|
company | string [ 1 .. 255 ] Default: null The company the customer works for. |
employment_state | string Default: null Enum: "permanent" "temporary" The customers employment state. |
employer_in_germany | boolean Default: null Whether or not the employer is situated in germany. |
job | string [ 1 .. 255 ] Default: null The customers job. |
employed_since | string <date> Default: null The date since the customer works in his current job. |
employment_temporary_until | string <date> Default: null The date until the customer works in his temporary job. |
occupational_group_id | number Default: null Enum: 1 10 2 3 4 … 5 more The occupational group values are:
|
retires_at | string <date> Default: null The date when the customer will retire. |
nationality | string Default: null Enum: "AD" "AE" "AF" "AG" "AL" … 183 more The nationality. |
marital_status | string Default: null Enum: "Geschieden" "Getrennt lebend" "Ledig" "Verheiratet" "Verpartnert" … 1 more The marital status of the customer. |
marital_property | string Default: null Enum: "Gesetzlicher Güterstand" "Gütergemeinschaft" "Gütertrennung" The marital property of the customer. |
identity_card | string [ 1 .. 255 ] Default: null The identy card number of the customer. |
identity_card_created_at | string <date> Default: null The date when identity card was created. |
identity_card_created_by | string Default: null The authority that authorized the identity card. |
identity_card_expires_at | string <date> Default: null The date when identity card expires. |
country | string [ 2 .. 2 ] Default: null The country the customer lives in (ISO-3166 Alpha 2 code i.e. "DE"). |
city | string [ 1 .. 255 ] Default: null The city the customer lives in. |
street | string [ 1 .. 255 ] Default: null The street the customer lives in. |
street_number | string [ 1 .. 100 ] Default: null The street number of the customer. |
postal_code | string [ 3 .. 12 ] Default: null The customers postal code (zip). |
object Default: {} The customer's old address. | |
resident_since | string <date> Default: null The date since the customer staying in the current residence. |
bank_account | string [ 2 .. 70 ] Default: null The customers bank account name. |
bank_institution | string [ 2 .. 255 ] Default: null The customers bank name. |
iban | string [ 22 .. 34 ] Default: null The customers iban. |
bic | string [ 11 .. 22 ] Default: null The customers bic. |
tax_id | string [ 11 .. 11 ] Default: null The customers tax id. |
external_id | string Default: null An optional custom identifier. |
created_at | string <date-time> Default: null The date when the customer was created (UTC). |
{- "id": 2675,
- "owner_id": 28,
- "advisor_id": 12,
- "advisor_type": "intermediary",
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary",
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "email_office": "max-mustermann@muster-gmbh.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "do_not_disturb": false,
- "industry_id": 3,
- "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "employer_in_germany": true,
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "employment_temporary_until": "2030-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "country": "DE",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "resident_since": "1995-04-01",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_id": "633876272618",
- "external_id": "user-123XX",
- "full_name_reversed": "Mustermann, Max",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "advisor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "channel": {
- "id": 232,
- "name": "Muster Tag",
- "is_system": 0,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "creator": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "editor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "owner": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "partners": [
- {
- "id": 2675,
- "customer_id": 28,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "industry_id": {
- "id": 21,
- "name": "Immobilien"
}, - "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "tax_id": "633876272618",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "customer": { }
}
], - "sourceable": {
- "id": 24,
- "channel_id": 3,
- "name": "Muster Quelle",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "tags": [
- {
- "id": 24,
- "name": "Muster Tag",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 3
}
], - "abilities": {
- "can_edit": true,
- "can_delete": false
}
}
Get information about a customer by id.
customerId required | integer >= 1 Example: 12 The id of the customer |
with | Array of arrays Items Enum: "advisor" "channel" "creator" "editor" "owner" … 4 more Example: with=owner,tags,creator Load nested resources. Multiple values separated by comma are allowed. |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "id": 2675,
- "owner_id": 28,
- "advisor_id": 12,
- "advisor_type": "intermediary",
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary",
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "email_office": "max-mustermann@muster-gmbh.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "do_not_disturb": false,
- "industry_id": 3,
- "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "employer_in_germany": true,
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "employment_temporary_until": "2030-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "country": "DE",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "resident_since": "1995-04-01",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_id": "633876272618",
- "external_id": "user-123XX",
- "full_name_reversed": "Mustermann, Max",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "advisor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "channel": {
- "id": 232,
- "name": "Muster Tag",
- "is_system": 0,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "creator": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "editor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "owner": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "partners": [
- {
- "id": 2675,
- "customer_id": 28,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "industry_id": {
- "id": 21,
- "name": "Immobilien"
}, - "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "tax_id": "633876272618",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "customer": { }
}
], - "sourceable": {
- "id": 24,
- "channel_id": 3,
- "name": "Muster Quelle",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "tags": [
- {
- "id": 24,
- "name": "Muster Tag",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 3
}
], - "abilities": {
- "can_edit": true,
- "can_delete": false
}
}
Update a customer.
customerId required | integer >= 1 Example: 12 The id of the customer |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
email required | string <email> [ 1 .. 255 ] Default: null The customers email address. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
first_name required | string [ 1 .. 255 ] Default: "" The customers first name. |
last_name required | string [ 1 .. 255 ] Default: null The customers last name |
owner_id | integer Default: null The id of the owner of the customer |
advisor_id | integer Default: null The id of the adviser |
advisor_type | string Default: null Enum: "intermediary" "user" The type of the advisor |
channel_id | integer Default: null The id of the source channel |
sourceable_id | integer Default: null The id of the adviser |
sourceable_type | string Default: null Enum: "customer" "intermediary" "source" The type of the source. |
salutation | string Default: "" Enum: "Frau" "Herr" The customers salutation. |
title | string Default: null Enum: "Dr." "Prof." "Prof. Dr." The customers title. |
email_office | string <email> [ 1 .. 255 ] Default: null The customers office email address. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
birthday | string <date> Default: null The birthday of the customer. |
birth_place | string [ 1 .. 255 ] Default: null The customers birth place. |
birth_name | string [ 1 .. 255 ] Default: null The customers birth name. |
phone_private | string [ 1 .. 255 ] Default: null The customers primary private phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
phone_office | string [ 1 .. 255 ] Default: null The customers primary office phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
mobile | string [ 1 .. 255 ] Default: null The customers primary mobile phone number. One contact information is required. It could be either email, email_office, phone_private, phone_office or mobile. |
fax | string [ 1 .. 255 ] Default: null The customers primary fax number. |
do_not_disturb | boolean Default: false Whether or not the customer wants to be contacted. |
homepage | string [ 1 .. 255 ] Default: null Whether or not the customer wants to be contacted. |
industry_id | number Default: null Enum: 1 10 11 12 13 … 34 more The industry values are:
|
company | string [ 1 .. 255 ] Default: null The company the customer works for. |
employment_state | string Default: null Enum: "permanent" "temporary" The customers employment state. |
employer_in_germany | boolean Default: null Whether or not the employer is situated in germany. |
job | string [ 1 .. 255 ] Default: null The customers job. |
employed_since | string <date> Default: null The date since the customer works in his current job. |
employment_temporary_until | string <date> Default: null The date until the customer works in his temporary job. |
occupational_group_id | number Default: null Enum: 1 10 2 3 4 … 5 more The occupational group values are:
|
retires_at | string <date> Default: null The date when the customer will retire. |
nationality | string Default: null Enum: "AD" "AE" "AF" "AG" "AL" … 183 more The nationality. |
marital_status | string Default: null Enum: "Geschieden" "Getrennt lebend" "Ledig" "Verheiratet" "Verpartnert" … 1 more The marital status of the customer. |
marital_property | string Default: null Enum: "Gesetzlicher Güterstand" "Gütergemeinschaft" "Gütertrennung" The marital property of the customer. |
identity_card | string [ 1 .. 255 ] Default: null The identy card number of the customer. |
identity_card_created_at | string <date> Default: null The date when identity card was created. |
identity_card_created_by | string Default: null The authority that authorized the identity card. |
identity_card_expires_at | string <date> Default: null The date when identity card expires. |
country | string [ 2 .. 2 ] Default: null The country the customer lives in (ISO-3166 Alpha 2 code i.e. "DE"). |
city | string [ 1 .. 255 ] Default: null The city the customer lives in. |
street | string [ 1 .. 255 ] Default: null The street the customer lives in. |
street_number | string [ 1 .. 100 ] Default: null The street number of the customer. |
postal_code | string [ 3 .. 12 ] Default: null The customers postal code (zip). |
object Default: {} The customer's old address. | |
resident_since | string <date> Default: null The date since the customer staying in the current residence. |
bank_account | string [ 2 .. 70 ] Default: null The customers bank account name. |
bank_institution | string [ 2 .. 255 ] Default: null The customers bank name. |
iban | string [ 22 .. 34 ] Default: null The customers iban. |
bic | string [ 11 .. 22 ] Default: null The customers bic. |
tax_id | string [ 11 .. 11 ] Default: null The customers tax id. |
external_id | string Default: null An optional custom identifier. |
created_at | string <date-time> Default: null The date when the customer was created (UTC). |
{- "id": 2675,
- "owner_id": 28,
- "advisor_id": 12,
- "advisor_type": "intermediary",
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary",
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "email_office": "max-mustermann@muster-gmbh.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "do_not_disturb": false,
- "industry_id": 3,
- "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "employer_in_germany": true,
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "employment_temporary_until": "2030-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "country": "DE",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "resident_since": "1995-04-01",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_id": "633876272618",
- "external_id": "user-123XX",
- "full_name_reversed": "Mustermann, Max",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "advisor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "channel": {
- "id": 232,
- "name": "Muster Tag",
- "is_system": 0,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "creator": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "editor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "owner": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "partners": [
- {
- "id": 2675,
- "customer_id": 28,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "industry_id": {
- "id": 21,
- "name": "Immobilien"
}, - "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "tax_id": "633876272618",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "customer": { }
}
], - "sourceable": {
- "id": 24,
- "channel_id": 3,
- "name": "Muster Quelle",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "tags": [
- {
- "id": 24,
- "name": "Muster Tag",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 3
}
], - "abilities": {
- "can_edit": true,
- "can_delete": false
}
}
Delete a customer by id.
customerId required | integer >= 1 Example: 12 The id of the customer that need to be deleted |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "code": 400,
- "error_description": "Additional information about the bad request.",
- "message": "Additional information about the bad request."
}
Returns a list of properties of a customer matching the filter criterias.
customerId required | integer >= 1 Example: 12 The id of the customer that the note should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
[- {
- "id": 14,
- "customer_id": 12,
- "type_id": 1,
- "usage_id": 2,
- "street": "Musterstraße",
- "street_number": "2a",
- "postal_code": 50977,
- "city": "Musterstadt",
- "construction_year": 2018
}
]
Create a new property for the customer.
customerId required | integer >= 1 Example: 12 The id of the customer that the property should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
city required | string or null [ 1 .. 255 ] Default: null The city of the property. Required when postal code is not set. |
type_id | integer or null Default: null Enum: 1 10 2 3 4 … 5 more The property type:
|
usage_id | integer or null Default: null Enum: 1 2 3 The property usage:
|
street | string or null [ 1 .. 255 ] Default: null The street of the property |
street_number | string or null [ 1 .. 100 ] Default: null The street number of the property |
postal_code | string or null [ 1 .. 12 ] Default: null The postal code of the property. Required when city is not set. |
construction_year | integer or null [ 1000 .. 9999 ] |
{- "type_id": 1,
- "usage_id": 2,
- "street": "Musterstraße",
- "street_number": "2a",
- "postal_code": 50977,
- "city": "Musterstadt",
- "construction_year": 2018
}
{- "id": 14,
- "customer_id": 12,
- "type_id": 1,
- "usage_id": 2,
- "street": "Musterstraße",
- "street_number": "2a",
- "postal_code": 50977,
- "city": "Musterstadt",
- "construction_year": 2018
}
Returns a list of purposes of a customer matching the filter criterias.
customerId required | integer >= 1 Example: 12 The id of the customer that the note should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
[- {
- "id": 14,
- "customer_id": 12,
- "property_id": 13,
- "type_id": 1,
- "financial_demand": 500000,
- "state": "ON_HOLD",
- "state_reason": "LOOKING_FOR_PROPERTY",
- "state_note": null,
- "state_since": "2022-09-23T12:13:42+00:00",
- "stage_id": 1,
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary"
}
]
Create a new purpose for the customer.
customerId required | integer >= 1 Example: 12 The id of the customer that the property should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
type_id required | integer Enum: 1 10 11 12 2 … 7 more The purpose type:
|
property_id | integer or null Default: null The id of the property |
financial_demand | number or null <double> Default: null The financial demand of the purpose |
state | string or null Default: "ACTIVE" Enum: "ACTIVE" "LOST" "ON_HOLD" "WON" null The purpose state:
|
state_reason | string or null Default: null Enum: "INTEREST_LOST" "LOOKING_FOR_PROPERTY" "LOST_TO_COMPETITOR" "NEGATIVE_CREDIT_CHECK" "NOT_AFFORDABLE" … 7 more The state reason for purposes in state
Loss Reasons:
|
state_note | string or null Default: null Custom state note for purposes in state |
stage_id | integer or null Default: "[ID_OF_FIRST_STAGE]" The id of the pipeline stage |
channel_id | integer or null Default: null The id of the channel |
sourceable_id | integer or null Default: null The id of the sourceable |
sourceable_type | string or null Default: null Enum: "customer" "intermediary" "source" The type of the source. |
{- "property_id": 13,
- "type_id": 1,
- "financial_demand": 500000,
- "state": "ON_HOLD",
- "state_reason": "LOOKING_FOR_PROPERTY",
- "state_note": null,
- "stage_id": 1,
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary"
}
{- "id": 14,
- "customer_id": 12,
- "property_id": 13,
- "type_id": 1,
- "financial_demand": 500000,
- "state": "ON_HOLD",
- "state_reason": "LOOKING_FOR_PROPERTY",
- "state_note": null,
- "state_since": "2022-09-23T12:13:42+00:00",
- "stage_id": 1,
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary"
}
Returns a list of notes for a customer matching the filter criterias.
customerId required | integer >= 1 Example: 12 The id of the customer that the note should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
[- {
- "id": 23,
- "object_id": 12,
- "object_type": "customer",
- "text": "This is my new note.",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 8,
- "updated_by": 143
}
]
Create a new note for the customer.
customerId required | integer >= 1 Example: 12 The id of the customer that the note should be attached to |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
text required | string [ 3 .. 16777215 ] The text of the note |
{- "id": 23,
- "object_id": 12,
- "object_type": "customer",
- "text": "This is my new note.",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 8,
- "updated_by": 143
}
Get information about a note of a customer by id.
customerId required | integer >= 1 Example: 33 The id of the customer |
noteId required | integer >= 1 Example: 234 The id of the note |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "id": 23,
- "object_id": 12,
- "object_type": "customer",
- "text": "This is my new note.",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 8,
- "updated_by": 143
}
Update a note of a customer.
customerId required | integer >= 1 Example: 44 The id of the customer |
noteId required | integer >= 1 Example: 875 The id of the note |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
text required | string [ 3 .. 16777215 ] The text of the note |
{- "id": 2675,
- "owner_id": 28,
- "advisor_id": 12,
- "advisor_type": "intermediary",
- "channel_id": 3,
- "sourceable_id": 12,
- "sourceable_type": "intermediary",
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "email_office": "max-mustermann@muster-gmbh.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "do_not_disturb": false,
- "industry_id": 3,
- "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "employer_in_germany": true,
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "employment_temporary_until": "2030-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "country": "DE",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "resident_since": "1995-04-01",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_id": "633876272618",
- "external_id": "user-123XX",
- "full_name_reversed": "Mustermann, Max",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "advisor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "channel": {
- "id": 232,
- "name": "Muster Tag",
- "is_system": 0,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "creator": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "editor": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "owner": {
- "id": 24,
- "group_id": 123,
- "company_id": 321,
- "external_id": "AE3224",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "mobile": "+49 171-242233212",
- "phone_office": "+49 231-27519062",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "permissions": {
- "customers.view": 1,
- "customers.delete": 0
}, - "is_active": true,
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "partners": [
- {
- "id": 2675,
- "customer_id": 28,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "industry_id": {
- "id": 21,
- "name": "Immobilien"
}, - "company": "Mustermann GmbH",
- "employment_state": "permanent",
- "job": "Online Redakteur",
- "employed_since": "2014-01-01",
- "occupational_group_id": 1,
- "retires_at": "2038-01-01",
- "nationality": "DE",
- "marital_status": "Verheiratet",
- "marital_property": "Gesetzlicher Güterstand",
- "identity_card": "A2973NBUG2232",
- "identity_card_created_at": "2015-23-01",
- "identity_card_created_by": "Stadt Köln",
- "identity_card_expires_at": "2035-22-01",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "previous_address": {
- "city": "Tunis",
- "street": "Habib 5",
- "street_number": "15",
- "postal_code": "9100"
}, - "tax_id": "633876272618",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34,
- "customer": { }
}
], - "sourceable": {
- "id": 24,
- "channel_id": 3,
- "name": "Muster Quelle",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}, - "tags": [
- {
- "id": 24,
- "name": "Muster Tag",
- "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 3
}
], - "abilities": {
- "can_edit": true,
- "can_delete": false
}
}
Delete a single note of a customer by id.
customerId required | integer >= 1 Example: 23 The id of the customer |
noteId required | integer >= 1 Example: 873 The id of the note |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "code": 400,
- "error_description": "Additional information about the bad request.",
- "message": "Additional information about the bad request."
}
Returns a list of intermediaries matching the filter criterias.
company_id | integer Example: company_id=12 Filter the results by a company id |
owner_id | integer Example: owner_id=2 Filter the result by an owner id. Allowed operators: |
is_active | boolean Example: is_active=true Filter the results by the status is_active |
string Example: email=max.mustermann@musterweb.de Filter the results by an email of the intermediary. Allowed operators: | |
postal_code | string Example: postal_code=50362 Filter the result by postal code of the intermediary. Allowed operators: |
street | string Example: street=Musterstraße Filter the result by street of the intermediary. Allowed operators: |
city | string Example: city=Musterstadt Filter the result by city of the intermediary. Allowed operators: |
salutation | Array of any Items Enum: 1 2 Example: salutation=1 'Filter the results by salutation/gender of the intermediary.
Allowed operators: |
first_name | string Example: first_name=max Filter the results by first name of the intermediary. |
last_name | string Example: last_name=mustermann Filter the results by last name of the intermediary. |
tags | integer Example: tags=2 Filter the results by tags of the intermediary |
created_at_period | string Enum: "current_month" "current_week" "current_year" "last_month" "last_week" … 3 more Example: created_at_period=current_year Filter the results by created_at period |
created_at_start | string <date> Example: created_at_start=2019-01-25 Filter the results by created_at start date. |
created_at_end | string <date> Example: created_at_end=2019-01-25 Filter the results by created_at end date. |
updated_at_end | string <date> Example: updated_at_end=2019-01-25 Filter the results by updated_at end date. |
updated_at | string <date> Example: updated_at=2018-09-23T12:13:42 Filter the results by a updated_at. |
updated_at_period | string Enum: "current_month" "current_week" "current_year" "last_month" "last_week" … 3 more Example: updated_at_period=current_year Filter the results by a updated_at period. |
updated_at_start | string <date> Example: updated_at_start=2019-01-25 Filter the results by updated_at start date. |
sort | string Enum: "address" "birthday" "company_id" "created_at" "email" … 12 more Example: sort=-updated_at Sort intermediaries by a field. Prepend |
with | Array of arrays Items Enum: "company" "owner" "tags" Example: with=owner,partners Load nested resources. Multiple values separated by comma are allowed. |
[- {
- "id": 24,
- "owner_id": 28,
- "company_id": 321,
- "is_active": true,
- "salutation": "Herr",
- "title": "Dr.",
- "first_name": "Max",
- "last_name": "Mustermann",
- "email": "max-mustermann@mustermail.de",
- "birthday": "1985-09-15",
- "birth_place": "Musterstadt",
- "birth_name": "Mustermännchen",
- "position": "Teamleiter",
- "phone_private": "+49 231-23752122",
- "phone_office": "+49 231-27519062",
- "mobile": "+49 171-242233212",
- "fax": "+49 231-324553332",
- "city": "Köln",
- "street": "Musterstraße",
- "street_number": "3a",
- "postal_code": "50273",
- "billing_address": 1,
- "billing_account": 1,
- "tax_number": "633876272618",
- "vat_number": "2376273626511",
- "tax_office": "Finanzamt Köln",
- "is_small_business": true,
- "bank_account": "Max Mustermann",
- "bank_institution": "Musterbank Köln",
- "iban": "DE12500105170648489890",
- "bic": "DABAIE2D",
- "registration_authority": "Amtsgericht Köln",
- "registration_number": "HRB 236267",
- "broker_qualifications": [
- {
- "type": "estate_broker_qualification_1",
- "date_of_issue": "2011-03-30",
- "authority": "Amtsgericht köln ",
- "registration_number": "HRB 232323"
}
], - "broker_certificates": [
- {
- "type": "privacy_statement",
- "submitted_at": "2016-02-24"
}
], - "created_at": "2018-09-15T15:28:23+00:00",
- "updated_at": "2018-09-23T12:13:42+00:00",
- "created_by": 2,
- "updated_by": 34
}
]
Returns a list of institutes matching the filter criterias.
name | string Example: name=Allianz Filter the results by name of the institute. Allowed operators: |
postal_code | string Example: postal_code=50933 Filter the result by postal code of the institute. Allowed operators: |
street | string Example: street=Aachener Str. Filter the result by street of the institute. Allowed operators: |
city | string Example: city=Köln Filter the result by city of the institute. Allowed operators: |
[- {
- "id": 21,
- "name": "Sparkasse Aachen",
- "city": "Aachen",
- "street": "Musterstraße",
- "postal_code": "12345"
}
]
Create a new institute.
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
name required | string Default: "" The name of the institute. |
city | string [ 1 .. 255 ] Default: "" The city of the institute. |
street | string [ 1 .. 255 ] Default: "" The street of the institute. |
postal_code | string [ 1 .. 5 ] Default: "" The postal code of the institute. |
{- "id": 21,
- "name": "Sparkasse Aachen",
- "city": "Aachen",
- "street": "Musterstraße",
- "postal_code": "12345"
}
Get information about a institute by id.
instituteId required | integer >= 1 Example: 12 The id of the institute |
with | Array of arrays Items Enum: "creator" "editor" Example: with=creator,editor Load nested resources. Multiple values separated by comma are allowed. |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "id": 21,
- "name": "Sparkasse Aachen",
- "city": "Aachen",
- "street": "Musterstraße",
- "postal_code": "12345"
}
Update an institute.
instituteId required | integer >= 1 Example: 12 The id of the institute |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
name required | string Default: "" The name of the institute. |
city | string [ 1 .. 255 ] Default: "" The city of the institute. |
street | string [ 1 .. 255 ] Default: "" The street of the institute. |
postal_code | string [ 1 .. 5 ] Default: "" The postal code of the institute. |
{- "id": 21,
- "name": "Sparkasse Aachen",
- "city": "Aachen",
- "street": "Musterstraße",
- "postal_code": "12345"
}
Delete a institute by id.
instituteId required | integer >= 1 Example: 12 The id of the institute that need to be deleted |
Accept | string Value: "application/json" Example: application/json The Accept header advertises which content types the client is able to understand. |
{- "code": 400,
- "error_description": "Additional information about the bad request.",
- "message": "Additional information about the bad request."
}
Returns a new access token in exchange for the refresh token.
client_id required | integer Example: client_id=123 Defined when the client was registered |
client_secret required | string Example: client_secret=bd72mpsbn27vavalf83nufbdewdd Defined when the client was registered |
grant_type required | string Example: grant_type=refresh_token Grant Type must be |
refresh_token required | string Example: refresh_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJiMDhmODZhZi0zNWRhLTQ4ZjItOGZhYi1jZWYzOTA0NjYwYmQifQ.-xN_h82PHVTCMA9vdoHrcZxH-x5mb11y1537t3rGzcM Provided when the access token was issued |
scope | string Example: scope=scope1,scope2,scope3 Fincrm does not support api scopes yet. |
{- "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJiMDhmODZhZi0zNWRhLTQ4ZjItOGZhYi1jZWYzOTA0NjYwYmQifQ.-xN_h82PHVTCMA9vdoHrcZxH-x5mb11y1537t3rGzcM",
- "refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJiMDhmODZhZi0zNWRhLTQ4ZjItOGZhYi1jZWYzOTA0NjYwYmQifQ.-xN_h82PHVTCMA9vdoHrcZxH-x5mb11y1537t3rGzcM",
- "expires_in": 1223
}