Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam MB-820 Topic 1 Question 6 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 6
Topic #: 1
[All MB-820 Questions]

You need to call the Issue API action from the mobile application.

Which action should you use?

Show Suggested Answer Hide Answer
Suggested Answer: C

In the context provided by the case study, when calling an API action from a mobile application, the correct format for a POST request to an action in Business Central typically involves specifying the entity (/issues), the ID of the entity (88122e0e-5796-ec11-bb87-000d3a392eb5), and the action to be called (/Copy). The action name should match the exact name as defined in the AL code, which is case-sensitive.

Option A is incorrect because it uses a non-standard format for the action call.

Option B uses the PATCH method, which is generally used for update operations, not for calling actions.

Option C is correct as it uses the POST method, which is appropriate for calling actions, and correctly specifies the entity, ID, and action name.

Option D is incorrect because the action name /copy is in lowercase, while AL is case-sensitive, and it should match the case exactly as defined in the code.

Option E incorrectly adds 'MicrosoftNAV' before the action name, which is not standard for calling actions in Business Central APIs.

Hence, the correct action to use when calling the Issue API action from the mobile application is given in Option C.


Contribute your Thoughts:

Lajuana
3 months ago
Option E seems valid too, it could be the right choice for the Issue API action
upvoted 0 times
...
Lourdes
3 months ago
I'm not sure about option A, maybe we should consider option E) POST/issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/MicrosoftNAV.Copy
upvoted 0 times
...
Refugia
4 months ago
I agree with Lajuana, option A seems like the correct action to call
upvoted 0 times
...
Lajuana
4 months ago
I think we should use option A) POST/issues
upvoted 0 times
...
Noah
5 months ago
Good catch. Option E also looks a bit odd, with the 'MicrosoftNAV.Copy' at the end. That doesn't seem to be the standard convention.
upvoted 0 times
Verdell
4 months ago
I agree, option E looks off with the 'MicrosoftNAV.Copy' at the end. It doesn't seem to follow the standard convention.
upvoted 0 times
...
Laquita
4 months ago
E) POST/issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/MicrosoftNAV.Copy
upvoted 0 times
...
Aron
4 months ago
Option A is also not correct because of the syntax error at the end of the endpoint.
upvoted 0 times
...
Arlette
4 months ago
A) POST/issues (88122e0e-5796-ec11-bb87-000d3a392eb5yMicrosoit.NAV.copy
upvoted 0 times
...
Simona
4 months ago
No, I believe option C is incorrect as it uses the wrong method and endpoint structure.
upvoted 0 times
...
Aja
4 months ago
C) POST /issues (88122e0e-5796-ec11 -bb87-000d3a392eb5)/Copy
upvoted 0 times
...
Jacqueline
4 months ago
I think option B is the correct one. It specifies using PATCH method and seems to have the correct endpoint.
upvoted 0 times
...
Frank
4 months ago
B) PATCH /issues {88122 eOe-5796-ed 1 -bb87-000d3a392eb5)/Mkrosotl.NAV.Copy
upvoted 0 times
...
...
Santos
5 months ago
Ah, I see what you mean. Option D is similar, but it uses 'copy' instead of 'Copy', which might be a typo or a different convention.
upvoted 0 times
...
Stephaine
5 months ago
I agree, option C seems to be the correct answer. The /Copy action indicates that we're performing a copy operation on the Issue resource.
upvoted 0 times
...
Lucina
5 months ago
Haha, yes, let's hope so! These certification exams can be tricky, but with a bit of logical thinking, we can usually figure them out.
upvoted 0 times
...

Save Cancel