How to Authenticate with sharepoint using rest services

I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
Can anyone help me in this .

You can use OAuth for authentication.
http://msdn.microsoft.com/en-us/library/office/fp142382%28v=office.15%29.aspx

Similar Messages

  • How to authenticate with Sharepoint using rest service and jquery

    Hi ,
    I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
    Can anyone help me in this .
    Thanks in Advance.
    Regards,
    Srinath 

    Hi,
    According to your post, my understanding is that you want to access SharePoint data from IOS and Android app.
    The following materials for your reference:
    How can I authenticate SharePoint REST calls from Android App?
    http://stackoverflow.com/questions/24673373/how-can-i-authenticate-sharepoint-rest-calls-from-android-app
    Calling RESTful services from your Android app
    http://www.techrepublic.com/blog/software-engineer/calling-restful-services-from-your-android-app/
    SharePoint 2013 REST API in iOS
    http://omicron-llama.co.uk/2012/12/13/sharepoint-2013-rest-api-in-ios/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to authenticate with MSISDN using REST style in openSSO

    I need authenticate with MSISDN using the REST style in openSSO.
    So, can anybody tells how to implement it? I am aware of implementing with username password by calling the URL as /opensso/identity/authenticate. If i want to authenticate using MSISDN how we have do it using REST in openSSO 8.0.

    Hi Vijay,
    I hope there is something related to MSISDN in the administrator Guide and Administrator Reference. Administrator reference contains the MSDN attribute lists. I found that in the Developer's guide, there is a documentation related to customising authentication modules where we can specify MSISDN authentication module. I guess there is a msisdn.xml file which can be can be configured.
    I am a new bee on this front. But I guess, we will find it out together. To what extent you have done to configure. Could you give me little detail about it. ;)
    Your message too short for the forum.
    Manila

  • How to update and delete using rest services in SharePoint 2013..

    I am looking to create,update and delete data in SharePoint list where i am using below code for creating data..I should be performing three operations on single button click how can i achieve this.Below is the code i am using for creating data to list and
    displaying in CEWP.
    <html>
    <head>
    <style type="text/css">
    #mytable{
    border : 1px solid;
    </style>
    <script type="text/javascript" src="https://sharepointapp28.sharepoint.com/sites/Dev2013/SiteAssets/Scripts/jquery-1.11.1.min.js" ></script>
    <script type="text/javascript">
    var ListName;
    var webUrl;
    $(document).ready(function(){
     SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady);//Doubt
    function sharePointReady() {
    webUrl = _spPageContextInfo.siteAbsoluteUrl;
    ListName = "test"; 
    $('#btnSub').click(function () {
    updateItem();
    function updateItem() {
    var name = $('#txtName').val();
    var Desc = $('#txtDesc').val();
    var city = $('#txtCity').val();
        var itemType = GetItemTypeForListName(ListName);
        var item;
            item = {
                '__metadata': { "type": itemType },
                'Name': name,
                'Description': Desc,
                'City': city
        var xmethod = 'POST';
        jQuery.ajax({
            url: webUrl + "/_api/web/lists/getbytitle('" + ListName + "')/items",
            type: "POST",
            data: JSON.stringify(item),
            contentType: "application/json;odata=verbose",
            headers: {
                "Accept": "application/json;odata=verbose",
                "X-RequestDigest": $("#__REQUESTDIGEST").val()
            success: onUpdateMSOPProcessSuccess,
            error: onUpdateMSOPProcesFail
        function onUpdateMSOPProcessSuccess(data) {
    alert('successfully updated to MyList!!!')
        function onUpdateMSOPProcesFail(data) {
            alert(data.d.err);
    function GetItemTypeForListName(name) {
        return "SP.Data." + name + "ListItem";
    </script>
    </head>
    <body>
    <table style="width:500px" id="mytable">
    <tr><td colspan="3">&nbsp;</td></tr>
    <tr><th colspan="3">Rest API</th></tr>
    <tr><td colspan="3">&nbsp;</td></tr>
    <tr><th>Name</th> <td> : </td> <td> <input type="text" id="txtName" /> </td></tr>
    <tr><th>Description</th> <td> : </td> <td> <input type="text" id="txtDesc" /> </td></tr>
    <tr><th>City</th> <td> : </td> <td> <input type="text" id="txtCity" /> </td></tr>
    <tr><td colspan="3">&nbsp;</td></tr>
    <tr><th></th><td colspan="2" align="left"><input type="button" value="submit" id="btnSub" /></th></tr>
    <tr><td colspan="3">&nbsp;</td></tr>
    </table>
    </body>
    </html>

    Hello,
    With one button you want to perform 3(Create, Update and Delete) operation
    To create:
    First check whether the data exist with full combination of Name,Desc and City.
    If not exist you can execute the create function.
    If exist, get confirmation to delete the item by pop up. Using item ID you can perform Delete operation
    To Update:
    How you want to update the item, by keeping unique value or combination of columns?
    based on that you can perform the update operation.
    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

  • Using Excel 2010 with SharePoint 2013 Excel services

    Hello:
    What features are we missing when using Excel 2010 (rather than Excel 2013) with SharePoint 2013 Excel services?
    Regards
    Jeff Gorvits

    Hi Jeff,
    You might want to read the articles below:
    https://support.office.com/en-us/article/Whats-new-in-Power-View-in-Excel-2013-and-in-SharePoint-Server-8e3b4259-421e-41fc-a48e-854388ad14d0?ui=en-US&rs=en-US&ad=US
    https://support.office.com/en-us/article/Version-compatibility-between-Power-Pivot-Data-Models-in-Excel-2010-and-Excel-2013-188f44fd-3cfd-4aa7-b4e6-a9402653cbf3?ui=en-US&rs=en-US&ad=US
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Hi What are the steps to integrate with Sharepoint using BPEL?

    Hi
    What are the steps to integrate with Sharepoint using BPEL?
    We are going to integrate with Web Center Interaction at the other end.
    I really appreciate if you can share if you have a document or instructions / links on how the same be achieved

    You have two options:
    Use a SQL Alias and you will then need to swing all databases over to the new SQL Server
    Don't use a SQL Alias and swing all but the Configuration and Administration databases to the new SQL Server, and individually re-configure Service Applications/Web Applications to use the new SQL Server. This will force you to keep the old SQL Server around.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Im using CloverETL to connec to SharePoint using REST API.

    my team is trying to get the List items in SharePoint using REST api. we are using the CloverETL tool using the REST api URL of the list and the credentials in SharePoint which has full control. Below is the rest command that we used.
    /_api/web/lists/getbytitle('title of list')/items 
    when viewing this URL on the same Internet explorer with a user log on to sharepoint the XML of the list is successfully showing. but when we try to load it on the CloverETL tool using the same SharePoint credentials it says access is denied. Also when viewing
    the URL to a browser with no other SharePoint sites open it also says access is denied. 

    how is the webapp configured, as far as authentication?
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to Expose SOA component as Rest Service

    Hi,
    Is there a example to show how to expose SOA component as Rest Service using Http Binding adapter ?
    or
    How to call Rest Service from BPEL/Composite application ?
    Thanks,
    Naveen
    Edited by: 975104 on Dec 21, 2012 1:57 AM

    Please refer Real Web Services with REST and ICF for creation of rest services in sap. The BAPI will have to be called in your handler class.
    I think your best bet would be to transfer the data in the body of the http request and use simple transformation(with multiple roots) to convert the xml data to sap formats. GZIP can also be used to compress the data that is being sent. We have done this successfully in one of our projects.
    However this approach(RESTful Service) would involve more work when compared to the approach suggested by Vikram. If SOAP based services are ok, then you should go ahead with Vikram's approach.

  • Is there a way to use REST service to query data from a forms collection?

    I want to query and retrieve data from a SharePoint forms collection. I have a forms library that has multiple documents all being created using the same template.
    I need to query and retrieve data from it using oData/ReST API.
    I could see the /_vti_bin/listdata.svc and it seems I cannot get the forms data using this.
    What will be the best approach?
    Does that helps?
    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.
    Thanks,
    Kangkan Goswami |Technical Architect| Blog: http://www.geekays.net/
    http://in.linkedin.com/in/kangkan

    Hi,
    Rest service is not available to retrieve the data in forms.
    For this issue, the common workaround I know is to first populate the form fields as columns in form library, then retrieve the columns value instead. You can also use rest service in this way.
    If it is not convenience this way, please provide more information about the scenario to get the data.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Multiple File Upload With Metadata Using REST

    hi all
    I want to upload multiple files with metadata to document library using REST API. I am using this msdn article
    http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx for uploading file. I am able to upload single file to document library but it is not working for multiple file. when I select multiple file it is uploading last selected file. can
    anyone help with this. I am using office 365 environment.
    Thanks in advance

    Hi,
    According to your post, my understanding is that you wanted to use the REST to upload multiple files.
    Per my knowledge, the REST API is not supported for uploading multiple files via a single call.
    You can write your own loop to upload multiple files via an individual call.
    http://sharepoint.stackexchange.com/questions/108525/multiple-file-upload-with-metadata-using-rest/108532#108532
    More reference:
    http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
    http://www.shillier.com/archive/2013/03/26/uploading-files-in-sharepoint-2013-using-csom-and-rest.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • HT4995 I lost my ipod touch--how do i find it using location services?

    I lost my ipod touch-how do I find it using Location services?

    Joel Zimmerman wrote:
    I lost my iPod touch in a club last Saturday. Was on, had a passcode on it but I didn't have Find My iPhone installed. I'm not sure if this is correct information, but an Apple store clerk said that I would still be able to track it if I had registered it with iCloud, which I have done
    What you needed to have already done was to have went to Settings>iCloud and turned FindMyiPod on.
    . The problem is, though, even if this information is true, how will I be able to find it? It's an iPod touch with no GSM/CDMA capabilities. Therefore, it cannot be found unless it was connected to Wi-Fi.
    For location the iPod uses the location of nearby wifi routers that are in Apple's database. Thus, wifi has to be on.
    But how would that be possible unless the person who found it knows my passcode?
    Wifi just has to be on and connected to report its postition to you by going to icloud.com as explained in a previous reply.
    I'm guessing that if the person wipes and restores the device, I will have no way of finding it... unless it works off the serial number?
    If the iPod is restored, you can no longer find it via icloud.com. I uses turning FIndMyiPod on, not the SN,.
    Thanks.

  • How to POST the data though Rest services though composite object.

    I am new to REST services.
    I need to write REST Serivices to post(Update) the data using Composite object.
    I created the structure to pass the composite object from jquery to the REST services.
    How can i handle that composite object in REST Services URITemplate and interface methods.
    can i have sample code to handle the composite object in REST Services?
    Thanks in advance.

    Did you check this post?
    http://sharepoint.stackexchange.com/questions/25222/posting-json-to-a-rest-wcf-endpoint-in-sharepoint-using-cksdev
    --Cheers

  • How to authenticate with CUPS ?

    Hello.
    At my university there is a print service and it's theoretically possible to send print jobs from home. In order to do this I have to set up a new printer as a 'windows printer via samba'. The problem is, that I have to authenticate, but I simply don't know how to send authentication information using CUPS.
    There is a manual from the central computer service of my university. It uses Ubuntu to set up the printer connection and they can authenticate, but I don't know how I can accomplish this with Arch.
    Manual (written in german):
    http://www.univie.ac.at/ZID/uprint-linux/
    Moreover the connection should be secure. Does cups support a secure authentication?
    Greetings,
    hauntergeist

    Ok, I figured out how to send a username and a password via CUPS to authenticate to the printer. It works like this
    smb://username:password@workgroup/server/printersharename
    smb://username:password@server/printersharename
    and can be found here, at the Samba docs.
    I went to my university, logged into the wireless network and tested it. I was able to print my first page via u:pring! Hooray! \o/
    The problem, that I still can't access http://localhost:631/ remains. Damnit, why does it always redirect me to www.localhost.com, which doesn't exist, when I am in the university's network?!?
    The next thing I want to try is to print a test page from my dormitory to prove that I can print via CUPS and VPN.
    Security issue: I think that the username and password are sent as clear text to the printer, so sending a print job via the a normal, non-vpn Internet connection to the printer is unsecure.
    VPN should be secure, isn't it?
    Greetz,
    haunted

  • Issue with 'SAVE AS' RESTful service call in 4.1 SP5 ?

    Hello Everyone,
    I'm facing an issue when trying to save a webi document into another folder using 'SAVE AS' RESTful call, it's giving 500 Internal server error  (through AZOT & RESTClient)
    Following are details:
    We are on to BusinessObjects version 4.1 SP5. In the AZOT workflow, I have created a new document and in the next call I'm trying to save this newly created document into another folder, then this is error is observed.
    RESTful service URL:- [POST] : /documents/{docId}
    Request Body:
                             <document>
                                <name>Testing SAVE AS</name>
                                <folderId>219060</folderId>
                            </document>
    Response:
    Can anyone help me with this ?
    Thanks,
    Ram

    Hello,
    Thanks for your prompt replies.
    @Saritha:
    1. On new document Save call is giving message as "NOT Modified", as i didn't perform any actions.So Yes, I'm able to perform SAVE.
    2. Yes, I have performed other operations like creating a Report.
    @Eric: 3. Yes, the folder which I'm trying to save is writable for the user.
    My Observation: When I'm trying to 'SAVE AS' on new document its giving 500 error as I said earlier.
    1. But, after creating new document, I created a new Report for that document, then 'SAVE AS' working. That means after performing some action/modifying the document 'SAVE AS'  is working for me.
    2. Same issue(500 error) observed when trying to perform 'SAVE AS' call on the EXISTING document as well (which is create in BI Launchpad, refreshing and working fine).
    So, is it mandatory to perform any action (which brings the document to Modify mode [i guess]) before this 'SAVE AS' call ?
    Thanks,
    Ram

  • BODI: How to extract data from a RESTful service

    Hi,
    Is there a way tot extract data from a REST service using Data Integrator (12.1.1.0)?
    I have to import data (in batch and with filters) from  several  webservices using  urls  like https://customer.productservice.net/connect/products.xml
    The service fills the xml file once you call the url.
    To calll the service, you need a username/password.
    Any ideas?
    Thanks!
    Robert.
    Edited by: Robert van den Berg on May 11, 2010 5:09 PM

    Hi,
      I got my answer, goto RS02 to create a datasource to link to this Infoset.

Maybe you are looking for