Actions & Endpoints

Introduction

The Servicenow Integration with Rewst delivers a robust set of actions and endpoints for interacting with Servicenow. Below is a summary of each section, highlighting the diverse capabilities and opportunities provided through the Servicenow Integration:

Actions

Account

List Accounts

GET example.service-now.com/now/account

Retrieves a specified set of Customer Service Management (CSM) accounts.

Get Account by ID

GET example.service-now.com/now/account/{id}

Retrieves the specified Customer Service Management (CSM) account.

Consumer

List Consumers

GET example.service-now.com/now/consumer

Retrieves a specified set of Customer Service Management (CSM) consumer records.

Get Consumer by ID

GET example.service-now.com/now/consumer/{id}

Retrieves the specified Customer Service Management (CSM) consumer record.

Create New Consumer

POST example.service-now.com/now/consumer

Creates a new Customer Service Management (CSM) consumer.

Contact

List Contacts

GET example.service-now.com/now/contact

Retrieves a specified set of Customer Service Management (CSM) contacts.

Get Contact by ID

GET example.service-now.com/now/contact/{id}

Retrieves the specified Customer Service Management (CSM) contact.

Create New Contact

POST example.service-now.com/now/contact

Creates a new Customer Service Management (CSM) contact.

Generic Request

Generic API Request

GET example.service-now.com/<url_path>

Generic action for making authenticated requests against the ServiceNow API

Order

Get Order by ID

GET example.service-now.com/sn_csm_order_mgmt/order/{id}

Retrieves complete order details by specifying the sys_id or order number.

Create New Order

POST example.service-now.com/sn_csm_order_mgmt/order

Creates a new order with line items and characteristics.

List Product Order

GET example.service-now.com/sn_ind_tmt_orm/order/productOrder

Retrieves all product orders

List Product Order by ID

GET example.service-now.com/sn_ind_tmt_orm/order/productOrder/{id}

Retrieves the specified product order.

Update Customer Order

PATCH example.service-now.com/sn_ind_tmt_orm/order/productOrder/{id}

Updates the specified customer order.

Cancel Customer Order

POST example.service-now.com/sn_ind_tmt_orm/cancelproductorder

Cancel the specified customer order.

Create Customer Order

POST example.service-now.com/sn_ind_tmt_orm/order/productOrder

Creates the specified customer order.

List Service Orders

GET example.service-now.com/sn_ind_tmt_orm/order/serviceorder

Retrieves all service orders

Get Service Order

GET example.service-now.com/sn_ind_tmt_orm/order/serviceorder/{id}

Retrieves specific service orders

Cancel Service Order

POST example.service-now.com/sn_ind_tmt_orm/cancelserviceorder

Cancel the specified service order.

Create Service Order

POST example.service-now.com/sn_ind_tmt_orm/order/serviceorder

create new service order

Update Service Order

PATCH example.service-now.com/sn_ind_tmt_orm/order/serviceorder/{id}

Update specific service order

Service Catalog

Delete Item from Cart

DELETE example.service-now.com/sn_sc/servicecatalog/cart/{cart_item_id}

Deletes the specified item from the current cart.

Delete Cart

DELETE example.service-now.com/sn_sc/servicecatalog/cart/{sys_id}/empty

Deletes a specified cart and the contents of the cart.

Get Cart_Content

GET example.service-now.com/sn_sc/servicecatalog/cart

Retrieves the details of the items within the logged in user's cart.

Get Shipping Address by User ID

GET example.service-now.com/sn_sc/servicecatalog/cart/delivery_address/{user_id}

Retrieves the shipping address of the specified user based on the glide.sc.req_for.roles property and the default behavior configured in the glide.sc.req_for.roles.defaultproperty.

List Catalogs

GET example.service-now.com/sn_sc/servicecatalog/catalogs

Retrieves a list of catalogs to which the user has access based on the passed in parameters.

List Categories by Catalog

GET example.service-now.com/sn_sc/servicecatalog/catalogs/{sys_id}/categories

Retrieves the list of available categories for the specified catalog.

Get Catalog Information

GET example.service-now.com/sn_sc/servicecatalog/catalogs/{sys_id}

Retrieves the available information for a specified catalog.

Get Category Information

GET example.service-now.com/sn_sc/servicecatalog/categories/{sys_id}

Retrieves the available information for a specified category.

List Catalog Items

GET example.service-now.com/sn_sc/servicecatalog/items

Retrieves a list of catalog items based on the specified parameters.

Verify User Acquisition Rights to Catalog Item

GET example.service-now.com/sn_sc/servicecatalog/items/{item_sys_id}/delegation/{user_sys_id}

Verifies whether the specified delegated user has acquisition rights to the specified service catalog item.

Get Catalog Item by ID

GET example.service-now.com/sn_sc/servicecatalog/items/{sys_id}

Retrieves a specified catalog item.

List Wish List Items - Current User

GET example.service-now.com/sn_sc/servicecatalog/wishlist

Retrieves the list of items in the logged in user's wish list.

Get Item Detail from Wish List

GET example.service-now.com/sn_sc/servicecatalog/wishlist/{cart_item_id}

Retrieves the details of the specified item stored in the wish list cart.

Process Checkout

POST example.service-now.com/sn_sc/servicecatalog/cart/checkout

Retrieves and processes the checkout for the current cart based on whether the two-step checkout process is enabled.

Submit Order

POST example.service-now.com/sn_sc/servicecatalog/cart/submit_order

Checks out the user cart, based on the current check-out type (one-step or two-step ).

Add Item to Cart

POST example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/add_to_cart

Adds the specified item to the cart of the current user.

Add Item to Wish List

POST example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/add_to_wishlist

Adds the specified item to the wish list cart.

Get Contents for Checkout

POST example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/checkout_guide

Retrieves an array of contents requested for checkout.

List Users with sUndelegated Item Request

POST example.service-now.com/sn_sc/servicecatalog/items/{item_sys_id}/get_invalid_delegated_users

Returns a list of users whose request for the specified item cannot be delegated (requested by another user.) Can call before Add to Cart or Order Now

Order Item

POST example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/order_now

Orders the specified catalog item.

Submit Record Producer

POST example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/submit_producer

Creates a record and returns the Table API relative path and redirect URL to access the created record.

Display Value

POST example.service-now.com/sn/sc/servicecatalog/variables/{sys_id}/display_value

Returns the display value of the specified variable.

Update Item in Cart

PUT example.service-now.com/sn_sc/servicecatalog/cart/{cart_item_id}

Updates the specified item in the logged in user's cart.

List Items Needed by Order Guide

PUT example.service-now.com/sn_sc/servicecatalog/items/{sys_id}/submit_guide

Retrieves a list of items based on the needs described for an order guide.

Trouble Ticket Open

List All Trouble Tickets

GET example.service-now.com/sn_ind_tsm_sdwan/ticket/troubleTicket

Retrieves a list of all trouble ticket records from the Case [sn_customerservice_case] and Incident [incident] tables.

Get Trouble Ticket by ID

GET example.service-now.com/sn_ind_tsm_sdwan/ticket/troubleTicket/{id}

Retrieves a specified record from the Case [sn_customerservice_case] or Incident [incident] table.

Update Trouble Ticket by ID

PATCH example.service-now.com/sn_ind_tsm_sdwan/ticket/troubleTicket/{id}

Updates a specified record in the Case [sn_customerservice_case] or Incident [incident] table.

Create Trouble Ticket

POST example.service-now.com/sn_ind_tsm_sdwan/ticket/troubleTicket

Creates a record in the Case [sn_customerservice_case] or Incident [incident] table.

Last updated