• Manu Srivastava
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 5
    Replies
I want to add posts to the contact feed for a particular contact that I select using REST.

What do I need to use?

I see the following when do I go a get on ContactFeed:

"urls" : {
      "sobject" : "/services/data/v20.0/sobjects/ContactFeed",
      "describe" : "/services/data/v20.0/sobjects/ContactFeed/describe",
      "rowTemplate" : "/services/data/v20.0/sobjects/ContactFeed/{ID}"

Retreiving details for the contact does not give me an ID for the ContactFeed that I could use here. How do I see the already existing posts on the contact feed and more importantly, how to I add a post to the contact feed?

Any help or pointers will be appreciated.

 
I need to "log a call" for an account using REST API.

I can access the account details using REST - that works.

However I am unable to seach for the existing call logs that I created using the SalesForce UI using any REST query. What am I missing?

I understand I need to create a Task object for logging a call.

Once I create a task for the call, how do I associate it with a particular account so that it would show up in the UI in the Account page?

Thanks and would be great if you could point me in the right direction if something like this already exists. Didnt find it and hence thought of posting.
 
We're used to AppExchange producing new leads for us when someone takes our apps for a Test Drive or views the Demo. Those leads have lead sources like with "SFDC-TD|<AppName>" and "SFDC-DM|<AppName>". 

We've seen some leads generated by AppExchange start have a lead source of "SFDC-IN|<AppName>". What do they represent?

Thanks!


Here's the Apex REST class:

@RestResource(urlMapping='/abc/def/*')
global with sharing class TheRESTclass
{
  @HttpGet
  global static String doGet(RestRequest req, RestResponse res)
  { return 'hello'; }
}

 

From the Apigee Salesforce console, I call the following URL (using OAuth authentication):

https://na7.salesforce.com/services/apexrest/abc/def

 

I've also tried it with the namespace in there:

https://na7.salesforce.com/services/apexrest/namespace/abc/def

 

But I keep getting this error:

 "message": "Could not find a match for URL /namespace/abc/def", "errorCode": "NOT_FOUND"

 

I've looked at multiple tutorials and they all guided me in the same direction. So I don't know what I could be possibly missing. Do I need to comfigure Remote Site Settings or do any other type of configuration?

 

Thanks in advance.