Forums OroCRM Rest api – Response Error

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

  • Creator
  • #27380

    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
  • #27381


    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)

You must be logged in to reply to this topic.