sharepoint 2013 web services n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
SharePoint 2013 Web Services PowerPoint Presentation
Download Presentation
SharePoint 2013 Web Services

Loading in 2 Seconds...

play fullscreen
1 / 13

SharePoint 2013 Web Services - PowerPoint PPT Presentation


  • 86 Views
  • Uploaded on

SharePoint 2013 Web Services. REST und OData. Was ist eigentlich REST?. RE presentational S tate T ransfer deutlich einfachere Alternative zu SOAP basiert auf HTTP Frage/Antwort-Paaren Client sendet HTTP-Anfragen zu spezifischen Ressourcen mittels eindeutiger URIs

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'SharePoint 2013 Web Services' - thisbe


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
was ist eigentlich rest
Was ist eigentlich REST?
  • REpresentational State Transfer
  • deutlich einfachere Alternative zu SOAP
  • basiert auf HTTP Frage/Antwort-Paaren
  • Client sendet HTTP-Anfragen zu spezifischen Ressourcen mittels eindeutiger URIs
  • Ressourcenaustausch über Repräsentationen
  • Repräsentationen von Ressourcen werden über Internet Media Types definiert
restful web service
RESTful Web Service
  • REST URI = [Basis-URI] + [Pfad zu Ressourcen] + [Query-Optionen]
  • Standard HTTP-Verbs für Aufrufe (GET, POST, PUT, DELETE, PATCH)
  • RESTful Service kann APIs implementieren
repr sentation durch internet media types
Repräsentation durch Internet Media Types
  • Repräsentationen basieren auf gewöhnlichen Formaten: HTML, XML, JSON, ATOM
  • Internet Media Types
    • text/html
    • text/xml
    • application/xml
    • application/atom+xml
    • application/json
slide6
DEMO

RESTful Web Service konsumieren

was ist odata
Was ist OData?
  • eine standardisierte REST API
    • standardisierter Datenzugriff
    • gebräuchliche CRUD Operationen
      • CREATE  HTTP POST
      • READ  HTTP GET
      • UPDATE  HTTP PUT oder HTTP PATCH
      • DELETE  HTTP DELETE
odata uris
OData URIs
  • OData URI = [Basis-URI] + [Pfad zu Ressourcen] + [Query-Optionen]
  • Query-Optionen
    • $select
    • $filter
    • $orderby
    • $top
    • $skip
    • $expand
der filter parameter
Der $filter Parameter
  • Operatoren
    • Logisch (Equal, Not equal, Greater than, ...)
    • Arithmetisch (Add, Subtract, Multiply, ...)
    • Gruppierung
  • Funktionen
    • String (endswith, startswith, substring, ...)
    • Datum (day, hour, second, year, ...)
    • Mathematisch (round, floor, ceiling)
    • Typ (isOf)
odata in sharepoint 2013
OData in SharePoint 2013
  • /_api
  • /_vti_bin/Client.svc
  • Client.svc entsprechend OData Protokoll
  • unterstützt direkten Zugriff von REST Clients
  • akzeptiert GET, PUT und POST
slide11
DEMO

OData und REST in SharePoint

vielen dank

Vielen Dank!

Manuel Ihlau