# JSON and XML Response Examples

This section provides specific examples of the following format responses or inputs for the supported fields or the operations on the Web Services source:

- [JSON Response Examples](<#json-operations>)
- [XML Response Examples](<#xml-operations>)

## JSON Operations

This section provides examples of JSON responses for the supported operations.

### Test Connection

> [!NOTE]
>
> SailPoint recommends that you have a single endpoint set up for test connections because there may be timeout issues for multiple endpoints in test connections.

This topic provides an example of a JSON response for a test connection operation.

> [!NOTE]
>
> **Test Connection Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Test Connection (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Test Connection**.
> 3. In the **Context URL** field, enter the URL specific to the test connection.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Test Connection General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs are sent as part of the header in the HTTP request.
>
> [![Test Connection Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for a test connection.
>
> In the **Raw** field, enter the JSON payload for the test connection.
>
> [![Test Connection Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Test Connection Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to JSON response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Test Connection Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_test_connection_response_map.png>)

### Aggregation

This topic provides an example of a JSON response for an account aggregation operation.

#### Account Aggregation - 1

Using the Web Services SaaS source, you can have multiple account aggregation operations.

For example: Aggregation - 1 and Aggregation - 2.

You can aggregate two attributes from EndPoint1 and three more attributes from EndPoint2.

When you configure multiple operations, the response of first operation can be used as an input in the second operation.

> [!NOTE]
>
> **Account Aggregation - 1 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation - 1 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Account Aggregation**.
> 3. In the **Context URL** field, enter the URL specific to the account aggregation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Account Aggregation - 1 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation1.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation1.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Aggregation - 1 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for an account aggregation.
>
> In the **Raw** field, enter the JSON payload for the account aggregation.
>
> [![Account Aggregation - 1 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Aggregation - 1 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Account Aggregation - 1 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation_response_map.png>)

#### Account Aggregation - 2

For example, during aggregation of Dropbox, the response of the first endpoint will return the `id`, `Username`, `firstName`, among others.

This response must be provided as an input to the second endpoint. This can be provided with the help of a keyword "response" (`$response.team_member_id$`), where `team_member_id` is the value fetched from Account Aggregation -1 and it is an identity attribute in the source schema.

> [!NOTE]
>
> **Account Aggregation - 2 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation - 2 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Account Aggregation**.
> 3. In the **Context URL** field, enter the URL specific to the account aggregation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Account Aggregation - 2 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Aggregation - 2 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for an account aggregation.
>
> In the **Raw** field, enter the JSON payload for the account aggregation.
>
> To fetch additional attributes from another endpoint, use the id (identity attribute) from the previous response. Add these attributes in **Schema Attribute** section of **Response Mapping** of the first end point (Account Aggregation - 1).
>
> In the following screenshot, `$response.team_member_id$` represents the identity that was aggregated in the Account Aggregation-1 and is mentioned previously in the schema mapping section of Account Aggregation -1.
>
> [![Account Aggregation - 2 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Aggregation - 2 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to XML response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Account Aggregation - 2 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_response_map.png>)
>
> On the **Parent Endpoint** tab:
>
> In the following example, Account Aggregation -1 (JSON) is the parent endpoint and Account Aggregation - 2(JSON) is its child endpoint.
>
> From the **Parent Endpoint Name** dropdown list, select **Account Aggregation - 1 (JSON)**, as shown below.
>
> [![Account Aggregation - 2 Parent Endpoint](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_parent.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_aggregation2_parent.png>)

#### Account Aggregation - 3

For example, to aggregate users using GraphQL:

> [!NOTE]
>
> **Account Aggregation - 3 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation (GraphQL)`.
> 2. From the **Operation Type** dropdown list, select **Account Aggregation**.
> 3. In the **Request Type** field, select **GraphQL**.
> 4. In the **Query** and **GraphQL Variables** sections, enter the query and variables specific to the account aggregation.
>
> [![Account Aggregation - 3 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql.png>)
>
> On the **Header** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Aggregation - 3 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql1.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql1.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** are the successful HTTP response codes expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Aggregation - 3 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql_2png.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql_2png.png>)
>
> On the **Response Mapping** tab:
>
> Enter the **Schema Attribute** and **Attribute Path** for JSON response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Account Aggregation - 3 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql3.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql3.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> Enter the **Namespace Prefix** and **Namespace URL** for JSON response.
>
> [![Account Aggregation - 3 XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql_4png.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql_4png.png>)
>
> On the **Parent Endpoint** tab:
>
> From the **Parent Endpoint** dropdown list, select **Account Aggregation(GraphQL)**.
>
> [![Account Aggregation - 3 Parent Endpoint](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql5.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql5.png>)
>
> On the **Paging** tab:
>
> Enter the cursor-based pagination values.
>
> [![Account Aggregation - 3 Paging](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql6.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/gql6.png>)

### Create Account

This topic provides examples of a JSON response for the create account operation.

#### Create Account - 1

> [!NOTE]
>
> **Create Account - 1 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Create Account (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Create Account**.
> 3. In the **Context URL** field, enter the URL specific to the create account operation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Create Account - 1 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Create Account - 1 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for account creation.
>
> In the **Raw** field, enter the JSON payload for the account creation.
>
> In the following screenshot, the `$plan` keyword represents the provisioning plan that is passed to the provision method. For example, `$plan.member_email$` checks for the email in the attribute request and updates in the body after it is found.
>
> [![Create Account - 1 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Create Account - 1 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Create Account - 1 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_create_account_response_map.png>)

#### Create Account - 2

For example, to aggregate users using GraphQL:

> [!NOTE]
>
> **Create Account - 2 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Create Account(GraphQL)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Create Account**.
> 3. In the **Request Type** field, select **GraphQL**.
> 4. Enter the **Query** and **GraphQL Variables** specific to the account aggregation.
>
> [![Create Account - 2 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Create Account - 2 Header and Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca1.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca1.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Create Account - 2 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca2.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca2.png>)
>
> On the **Response Mapping** tab:
>
> The following is an example of a schema that is mapped to the JSON response. For more information, refer to to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>).
>
> [![Create Account - 2 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca3.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca3.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> Enter the **Namespace Prefix** and **Namespace URL** for JSON response.
>
> [![Create Account - 2 XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca4.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/ca4.png>)

### Add Entitlement

This topic provides an example of a JSON response for an add entitlement operation.

> [!NOTE]
>
> **Add Entitlement Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Add Entitlement (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Add Entitlement**.
> 3. In the **Context URL** field, enter the URL specific to the entitlement.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Add Entitlement General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Add Entitlement Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for adding entitlements.
>
> In the **Raw** field, enter the JSON payload for the entitlement.
>
> In the following screenshot, the `plan.nativeIdentity` keyword signifies the AccountID (identity attribute) in the account request of the plan. If the plan contains the identity attribute of an account, it can be updated in the payload with `$plan.nativeIdentity$`.
>
> [![Add Entitlement Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Add Entitlement Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Add Entitlement Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_add_entitlement_response_map.png>)

### Remove Entitlement

This topic provides an example of a JSON response for a remove entitlement operation.

> [!NOTE]
>
> **Remove Entitlement Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Remove Entitlement (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Remove Entitlement**.
> 3. In the **Context URL** field, enter the URL specific to the entitlement.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Remove Entitlement General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Remove Entitlement Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for removing entitlements.
>
> In the **Raw** field, enter the JSON payload for the entitlement.
>
> In the following screenshot, the `plan.nativeIdentity` keyword signifies the AccountID (identity attribute) in the account request of the plan. If the plan contains the identity attribute of an account, it can be updated in the payload with `$plan.nativeIdentity$`.
>
> [![Remove Entitlement Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Remove Entitlement Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Remove Entitlement Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_remove_entitlement_response_map.png>)

### Update Account

This topic provides an example of a JSON response for an update account operation.

> [!NOTE]
>
> **Update Account Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Update Account (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Update Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Update Account General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Update Account Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_header.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_header.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for updating accounts.
>
> In the **Raw** field, enter the JSON payload for the account.
>
> [![Update Account Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Update Account Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Update Account Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_update_account_response_map.png>)

### Get Object

This topic provides an example of a JSON response for a get object operation.

> [!NOTE]
>
> **Get Object Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Get Object (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Get Object**.
> 3. In the **Context URL** field, enter the URL specific to the get object.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Get Object General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_obj.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_obj.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Get Object Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for get object.
>
> In the **Raw** field, enter the JSON payload for get object.
>
> In the following screenshot, the `$nativeIdentity$` signifies the AccountID (identity attribute) in the plan or during getObject operation. For example, `nativeIdentity` is used along with the keyword as follows:
>
> getobject: getObject.nativeIdentity
>
> This `$nativeIdentity$` can be used in the Authentication URL.
>
> [![Get Object Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Get Object Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Get Object Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_get_object_response_map.png>)

### Enable Account

This topic provides an example of a JSON response for an enable account operation.

#### Enable Account - 1

To enable an account using the Web Services SaaS source you may set two operations such as Enable Account -1 and Enable Account - 2. In the first operation (Enable Account -1), the get object can be done and the returned response object is used as the input for the second operation (Enable Account - 2). Refer to the Header and Body of [Enable Account - 2](<#enable-account-2>).

> [!NOTE]
>
> **Enable Account - 1 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Enable Account - 1 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Enable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Enable Account - 1 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_gen.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_gen.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Enable Account - 1 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for enabling an account.
>
> In the **Raw** field, enter the JSON payload for the account.
>
> [![Enable Account - 1 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Enable Account - 1 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Enable Account - 1 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_map.png>)

#### Enable Account - 2

> [!NOTE]
>
> **Enable Account - 2 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Enable Account - 2 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Enable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Enable Account - 2 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Enable Account - 2 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for enabling an account.
>
> In the **Raw** field, enter the JSON payload for the account.
>
> [![Enable Account - 2 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account2_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Enable Account - 2 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_enable_account_response_info.png>)

### Disable Account

This topic provides an example of a JSON response for a disable account operation.

#### Disable Account - 1

To disable an account using the Web Services SaaS source you must set two operations such as Disable Account -1 and Disable Account - 2. In the first operation (Disable Account -1), the get object is done and the returned object is used as the input for the second operation (Disable Account - 2). Refer to the Header and Body of [Disable Account - 2](<#disable-account-2>).

> [!NOTE]
>
> **Disable Account - 1 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Disable Account - 1 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Disable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Disable Account - 1 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Disable Account - 1 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for disabling an account.
>
> In the **Raw** field, enter the JSON payload for the account.
>
> [![Disable Account - 1 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Disable Account - 1 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_general_info.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Disable Account - 1 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_response_map.png>)

#### Disable Account - 2

> [!NOTE]
>
> **Disable Account - 2 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Disable Account - 2 (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Disable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Disable Account - 2 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Disable Account - 2 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for disabling an account.
>
> In the **Raw** field, enter the JSON payload for the account.
>
> [![Disable Account - 2 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account2_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Disable Account - 2 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_disable_account_response_info.png>)

### Change Password

This topic provides an example of a JSON response for a change password operation.

> [!NOTE]
>
> **Change Password Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Change Password (JSON)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Chance Password**.
> 3. In the **Context URL** field, enter the URL specific to the change password operation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Change Password General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_pass.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_pass.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Change Password Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. You can use either of them for changing a password.
>
> In the **Raw** field, enter the JSON payload for the password change.
>
> [![Change Password Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_body.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_body.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Change Password Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_change_password_response_info.png>)

## XML Operations

This section provides examples of XML responses for the supported operations.

### Test Connection

This topic provides an example of an XML response for a test connection operation.

> [!NOTE]
>
> **Test Connection Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Test Connection (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Test Connection**.
> 3. In the **Context URL** field, enter the URL specific to the test connection.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Test Connection General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs are sent as part of header in the HTTP request.
>
> [![Test Connection Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the test connection.
>
> [![Test Connection Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Test Connection Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_test_connection_response_info.png>)

### Account, Entitlement, or Get Object Aggregation

This topic provides an example of an XML response for an aggregation operation.

#### Account Aggregation - 1

Using the Web Services SaaS source, you can have multiple account aggregation operations.

For example: Aggregation - 1 and Aggregation - 2.

You can aggregate two attributes from EndPoint1 and three more attributes from EndPoint2.

When you configure multiple operations, the response of first operation can be used as an input in the second operation.

> [!NOTE]
>
> **Account Aggregation - 1 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation - 1 (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Account Aggregation**.
> 3. In the **Context URL** field, enter the URL specific to the account aggregation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Account Aggregation - 1 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Aggregation - 1 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account aggregation.
>
> [![Account Aggregation - 1 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Aggregation - 1 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to XML response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Account Aggregation - 1 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_response_map.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> The namespace **xmlns** is the default namespace for the example mentioned in this section, and it is represented as **ns** in the following screenshot.
>
> [![Account Aggregation - 1 XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_xpath.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation_xpath.png>)

#### Account Aggregation - 2

For example, during aggregation of Dropbox, the response of the first endpoint will return `id`, `Username`, `firstName`, among others.

This response must be provided as an input to the second endpoint, this can be provided with help of a keyword "response" (`$response.team_member_id$`), where the `team_member_id` is the value fetched from Account Aggregation -1 and it is an identity attribute in the source schema.

> [!NOTE]
>
> **Account Aggregation - 2 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation - 2 (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Account Aggregation**.
> 3. In the **Context URL** field, enter the URL specific to the account aggregation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Account Aggregation - 2 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Aggregation - 2 Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account aggregation.
>
> To fetch additional attributes from another endpoint, use the `id` (identity attribute) from the previous response. Add these attributes in **Schema Attribute** section of **Response Mapping** of the first end point (Account Aggregation - 1).
>
> In the following screenshot the `$response.team_member_id$` represents the identity that was aggregated in Account Aggregation-1 and mentioned in the schema mapping section of Account Aggregation -1.
>
> [![Account Aggregation - 2 Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Aggregation - 2 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to XML response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Account Aggregation - 2 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_response_map.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> The namespace **xmlns** is the default namespace for the example mentioned in this section, and it is represented as **ns** in the following screenshot.
>
> [![Account Aggregation - 2 XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_xpath.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_xpath.png>)
>
> On the **Parent Endpoint** tab:
>
> In the following example, Account Aggregation -1 (JSON) is the parent endpoint and Account Aggregation - 2(JSON) is its child endpoint.
>
> From the **Parent Endpoint Name** dropdown list, select **Account Aggregation - 1 (JSON)**, as shown below.
>
> [![Account Aggregation - 2 Parent Endpoint](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_parent.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_account_aggregation2_parent.png>)

### Create Account

This topic provides an example of an XML response for a create account operation.

> [!NOTE]
>
> **Create Account Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Create Account (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Create Account**.
> 3. In the **Context URL** field, enter the URL specific to the account creation.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Create Account General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Create Account Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account creation.
>
> In the following screenshot, the `$plan` keyword represents the Provisioning Plan that is passed to the provision method. For example, `$plan.LastName` checks for the last name in the attribute request and updates in the body after it is found.
>
> [![Create Account Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Create Account Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to XML response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Create Account Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_response_map.png>)
>
> On the **XPAth Namespace Mapping** tab:
>
> The namespace **xmlns** is the default namespace for the example mentioned in this section, and it is represented as **ns** in the following screenshot.
>
> [![Create Account XPAth Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_xpath.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_create_account_xpath.png>)

### Account Delta Aggregation

This topic provides an example of an XML response for the delta aggregation operation.

#### Account Delta Aggregation - 3

Using the Web Services SaaS source, you can perform account delta aggregation operations.

> [!NOTE]
>
> **Account Delta Aggregation - 3 Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Account Aggregation - 3` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Account Delta Aggregation**.
> 3. In the **Context URL** field, enter the URL specific to the account delta aggregation. For example, the URL specified in the context URL is `/users?filter=meta.lastModifiedDate gt "$application.lastAggregationDate_account$"` ; where the `lastAggregationDate_account` is the last successful aggregation timestamp.
>
>    > **Note**
>    >
>    > The default time period is in format: "`yyyy-MM-dd'T'kk:mm:ss'Z'`" If you want to change the time period format, use the following key-value pair to update the source via API: **key**: `connector_dateTimePattern`**value**: "`yyyy-MM-dd'T'kk:mm:ss'Z'`" **key** : `connector_serverTimeZone`**value**: "`UTC`"
> 4. In the **HTTP Method** dropdown list, select **GET**.
>
> [![Account Delta Aggregation - 3 General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_delta_aggregation.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_delta_aggregation.png>)
>
> On the **Headers** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Account Delta Aggregation - 3 Headers](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_headers_delta_aggr.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_headers_delta_aggr.png>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the JSON response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Account Delta Aggregation - 3 Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_response_delta_aggr.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_response_delta_aggr.png>)
>
> On the **Response Mapping** tab:
>
> Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information about the raw JSON response on which the **Response Information** schema is mapped.
>
> [![Account Delta Aggregation - 3 Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_response_map_delta_aggr.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_response_map_delta_aggr.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> The namespace **xmlns** is the default namespace for the example mentioned in this section, and it is represented as **ns**.
>
> [![Account Delta Aggregation - 3 XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_namespace_delta_aggregation_exp.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_namespace_delta_aggregation_exp.png>)
>
> On the **Parent Endpoint** tab:
>
> From the **Parent Endpoint Name** dropdown list, if needed select the endpoint on which the current operation is dependent to process the request.
>
> [![Account Delta Aggregation - 3 Parent Endpoint](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_parent_endpoint_delta_aggr.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_parent_endpoint_delta_aggr.png>)
>
> On the **Paging** tab:
>
> 1. In the **Initial Page Offset**, select the page offset required.
> 2. From the **Page Size**, select the required page size for delta aggregation.
> 3. In the **Paging Steps** field, enter any necessary paging steps defined.
>
> [![Account Delta Aggregation - 3 Paging](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_paging_delta_aggr.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/json_paging_delta_aggr.png>)

### Get Object

This topic provides an example of an XML response for a get object operation.

> [!NOTE]
>
> **Get Object Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Get Object (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Get Object**.
> 3. In the **Context URL** field, enter the URL specific to the get object.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Get Object General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Get Object Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the get object.
>
> The `$nativeIdentity$` signifies the AccountID (identity attribute) in the plan or during the get object operation. For example, `nativeIdentity` is used along with the following keywords:
>
> - **getobject** - `$getObject.nativeIdentity$`
> - **plan** - `$plan.nativeIdentity$`
>
> [![Get Object Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Get Object Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_response_info.png>)
>
> On the **Response Mapping** tab:
>
> Below is an example of a schema that is mapped to XML response. Refer to [Configuration for Response](<https://documentation.sailpoint.com/connectors/web_services/saas/help/configuration_parameters.html#configuration-for-response>) for more information.
>
> [![Get Object Response Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_response_map.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_response_map.png>)
>
> On the **XPath Namespace Mapping** tab:
>
> The namespace **xmlns** is the default namespace for the example mentioned in this section, and it is represented as **ns** in the following screenshot.
>
> [![Get Object XPath Namespace Mapping](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_xpath.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_get_object_xpath.png>)

### Add Entitlement

This topic provides an example of an XML response for an add entitlement operation.

> [!NOTE]
>
> **Add Entitlement Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Add Entitlement (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Add Entitlement**.
> 3. In the **Context URL** field, enter the URL specific to the entitlement.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Add Entitlement General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Add Entitlement Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the entitlement.
>
> [![Add Entitlement Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Add Entitlement Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_add_entitlement_response_info.png>)

### Enable Account

This topic provides an example of an XML response for an enable account operation.

> [!NOTE]
>
> **Enable Account Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Enable Account (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Enable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Enable Account General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Enable Account Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account.
>
> Here the `plan.nativeIdentity` keyword signifies the AccountID (identity attribute) in the account request of the plan. For example, `nativeIdentity` is used along with the following keywords:
>
> - **getobject** - `$getObject.nativeIdentity$`
> - **plan** - `$plan.nativeIdentity$`
>
> > **Note**
> >
> > If the target system expects the complete account object as payload, you must write a Before Operation Rule to fetch the complete object details and update the body attribute endpoint. Refer to Web Services Before Operation Rule for more information.
>
> [![Enable Account Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Enable Account Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_enable_account_response_info.png>)

### Disable Account

This topic provides an example of an XML response for a disable account operation.

> [!NOTE]
>
> **Disable Account Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Disable Account (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Disable Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Disable Account General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Disable Account Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account.
>
> Here the `plan.nativeIdentity` keyword signifies the AccountID (identity attribute) in the account request of the plan. For example, `nativeIdentity` is used along with the following keywords:
>
> - **getobject** - `$getObject.nativeIdentity$`
> - **plan** - `$plan.nativeIdentity$`
>
> [![Disable Account Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Disable Account Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_disable_account_response_info.png>)

### Update Account

This topic provides an example of an XML response for a disable account operation.

> [!NOTE]
>
> **Update Account Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Update Account (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Update Account**.
> 3. In the **Context URL** field, enter the URL specific to the account.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Update Account General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Update Account Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account.
>
> [![Update Account Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Update Account Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_update_account_response_info.png>)

### Change Password

This topic provides an example of an XML response for a disable account operation.

> [!NOTE]
>
> **Change Password Example**
>
> On the **General Information** tab:
>
> 1. In the **Operation Name** field, enter `Change Password (XML)` as the operation name.
> 2. From the **Operation Type** dropdown list, select **Change Password**.
> 3. In the **Context URL** field, enter the URL specific to the password change.
> 4. In the **HTTP Method** dropdown list, select **POST**.
>
> [![Change Password General Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_general_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_general_info.png>)
>
> On the **Header and Body** tab:
>
> The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
>
> [![Change Password Header](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_headers.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_headers.png>)
>
> The HTTP body is used for posting the data with a request. The body has two data entry types, **Form Data** and **Raw**. The XML format does not support **Form Data**.
>
> In the **Raw** field, enter the XML payload for the account.
>
> [![Change Password Body](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_body.gif>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_body.gif>)
>
> On the **Response Information** tab:
>
> The **Root Path** is the common path present in the XML response. The **Success Code** is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is `2**`.
>
> [![Change Password Response Information](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_response_info.png>)](<https://documentation.sailpoint.com/connectors/web_services/saas/help/img/xml_change_password_response_info.png>)
