Skip to content

Get all contact by query

GET
/v1/booking/contacts
curl --request GET \
--url 'https://rms.dev.caspeco.net/api/booking/v1/booking/contacts?onlyWalkin=false&includeCustomer=true' \
--header 'Authorization: Bearer <token>' \
--header 'system: example'
system
required
string

The system name / database to query

q
string
nullable

Query string

$top
integer format: int32
nullable

Limit number of contacts

onlyWalkin
boolean

“Walk in” are contacts without contact information

includeCustomer
boolean
default: true

Concatinates contacts with customers

changedFromUtc
string format: date-time
nullable

Return contacts that have been created or changed after this time.

Media typeapplication/json
Array<object>
object
guestIdentifier
string
nullable
fname
string
nullable
lname
string
nullable
title
string
nullable
phone
string
nullable
mobile
string
nullable
fax
string
nullable
email
string
nullable
streetaddress
string
nullable
zipcode
string
nullable
city
string
nullable
information
string
nullable
lastUsed
string format: date-time
hidden
boolean
id
integer format: int64
allowStoringForever
boolean
newsletter
boolean
isAnonymized
boolean
tempId
integer format: int64
customerId
integer format: int64
customerName
string
nullable
orgNr
string
nullable
customerCustomerNumber
string
nullable
invoiceReference
string
nullable
customerNumber
string
nullable
invoicingPaymentTerms
integer format: int32
nullable
invoicingFee
integer format: int32
nullable
agreementLevel
integer format: int32
nullable
lastChangedUtc
string format: date-time
nullable
lastChangedBy
string
filterData
string
nullable
binaryFlags
integer
Allowed values: 0 1 2 4 16 32 64
contactFilterData
Array<object>
nullable
object
contactFilterId
integer format: int32
selectedStringItems
Array<string>
nullable
customer
One of:
object
name
string
streetaddress
string
zipcode
string
city
string
orgNr
string
phone
string
fax
string
email
string
information
string
hidden
boolean
id
integer format: int64
invoiceStreetaddress
string
invoiceZipCode
string
invoiceCity
string
invoiceCode1
string
invoiceCode2
string
invoiceCode3
string
ediNumber
string
nullable
marking
string
customerNumber
string
invoicingPaymentTerms
integer format: int32
nullable
invoicingFee
integer format: int32
nullable
binaryFlags
integer
Allowed values: 0 1 2 4 8 16 32
accountManager
string
webpage
string
lastChangedUtc
string format: date-time
nullable
lastChangedBy
string
agreementLevel
integer format: int32
fullname
string
nullable
returning
boolean
Example
[
{
"binaryFlags": 0,
"customer": {
"binaryFlags": 0
}
}
]
Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
extensions
object
key
additional properties
key
additional properties
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"extensions": {
"additionalProperty": "example"
}
}