Outbound REST Integrations Flashcards
What is an Outbound REST Integration, and what does it do?
An Outbound REST Integration is a configuration that allows ServiceNow to send data to an external system using REST protocol.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What is an endpoint?
An endpoint is a specific URL / URI that represents a unique resource or service provided by the server.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What do clients (applications) use endpoints for in outbound Rest integrations?
To send requests and receive responses from the server
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What do HTTP methods do?
Methods determine the type of operation to be performed on the resource identified by the endpoint.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What are some of the common HTTP methods used in RESTful APIs?
&
What are they used for?
- GET: Used to retrieve data from the server. It should not have side effects on the server.
- POST: Used to create new resources on the server
- PUT: Typically used to update an existing resource or create it if it doesn’t exist
- DELETE: Used to remove a resource from the server.
- Other less common methods include - PATCH, HEAD, OPTIONS, etc.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What are data formats in the context of Outbound RESTful API’s and sending data?
&
What are the most common data formats?
&
Is there anything important to note about the most common data formats?
Data formats define how data is structured when it’s exchanged between the client and the server
&
JSON (JavaScript Object Notation)
XML (eXtensible Markup Language)
&
JSON is widely preferred due to its simplicity, readability, and lightweight nature.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What do Outbound REST Messages allow developers to do?
&
Where can it be invoked from?
They allow developers to test web services and view the response body.
&
They can be invoked from any server-side script
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What are the 4 most important things included in a REST Message record?
- Endpoint
- Authentication
- HTTP Headers
- HTTP Methods
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What authentication formats does Outbound REST support?
- No Authentication
- Basic
- OAuth 2.0
- Mutual Authentication
———————————————————————
📁 Outbound REST Integrations Developer Documentation
When should you set the Authentication type of your Outbound REST message to No Authentication?
When interacting with public web services that do not require authentication. Some public web services distribute free information without authentication being required.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
When setting the Authentication type of your Outbound REST message to Basic, what is passed to the web service?
&
What are next steps after assigning the Authentication Type to Basic?
A username and password is passed to the web service
&
You need to select a Basic Auth Profile that is a record consisting of a - Name, Username, and Password -
———————————————————————
📁 Outbound REST Integrations Developer Documentation
Most authentication options for Outbound REST integrations are application-level authentications.
How is Mutual Authentication different?
What is Mutual Authentication?
Mutual Authentication is a protocol/socket-level authentication - not an application-level authentication.
&
Mutual authentication requires the web service provider and consumer to authenticate with each other before communicating.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What is the easiest way to configure a Method endpoint when handling Outbound REST Integrations?
To configure an HTTP method endpoint, refer to the web service provider’s API documentation. (The company that ServiceNow is trying to communicate with.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
What happens with HTTP Method authentication in the default case?
HTTP Methods inherit authentication settings from the outbound REST Message (parent)
Change the authentication type if it differs from the parent’s authentication.
———————————————————————
📁 Outbound REST Integrations Developer Documentation
List and describe the 5 main HTTP methods
- POST: New Database Record
- PUT: Update Record
- GET: Get Data
- DELETE: Delete Data
- PATCH - Partial Changes
———————————————————————
📁 Outbound REST Integrations Developer Documentation