Courseiva

UiPath-ADAv1 · domain

API-Based Automation

This domain covers calling REST and SOAP APIs from UiPath Studio using the HTTP Request activity, handling JSON and XML responses, and parsing them with Deserialize JSON, Deserialize XML, and JSON/XML activities. Questions test selecting HTTP methods, configuring headers, authentication, and extracting response values into variables for downstream steps.

17 questions1 easy11 medium5 hard

Focused practice

Practice API-Based Automation questions

Scored sessions drawing only from this domain — pick a length below.

What this domain covers

What to know about API-Based Automation

Be able to configure an HTTP Request activity, deserialize the returned JSON or XML, and pull a specific field into a variable for later steps. The most important thing is correctly parsing the response structure before referencing any value.

Configuring the HTTP Request activity with GET, POST, PUT, DELETE methods and endpoint URLs

Deserializing JSON responses into JObject or JArray and extracting values via item properties

Setting request headers, authentication types, and body formats such as application/json

Using Deserialize XML and XPath to read values from SOAP or XML API responses

Watch out for

Common API-Based Automation exam traps

  • ▸Treating the raw response string as already-parsed data instead of running Deserialize JSON first
  • ▸Forgetting that JSON array elements are accessed by index or loop, not by key name
  • ▸Mixing up the HTTP Request activity's response output property with the request body input

Question index

All API-Based Automation questions (17)

Click any question to see the full explanation, or start a practice session above.

1

Refer to the exhibit. You are performing an API call and receive a 400 Bad Request error. What is the most likely cause of this issue in the context of your UiPath automation?

Hard
2

Refer to the exhibit. After invoking an API, you receive the JSON structure shown. Which activity and property configuration is required to extract the 'id' value into a variable?

Medium
3

Which HTTP method is most appropriate when you need to create a new resource on a server, such as submitting a new expense report via an API?

Easy
4

You are automating an API process that involves several sequential calls where the second request requires an ID generated by the first. What is the most efficient way to manage this data flow?

Medium
5

Which THREE of the following are valid ways to authenticate an API request in UiPath's HTTP Request activity?

Medium
6

Which TWO of the following are advantages of using API-based automation over UI-based automation in UiPath?

Medium
7

A developer is building a UiPath automation that calls a REST API to create a new support ticket. The API documentation states that the request body must be sent as JSON with the header Content-Type: application/json. The developer uses the HTTP Request activity, sets the Method property to POST, and places the serialized JSON string in the Body property. However, the API returns a 415 Unsupported Media Type error. Which property should the developer configure to resolve this error?

Medium
8

When sending a large JSON payload using the HTTP Request activity, which property must be correctly set to ensure the server processes the data as the intended format?

Medium
9

When an API returns a 204 No Content status code, what does this signify in your UiPath automation workflow?

Medium
10

A developer is using the HTTP Request activity to send a POST request with a JSON body. The API returns a 201 Created status code along with a JSON response containing the newly created resource's ID. The developer needs to capture this ID for subsequent requests. Which property of the HTTP Request activity should be used to retrieve the response content?

Medium
11

An automation project needs to retrieve secure credentials from a REST API endpoint that requires OAuth 2.0 authorization. Which activity should be utilized first to establish the connection before making subsequent data requests?

Medium
12

Why is it important to include a 'User-Agent' header in your API requests when using UiPath?

Medium
13

A UiPath developer is building an automation that calls a REST API to retrieve a list of active employees. The API returns the following JSON response: {"employees": [{"id": 101, "name": "Alice"}, {"id": 102, "name": "Bob"}], "total": 2}. The developer uses the HTTP Request activity, which outputs the response as a string variable named apiResponse. The developer then uses a Deserialize JSON activity to convert apiResponse into a JObject variable named jsonObj. To iterate through each employee and extract the name, which expression correctly retrieves the array of employee objects from jsonObj?

Medium
14

Which activity is best suited for extracting specific data points from an XML response, as opposed to a JSON response?

Hard
15

A developer is using the HTTP Request activity to call an API that returns a large JSON response. The developer needs to extract a specific value from the response and use it in subsequent steps. The response is stored in a variable of type String. After deserializing the JSON into a JObject, which activity and configuration should the developer use to reliably extract the value using a JSONPath expression?

Hard
16

Refer to the exhibit. The automation project consistently fails with a 'Timeout' exception during a long-running API call. What is the most appropriate action to resolve this issue?

Hard
17

When designing a robust API automation workflow in UiPath, which TWO of the following practices are considered essential for maintaining production-grade reliability?

Hard

Frequently asked questions

What does the API-Based Automation domain cover on the UiPath-ADAv1 exam?
Be able to configure an HTTP Request activity, deserialize the returned JSON or XML, and pull a specific field into a variable for later steps. The most important thing is correctly parsing the response structure before referencing any value.
How many questions are in this domain?
This page lists all 17 API-Based Automation questions in the UiPath-ADAv1 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only API-Based Automation questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
uipath-adav1 UIPATH-ADAV1 api based automation Practice Questions