Skip to content

coding challenge to manipulate the response from an API and post a new request

Notifications You must be signed in to change notification settings

punithkumar-bs/API-Manipulation-for-Invitation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Coding Challenge

this project contains the logic to send invitations to a special two-day event in each country for clients partners in those countries. We need to find the dates that’ll work best based on survey results that partners have sent in and determine how many people can attend. You’re provided with an API that gives you a list of partners, their countries, and which dates they’re available in ISO 8601 format. Another team will send out the invitations, but you need to tell them when we should host the event and who should attend by POSTing to an API. The date you send in for the country should be the starting date of the two day period where the most partners can make it for both days in a row. In case of multiple dates with the same number of partners, pick the earlier date. If there are no two days in a row when any partners can make it, return null.

Spring Boot REST API project

API Guidelines

  • If partners are retrieved and successfully transformed then the response of "Successfully invited, Status code: 200 OK" will be returned.

  • Otherwise "Unsuccessful in inviting because : 400" will be returned.

About

coding challenge to manipulate the response from an API and post a new request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages