Retrieve a single contact information
GET/api/contacts/:id
This API endpoint is designed to provide detailed information about a specific contact, making it a valuable tool for retrieving contact data within your system.
Request
Path Parameters
id stringrequired
Contact identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
id integer
name string
type string
Possible values: [legal_entity, person]
country string
address stringnull
city stringnull
zip stringnull
state stringnull
language string
Possible values: [en, de, fr, it, cs, pl]
selfContact boolean
expenseCategory objectnullable
id integer
name string
expenseCostCenter objectnullable
id integer
name string
expenseVat objectnullable
id integer
name string
value string
autoCompleteExpenseManagement boolean
Whether accounting details from the contact should automatically mark related expense management as completed.
{
"id": 1,
"name": "AMNIS Treasury Services AG",
"type": "legal_entity",
"country": "CH",
"address": "Baslerstrasse 60",
"city": "Zürich",
"zip": "8048",
"state": "Canton of Zürich",
"language": "en",
"selfContact": true,
"expenseCategory": {
"id": 1,
"name": "Travels"
},
"expenseCostCenter": {
"id": 1,
"name": "Finance"
},
"expenseVat": {
"id": 1,
"name": "Standard VAT",
"value": "8.1"
},
"autoCompleteExpenseManagement": false
}
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Not Found -- The requested resource could not be found.
Loading...