Skip to content

heliewerton/ServiceAPI

Repository files navigation

ServiceAPI

Basic .NET API usage consuming a third-party api.

How to run?

Download C#

Download Visual Studio 2017(https://www.visualstudio.com/pt-br/downloads/), which has the latest features built-in.

To install the latest release without Visual Studio, run one of the following nuget command lines:

nuget install Microsoft.Net.Compilers   # Install C# and VB compilers
nuget install Microsoft.CodeAnalysis    # Install Language APIs and Services

Download Postman or any other API Toolchain

https://www.getpostman.com/

Debug/run the API and send the follow json request:

URI: api/travellogic/search
Request Type: application/json
{
 "Language":"ENG",
 "Currency":"USD",
 "destination":"MCO",
 "DateFrom":"10/12/2018",
 "DateTO":"10/14/2018",
 "Occupancy": {"AdultCount":"1","ChildCount":"1", "ChildAges":["10"] } 
}

About

Basic .NET API usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published