• rpl
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 4
    Replies
{
    "name": "testparser",
    "org": "test",
    "email": "rpl@gmail.com",
    "courses": [
        {
            "cname": "this is course1",
             "startdate": "2014-04-12"
        },
        {
            "cname": "this is course2",
            "startdate": "2014-04-13"
        }
    ]
}
I am developing a mobile application that gets information from salesforce. There is a field called PRODUCT TYPE in salesforce and while ordering a product user can justpick a value from the valid values in the picklist field.

but when it comes to mobile application we had to change the design such that it shows a list of PRODUCT TYPE values on the screen. when user selects one of the type, he is taken to the next screen where he can enter further information.

CAN SOMEONE PLEASE ADVICE ME ON HOW TO GO ABOUT THIS?
{"example":{"Os":"windows","Origin":"xyz"}} is my request string that is sent to a HTTPPost REST Web service in salesforce. 

@RestResource(urlMapping='/NewIncident/*')
global without sharing class WSIncident {
    @HttpPost
    global static String createMobileCase(string example) {
        contact newCase = new contact();
        JSONParser jParser = JSON.createParser(example);


/*CAN SOME ONE PLEASE HELP ME PARSE THIS JSON*/

     return newCase.Id;
}
}

Hi,

 

I am able to integrate my web based test app with Salesforce.com using REST API. I am able to do the diferent operations from my test application via SF login. However, is there any options for me to connect to my test application from the Salesforce login account.  

 

Any suggestion would be helpful.

Regards

Kalyani