Field | Description |
Endpoint | Displays the login endpoint URL to initiate communication with the SaaS provider and cannot be edited. |
Path | Type the path that you want to use for the resource. Each REST resource derives its path from the namespace of the REST resource. |
Methods | Select the Method. The start sequence will be generated for the selected HTTP method. |
Field | Description |
Document Reference | Click Browse and select a Document Reference, for example myConnector_v1.customDoctypes:docTypeRef_LoginInput. |
Request Body | Represents the input of the document reference. All required fields must be independently populated using the assignment functionality for each field. To assign values to a leaf element, right-click on the leaf element and select Assign From. For example, you can refer a connection parameter defined in the connection. |
Content Type | Specify the Content Type of the Document Reference, for example, application/xml. |
Field | Description |
Document Reference | Click Browse and select a Document Reference, for example myConnector_v1.customDoctypes:docTypeRef_LoginOutput. |
Response Code | Specify a code, such as 200-500. Response codes can be comma separated or a range. |
Response Body | Represents the output of the document reference. Optionally, you can assign values from the output to the supported parameters to be used in resource interactions. To assign values to a leaf element, right-click on the leaf element and select Assign To. For more information, see Assigning Values. |
Error Handling | Select Use a service to configure the error message if you want to handle the error messages sent by the back end for requests that are not successful. Click Browse and in the Services pane, select the custom service that you have created. This service is needed to read and display error messages for unsuccessful requests. Note: By default, CloudStreams automatically handles errors and flags connection errors. However, if you want to handle the response on your own in a customized way, you need to create and use a service (which follows the service mapping spec wm.cloudstreams.service.common.lookup.specs:mapServiceSpec), which returns an output that is treated as an error message. If the service does not return an output, it is treated as success. |
Content Type | Displays the content type of the Document Reference. |