Skip to main content

Relationships

Get a list of customer relationships

HTTP Request

[GET] /api/v6/accounts/relations

Query Parameters

Fields

FieldsTypeDescription
idintegerIdentifier
relation_namestringRelationship name
relation_codestringRelationship code
relation_orderstringSort order
origin_namestringOriginal name
color_bgnumericBackground color
color_fillstringFill color
deleted_bystringDeleter
created_atstringCreation date
color_textstringText color
is_defaultboolDefault relationship
created_byintegerCreator
updated_byintegerEditor
updated_attimestampEdit date
deleted_attimestampDeletion date
invalidboolValid or not
descriptionstringDescription
relation_stepstringRelationship step

Filtering

FieldsSupportTypeDescription
ideq,inintegerCustomer identifier
validis,inintegerValid or not

Sort

Sort (field)Direction
idasc,desc

Limit & Offset

TypeDescription
LimitintegerNumber of records to retrieve
OffsetintegerNumber of records to skip

Example

HTTP Request

GET api/v6/accounts/"https://v6/accounts/relations" HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json

Status

200 OK

Response

[
{
"relation_id": 1,
"relation_name": "New",
"relation_code": "new",
"deleted_by": null,
"created_at": "2019-07-30 14:04:35",
"created_by": 0,
"updated_by": 1,
"updated_at": "2021-01-20 16:59:36",
"deleted_at": null,
"description": "NVIDIA talks about computing projects in the era of AI"
}
]