• jpollack
  • NEWBIE
  • 5 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 8
    Replies

I have an old application that uses Web-To-Lead. I'm updating it to use the REST API. We have a bunch of assignment rules set up for Leads. When we create a lead through Web-To-Lead, the Lead is assigned according to our assignment rules. However, when we create a Lead through the REST API, the assignment rules are completely ignored, and the Lead is assigned to the account whose credentials we used to authenticate through OAuth. This has slowed our sales team to a crawl, because now they have to assign leads by hand.

 

Any ideas how to fix this?

Hello all,

 

So, I'm converting an app from web-to-lead to the REST API.  It looks like we used to be able to leave out some fields (like Last Name) and still successfully create a new lead.  However, when I try to create a new lead through the REST interface without specifying Last Name, I get an HTTP 400 error.  Is there any way to make Last Name an optional field?

Apparently, to do an upsert from the REST API, one must make a PATCH request.  PATCH is not one of the common HTTP verbs and thus is not supported by Apache httpcomponents.  Is there any way to do an upsert without making a PATCH request?

 

I really wish they stuck to the standard verbs when making this API.  This does not make my life easier.

I have an old application that uses Web-To-Lead. I'm updating it to use the REST API. We have a bunch of assignment rules set up for Leads. When we create a lead through Web-To-Lead, the Lead is assigned according to our assignment rules. However, when we create a Lead through the REST API, the assignment rules are completely ignored, and the Lead is assigned to the account whose credentials we used to authenticate through OAuth. This has slowed our sales team to a crawl, because now they have to assign leads by hand.

 

Any ideas how to fix this?

Apparently, to do an upsert from the REST API, one must make a PATCH request.  PATCH is not one of the common HTTP verbs and thus is not supported by Apache httpcomponents.  Is there any way to do an upsert without making a PATCH request?

 

I really wish they stuck to the standard verbs when making this API.  This does not make my life easier.