HTTPS Request

You can select this activity to generate an HTTPS request to the ION API. You can use the GET, POST, PUT, and DELETE request methods to extract data or manipulate the data and send specific information through JSON. This activity is generic and can be used to request APIs outside of the current logged in tenant.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Input Method N/A The request method. Select a method from the list.
URL String The URL of the API endpoint.
Content Type N/A The content type for the body of the request. Possible values:
  • application_json
  • application_xml
  • text_plain
  • text_xml
  • multipart_formdata
  • application_x_

    www_form_

    urlencoded

File Attachments List< String> The file attachments to be added.
Headers List< String> Headers for the request
POST Data Object The raw post data for the payload of an API.
Query parameters List< String> The parameters for the HTTPS re- quest.
Output Response ResponseObject The output format for the response.

You can also use these formats:

  • ResponseObject.ReadAsText():To view the response in the text format.
  • ReadAsJson(): To view the response in the JToken format.
  • ReadAsXml():To view the response in the XmlDocument format.
Response code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.
Status Code Int32 Response Status Code of an API endpoint