OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions On uptade Contact

This topic contains 6 replies, has 2 voices, and was last updated by  Alan Culvi Bertomeu 7 years, 6 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
  • #25300

    This is array

    But returns validation error “One of the emails should be established as a primary.”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #25301

    Mike Kudelya
    Participant

    Hi

    Can you show me working example (code) ?

    #25302

    this is the class I use to connect to CRM

    On the corporate website

    #25303

    Mike Kudelya
    Participant

    Hi,

    Thank you for your code!

    You must change false to null, for example:

    I suggest you take a look at our new json api, which we introduced in 1.10 version. As announce said:

    The old API will be deprecated, but will still be available for at least the next two release cycles to give you the time to transition to the new API. We recommend doing it as soon as possible, as none of the new features will support the old API.

    Here i explained how to use this new api.

    #25304

    Good Morning,

    I’m trying to implement the new API.

    To not duplicate contacts intneto search by email:
      ‘/apì/contacts?filter[emails.email.eq]=’.$contact[’email’]

    I have made several prueva (search by name, last name) and always returns the same error

    I have to make some sort of update on servers? Or something?

    Thank you

    #25305

    Solution for the filter, I have put in Resources\config\oro\api.yml

    #25306

    My solution.

Viewing 6 replies - 1 through 6 (of 6 total)

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

Back to top