CRM
List CRM relationship definitions
GET
/
v1
/
crm
/
relationship-definitions
List CRM relationship definitions
curl --request GET \
--url https://api.wazapin.com/v1/crm/relationship-definitionsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/crm/relationship-definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/relationship-definitions"
response = requests.get(url)
print(response.text){
"items": [
{
"cardinality": "<string>",
"created_at": "<string>",
"from_object_kind": "<string>",
"id": "<string>",
"inverse_label": "<string>",
"is_active": true,
"is_system": true,
"key": "<string>",
"label": "<string>",
"to_object_kind": "<string>",
"updated_at": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Response
OK
Show child attributes
Show child attributes
⌘I
List CRM relationship definitions
curl --request GET \
--url https://api.wazapin.com/v1/crm/relationship-definitionsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/crm/relationship-definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/relationship-definitions"
response = requests.get(url)
print(response.text){
"items": [
{
"cardinality": "<string>",
"created_at": "<string>",
"from_object_kind": "<string>",
"id": "<string>",
"inverse_label": "<string>",
"is_active": true,
"is_system": true,
"key": "<string>",
"label": "<string>",
"to_object_kind": "<string>",
"updated_at": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}