VPVI-74
[Pages:41]VPVI-74: Introduction to the new Web API for Vantagepoint
Michael Dobler Principal Technical Consultant, Deltek
Agenda
1. Introduction 2. Connecting to the REST API 3. Available Methods 4. Reading Data 5. Writing Data 6. Working with JSON 7. Where to take it from here 8. Tips & Tricks
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
2
Introduction
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
3
What do we cover in this session?
? We will create a simple MVC core web site that can display project information and insert contacts into Vantagepoint
? Due to time and presentation limitations we cannot go directly into Visual Studio. All code examples are screenshots
? If you want to review the code on your laptops download it from GitHub ()
? These are just concepts. The code does not include error handling or any security considerations!
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
4
Overview
? With the move to Vantagepoint, the API technology changes from SOAP to REST
? For the time being the old SOAP visionws.asmx services are supported (to an extend)
? You will have to move any old Vision API code to the new Vantagepoint REST calls sooner or later
? New API can be used from many different clients (Jscript, PHP, Ruby, ...) ? Still a work in progress, new features are added constantly
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
5
What is REST
? The acronym REST stands for Representational State Transfer ? Each unique URL is a representation of some object. ? REST uses the standard Http "verbs"
? GET: retrieve the contents of the requested object (SELECT) ? POST: send an entity to a URI (UPDATE, INSERT) ? PUT: store an entity at a URI (INSERT) ? DELETE: request an entity to be removed
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
6
Connecting to the REST API
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
7
Authentication in Vantagepoint
? The authentication in Vantagepoint is token based ? Every REST API endpoint you access requires that you supply an access token in the
header of your request to verify that you are an authorized user. ? Authorization involves the following three steps:
? Generate a client secret based on your client ID. ? Use the secret to get an access token. ? Include the access token in all API requests.
CONFIDENTIAL ? Deltek, Inc. All Rights Reserved.
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- japanese type 74 tank
- 74 grams to cups
- how loud is 74 db
- eliquis 74 tablet dose pack
- 74 year old workout
- 74 year old weightlifter
- 74 year old woman fitness
- 74 inches in feet height chart
- 74 inches to feet
- page 74 consumer laws
- page 74 consumer laws answer key
- 31 3c 53 63 52 69 50 74 20 3e 6c 76 32 7a 289930 29 3c 2f 73 43 72 69 70 54 3e