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
Contact identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [legal_entity, person]
Possible values: [en, de, fr, it, cs, pl]
expenseCategory objectnullable
expenseCostCenter objectnullable
expenseVat objectnullable
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": false,
"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"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"detail": "string"
}
Not Found -- The requested resource could not be found.
- application/json
- Schema
- Example (from schema)
Schema
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
Default value: 400
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
{
"title": "string",
"detail": "string",
"status": 400,
"instance": "string",
"type": "string"
}