OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Rest api – Response Error

This topic contains 1 reply, has 2 voices, and was last updated by  dzakharov 6 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30476

    Hi guys,
    While I was using Sandbox for querying account details, I am getting no contacts(child objects) related to the account despite related contacts are still there. I am using Community Portal and the request I am giving using the type:plain in api/doc. Help would be appreciated.
    Below is the response I am getting:
    “name”: “A. L. Price”,
    “createdAt”: “2016-08-31T08:26:51+00:00”,
    “updatedAt”: “2016-10-05T05:57:31+00:00”,
    “owner”: “gene.william_86ce0”,
    “contacts”: {},
    “defaultContact”: “Mr. Jerry Coleman”,
    “organization”: “CRMIT”,
    “referredBy”: null,
    “OpportunityDetails”: {}

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #30477

    dzakharov
    Participant

    Hi, can you describe more details about your request? If you use GET /api/accounts/{id} in field ‘contacts’ must be collection of contacts related to an account. Are you sure you contacts related to an account wich you asked in api?

Viewing 1 replies (of 1 total)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top