Creating new Entity with non empty ID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    Creating new Entity with non empty ID

    I try creating Entity with id via api user.
    payload:
    Code:
    {"id":"asd123","name":"name"}
    But Entity created with generated id;

    At https://github.com/espocrm/espocrm/b...abase.php#L298 I see checking ID
    but here https://github.com/espocrm/espocrm/b...cord.php#L1129 id is unsettled.
    If I comment this line all ok, but I don't know how this change affecting all other situations.

    Where is true?
  • yuri
    Member
    • Mar 2014
    • 8511

    #2
    It's not a bug.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • dimyy
      dimyy commented
      Editing a comment
      Is any way to create Entity with defined ID?
Working...