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 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). Please refer to the Header and Body of Disable Account - 2.
-
In the Operation Name field, enter Disable Account - 1 (JSON) as the operation name.
-
From the Operation Type drop-down list, select Disable Account.
-
In the Authentication URL field, enter the URL specific to the account.
-
In the HTTP Method drop-down list, select POST.
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.
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.
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**.
To refer to the raw JSON response on which the Response Information schema is mapped, refer to Configuration for Response.
Disable Account - 2
-
In the Operation Name field, enter Disable Account - 2 (JSON) as the operation name.
-
From the Operation Type drop-down list, select Disable Account.
-
In the Authentication URL field, enter the URL specific to the account.
-
In the HTTP Method drop-down list, select POST.
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.
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.
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**.