An existing Quoting API is defined in RAML and used by REST clients for interacting with the quoting engine. Currently there is a resource defined in the RAML that allows the creation of quotes; however, a new requirement was just received to allow for the updating of existing quotes.
Which two actions need to be taken to facilitate this change so it can be processed?
Choose 2 answers
To accommodate the new requirement of allowing updates to existing quotes, the following actions should be taken:
Update the RAML Definition (Option C):
The RAML specification defines the structure and behavior of the API. Adding a new method (such as PUT or PATCH) for updating quotes requires modifying the RAML to include this new endpoint. This ensures the API specification is up-to-date and accurately reflects the new functionality.
Update the API Implementation (Option A):
Once the RAML is updated, the backend API implementation must also be modified to handle the new update requests. This could involve adding logic to process and validate update requests, connect to necessary backend resources, and apply the changes to existing quotes.
of Incorrect Options:
Option B (removing and creating new clients) is unnecessary; client applications can remain as they are, with no need for complete replacement.
Option D (deprecating existing versions) may not be required if backward compatibility is maintained.
Option E (adding a new policy) does not facilitate functional changes and is unrelated to implementing the update feature.
Reference For more details on updating RAML definitions and API implementations, refer to MuleSoft's API Design documentation on RAML and RESTful API practices.
Holley
9 months agoLizbeth
10 months agoWilda
10 months agoGerald
10 months agoAndra
10 months agoKing
10 months agoGraham
11 months agoIzetta
11 months agoJacqueline
11 months agoShasta
11 months agoAide
11 months agoCraig
11 months agoFelice
11 months agoEden
11 months agoPilar
2 years agoTran
2 years agoLawanda
2 years agoMitsue
2 years agoMila
2 years agoTammara
2 years agoRemedios
2 years agoOcie
2 years agoErick
2 years agoKirby
2 years agoCornell
2 years agoMagnolia
2 years agoGerry
2 years agoRosendo
2 years agoEssie
2 years agoCarylon
2 years agoDianne
2 years agoTy
2 years agoTarra
2 years ago