Hello,
SuiiteCRM 7.14.7
PHP 8.3
When I am getting contact of document list using v8 API and get the below error. How can I get the doucment list of related contact.
http://localhost/Api/V8/module/Contacts/9a928f91-ff55-d5c0-68f9-6902fb140ae4/relationships/documents?linkFieldName=name
{
"errors": {
"status": 400,
"title": null,
"detail": "Cannot load relationship name for Contact module"
}
}
1 Like
GET {{suitecrm.url}}/Api/V8/module/{moduleName}/{id}/relationships/{linkFieldName}
Example:
Api/V8/module/Accounts/129a096c-5983-1d59-5ddf-5d95ec91c144/relationships/members
1 Like
The problem was in the following file, which was missing and giving me a 404 Not Found error.
Api/V8/Controller/RelationshipController.php
Thatβs a new one! Did it get missed one of the updates?
1 Like
Where did you get this GET parameter from?
That doesnβt work here as well.
However:
V8/module/Contacts/01fb568b-5936-4a1d-9c2b-d28dfda8ef46/relationships/documents
works just fine.
1 Like
@pstevens You are correct.