OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions Couldn't post data with right JSON type

This topic contains 4 replies, has 2 voices, and was last updated by  And 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
  • #25478

    And
    Participant

    Hello, OroCRM team.
    I have some issue with saving of relationship data like described below:

    Request body:

    After I have posted it to {orocrm_host}/api/contacts I got an error ( response code 400):

    After I have posted only attributes block (firstName, lastName…. etc) data saved successfully. But I need to save another relationship data with the general info like described in official documentation.
    Help me, please, with this issue. Spent a lot of time :(
    Thank you in advance!

    Regards,
    Andrii

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #25479

    Vova Soroka
    Participant

    Hello,

    Which version of CRM you are use?
    I try this request on the latest master and it works fine.

    #25480

    And
    Participant

    Hello Vova,
    As I can see from System Information -> Oro Packages -> oro/crm version is 2.0.3
    Thanks!

    #25481

    And
    Participant

    Hi again. So, can you give me some tips to solve this issue, please?

    Regards,
    Andrii

    #25482

    And
    Participant

    Thanks guys for the “great” support!

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

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

Back to top