• David Beck 3
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi All, I'm using the rest API for create a lead and I want to assign as lead owner a specific user, but when I create the lead through the api always assign the lead to the user that make the request.

The api version is 36 ( services/data/v36.0/sobjects/Lead ) and the POST payload looks like this
{"OwnerId":"<15 chars ref id>","FirstName":"<name>","LastName":"<lastName>","Company":"<company>","Email":"<email>"

It's posible to assign the lead at creation time?

Thx!