You need to sign in to do that
Don't have an account?
azu.shaik1.3965080575576013E12
i had create the below rest api class. when try to access the class getting the invalid_session id ?
Hi ,
i had create the below rest api class. when try to access the class getting the url getting invalid_session id ?
@RestResource(urlMapping='/FieldCase/*')
global with sharing class RESTCaseController {
@HttpPost
global static String createNewCase(String companyName, String caseType) {
System.debug('COMPANY: '+companyName);
System.debug('CASE TYPE: '+caseType);
return null ;
}
}
i had create the below rest api class. when try to access the class getting the url getting invalid_session id ?
@RestResource(urlMapping='/FieldCase/*')
global with sharing class RESTCaseController {
@HttpPost
global static String createNewCase(String companyName, String caseType) {
System.debug('COMPANY: '+companyName);
System.debug('CASE TYPE: '+caseType);
return null ;
}
}
Please see if these linkks help:
http://salesforce.stackexchange.com/questions/21621/invalid-session-id-in-salesforce-restapi
http://stackoverflow.com/questions/6095352/salesforce-rest-api-invalid-session-id-error
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
I dont how to authenticate this one . i would like call this service to php.
please help me in this conditon i was stuck with is from couple of days