A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?
A)
B)
C)
D)
A . Option A
B . Option B
C . Option C
D . Option D
Answer: D
Explanation:
URI parameter is basically used to identify a specific resource or resources
* Here we want to update details about specific department, so question is asking ‘How to use URI parameter’ in RAML
* Correct answer is
/departments:
/{deptId}:
patch:
Reference: https://docs.mulesoft.com/design-center/design-common-problems-raml-10
Latest MCPA-Level 1 exam Dumps Valid Version with 58 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund