Code 409 conflit API REST

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • mkhalifa
    Member
    • Jan 2019
    • 48

    Code 409 conflit API REST

    Hello, When I try to create a new account via who has the same name as an existing account I have an alert message and I have to confirm the creation of the new account. And when I try to do the creation via the API I have a 409 (conflict) return code. Can this check be easily disabled when creating an account with the same name? Otherwise is there any way to always force the creation via the API Rest without validation? thank you in advance
  • yuri
    Member
    • Mar 2014
    • 8679

    #2
    Hi,

    In payload pass 2 parameters:

    forceDuplicate: true,
    skipDuplicateCheck: true

    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

    • mkhalifa
      Member
      • Jan 2019
      • 48

      #3
      Hi,
      What responsiveness
      Thanks very match for your replay.

      Comment

      Working...