AmericaSCORESBayArea / salesforce-data-api

This project is based on Mulesoft Dataweave and Salesforce to provide secure, reliable, API access for all the Scores apps and projects. It is hosted on Anypoint and acts as the transactional hub, in concert with the authentication API
3 stars 1 forks source link

Add Support to Session endpoint to support any valid picklist value #70

Open CritiqalPete opened 3 years ago

CritiqalPete commented 3 years ago

Presently, the API will allow only two values in Patch or Create: Writing and Soccer. There are two other values in the picklist which need to be supported.

If an invalid value is submitted, the error response should include an easily enumerated list of all valid options. This will enable the application to self-configure to provide the user with only valid values. Requesting Ticket: https://github.com/AmericaSCORESBayArea/AmericaScores-CoachApp/issues/75

Ignacioals commented 3 years ago

I've just changed the API specification to support all four values (Writing, Soccer, Game day, Soccer and Writing), I've also made the changes on the front end for this, now we just have to redeploy the API I think