SlideShare a Scribd company logo
SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST
SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST
series on
ITUnity my blog
Sources: http://en.wikipedia.org/wiki/SOAP#History, http://en.wikipedia.org/wiki/Representational_state_transfer
Deprecated
Deprecated
Endpoint
/_vti_bin/listdata.svc
/_api
Deprecated
TBD, but unified
None
SOAP REST
Source: https://spservices.codeplex.com/wikipage?title=$().SPServices
SOAP
SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST
SOAP
SOAP
REST
SOAPREST
SOAP Option
(SPServices synonym)
REST Comments
ViewFields
(CAMLViewFields)
$select Choose the columns you would like to retrieve. With both SOAP and REST we get
some data we don’t explicitly request, but by specifying only the columns we need
we can reduce the payload sizes.
Query
(CAMLQuery)
$filter,
$orderby
Specify which items in the list we would like to return and how we would like them
sorted.
RowLimit
(CAMLRowLimit)
$limit Say how many items matching the Query we would like to receive. In SOAP we can
specify 0 to get all matching items; in REST we can omit the parameter to get all the
matching items. Otherwise, we can specify any integer as the limit.
ViewName
(CAMLViewName)
NA ViewName lets you choose the view you would like to get in the response. There’s
no REST equivalent here. I’ve always discouraged using this option in SOAP because
it’s too easy to change the view settings and cause unintended consequences.
QueryOptions
(CAMLQueryOptions)
NA In SOAP, this lets us specify some options that change how the data is returned to
us. For example, we can ask for all of the attachment URLs rather than just a
Boolean which tells us that there are attachments.
NA $expand This option in REST has no direct equivalent in SOAP. $expand allows us to indicate
that we would like the values for a relationship - rather than just the indices - using
a projection. This is important with Lookup columns and Person or Group columns.
SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST
JSON
SPGetListItemsJson
XML
GetListItems
JSON
REST
Details: https://www.getpostman.com/
We’ll look at live examples showing the different
ways we can request data, along with conversion
approaches.
SharePoint 2013 – CRUD on List Items Using REST
Services & jQuery
Get started with the SharePoint 2013 REST service
Working with lists and list items with REST
Use OData query operations in SharePoint REST
requests
OData.org
Email marc.anderson@sympraxisconsulting.com
Twitter @sympmarc
Blog http://sympmarc.com
SPServices http://spservices.codeplex.com
SPXSLT http://spxslt.codeplex.com
Books http://sympmarc.com/books
The Middle Tier Manifesto http://bit.ly/middletier

More Related Content

PPTX
SharePoint Saturday Boston 2015 - Moving from SOAP to REST
PPTX
WebServices introduction
ODT
Rest With Json Vs Soap With Xml
PPT
RESTful JSON web databases
PPTX
JSON and REST
PPTX
WP Rest API
PPTX
Rest presentation
PPTX
SharePoint Object Model, Web Services and Events
SharePoint Saturday Boston 2015 - Moving from SOAP to REST
WebServices introduction
Rest With Json Vs Soap With Xml
RESTful JSON web databases
JSON and REST
WP Rest API
Rest presentation
SharePoint Object Model, Web Services and Events

Similar to SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST (20)

PPTX
SPTechCon Dev Days SFO 2015 - Moving from SOAP to REST
PPTX
Collab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It Sometime
PPTX
SharePoint Evolutions 2015 - Moving from SOAP to REST
PPTX
Understanding and programming the SharePoint REST API
PPTX
Introduction to the SharePoint 2013 REST API
PPTX
Rest API and Client OM for Developer
PPTX
SharePoint REST vs CSOM
PPTX
Data Access Options in SharePoint 2010
PDF
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
DOCX
SharePoint 2013 REST API & Remote Authentication
PPTX
Introduction to SharePoint 2013 REST API
PPTX
Develop iOS and Android apps with SharePoint/Office 365
PDF
Comsharepoint2013pdf
PPTX
SharePoint Client Object Model (CSOM)
PDF
Hard learned CSOM and REST tips
PDF
Building windows8 modern app for sp2013
PPTX
Programming SharePoint 2010 with Visual Studio 2010
PDF
Tutorial, Part 3: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
PPTX
Enterprise integration options with Smallworld
PPTX
Enterprise integration options with Smallworld
SPTechCon Dev Days SFO 2015 - Moving from SOAP to REST
Collab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It Sometime
SharePoint Evolutions 2015 - Moving from SOAP to REST
Understanding and programming the SharePoint REST API
Introduction to the SharePoint 2013 REST API
Rest API and Client OM for Developer
SharePoint REST vs CSOM
Data Access Options in SharePoint 2010
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
SharePoint 2013 REST API & Remote Authentication
Introduction to SharePoint 2013 REST API
Develop iOS and Android apps with SharePoint/Office 365
Comsharepoint2013pdf
SharePoint Client Object Model (CSOM)
Hard learned CSOM and REST tips
Building windows8 modern app for sp2013
Programming SharePoint 2010 with Visual Studio 2010
Tutorial, Part 3: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Enterprise integration options with Smallworld
Enterprise integration options with Smallworld
Ad

More from Marc D Anderson (20)

PPTX
SPC2019 - Managing Content Types in the Modern World
PPTX
ECS2019 - Managing Content Types in the Modern World
PPTX
Rencontre Groupe d'usagers SharePoint Montreal - The Next Great Migration - C...
PPTX
RISPUG - Top Form - Using PowerApps to Replace List Forms
PPTX
SPCNA 2018 - Top Form - Using PowerApps to Replace List Forms
PPTX
SPCNA 2018 - The Next Great Migration - Classic to Modern
PPTX
SPS New York City 2017 - The Lay of the Land of Client-Side Development circa...
PPTX
ECS Zagreb 2017 - Content Types - Love Them or Lose It
PPTX
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
PPTX
Lions Tigers Teams - SPTechCon Austin 2017
PPTX
Oslo SP User Group - Content Types - Love Them or Lose It
PPTX
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
PPTX
SPTechCon Boston 2016 - Creating a Great User Experience in SharePoint
PPTX
SPTechCon Boston 2016 - Content Types - Love Them or Lose It
PPTX
SPC Adriatics 2016 - Creating a Great User Experience in SharePoint
PPTX
SPC Adriatics 2016 - Alternative Approaches to Solution Development in Office...
PPTX
SharePointFest Konferenz 2016 - Creating a Great User Experience in SharePoint
PPTX
SharePointFest Konferenz 2016 - Alternative Approaches to Solution Developmen...
PPTX
SPTechCon Austin 2016 - Content Types-Love Them or Lose It
PPTX
SPTechCon Austin 2016 - Creating a Great User Experience in SharePoint
SPC2019 - Managing Content Types in the Modern World
ECS2019 - Managing Content Types in the Modern World
Rencontre Groupe d'usagers SharePoint Montreal - The Next Great Migration - C...
RISPUG - Top Form - Using PowerApps to Replace List Forms
SPCNA 2018 - Top Form - Using PowerApps to Replace List Forms
SPCNA 2018 - The Next Great Migration - Classic to Modern
SPS New York City 2017 - The Lay of the Land of Client-Side Development circa...
ECS Zagreb 2017 - Content Types - Love Them or Lose It
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
Lions Tigers Teams - SPTechCon Austin 2017
Oslo SP User Group - Content Types - Love Them or Lose It
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
SPTechCon Boston 2016 - Creating a Great User Experience in SharePoint
SPTechCon Boston 2016 - Content Types - Love Them or Lose It
SPC Adriatics 2016 - Creating a Great User Experience in SharePoint
SPC Adriatics 2016 - Alternative Approaches to Solution Development in Office...
SharePointFest Konferenz 2016 - Creating a Great User Experience in SharePoint
SharePointFest Konferenz 2016 - Alternative Approaches to Solution Developmen...
SPTechCon Austin 2016 - Content Types-Love Them or Lose It
SPTechCon Austin 2016 - Creating a Great User Experience in SharePoint
Ad

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Modernizing your data center with Dell and AMD
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Modernizing your data center with Dell and AMD
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence

SharePoint Tech Fest Houston 2015 - Moving from SOAP to REST