Examples

REST Examples

Phone Book

Method URL Description
GET examples/phonebook/api/ List all the phone book entries, supports the following optional query parameters:
  • title
  • firstname
  • lastname
GET examples/phonebook/api/{id} Get a phone book entry for the supplied ID (ID matches with the ID field from the general query above)
POST examples/phonebook/api/ Create a new phone book entry, JSON should conform to that returned from the GET call above
PUT examples/phonebook/api/{id} Update the entry to be the values supplied to this PUT call.
DELETE examples/phonebook/api/{id} Remove this entry from the phone book

Web Service Examples

Calculator

A simple calculator service offering add, subtract, multiply, divide and modulus

Calculator WSDL

Echo

A simple echo service that sends the supplied string back again

Echo WSDL

Login

A simple login service that returns a unique token from all login attempts, does not verify the user name or password supplied

Login WSDL