ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 9 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 10 months, 3 weeks ago.

  • Creator
    Topic
  • #21106

    KnutFr
    Participant

    Hi,

    Is it possible to create a custom entity using the Rest API ?
    I have not seen call for the creation at the documentation /api/doc

    Thanks,
    KnutFr

Viewing 9 replies - 1 through 9 (of 9 total)
  • Author
    Replies
  • #21136
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    Do you mean create records for custom entity?

    #21148

    KnutFr
    Participant

    Hi,

    I would like to be able to create custom entity table, and also create records obviously.

    Thanks again,
    KnutFr

    #21151
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    I have created ‘testing’ custom entity with ‘name’ field.

    Here is my testing.sh:

    and testing.json:

    At the moment the orocrm does not support entity table creation via api.

    #23681

    KnutFr
    Participant

    Hi, is there an update about this point with last version of orocrm ?

    Thanks, KnutFr

    #23690
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Can you tell me, what do you mean, please? Point of what ?

    #23699

    KnutFr
    Participant

    Hi Mike,

    What I would like to do is exactly what you can do on this link : url/entity/extend/entity/create but I would like to be able to do this via an API call. Also I would like to update / Delete custom entity structure.

    Obviously I also want to create generic call for Create / Read / Update & Delete single record of custom entity.

    For example:

    Is there some existing call that can do things like that ?

    Thanks.

    #23710
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    1.10 version of oro has already been contain new JSON API. http://[domain]/api/doc/rest_json_api includes list of entities which ready to work with api and all required api url’s, before use it click on Generate Key button on our profile page (/user/profile/view). Also please read the documentation.

    #23751

    KnutFr
    Participant

    Hi,

    Thanks for your reply. I’m already using this API for existing Oro entity, but I don’t understand how to exaclty use it to create my own entity. (What I would exactly like to do is create a custom lead entity processed by an external existing software. For testing I have already try to create “Lead” record via OroAPI and it works great ! )

    My issue is specific to my own created custom entity.

    Does it work the same way ?

    Thanks.

    #23774
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Unfortunately this is not implemented yet and we have no plans about that.
    But i think you can implemented this feature in your customization.

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

You must be logged in to reply to this topic.