logo

NJP

WEBSERVICE Service Now Guide - Everthing you need to know

Import · Jun 29, 2018 · article

Request

  • Endereço WebService Address Incident Service Now
  • * https://.service-now.com/api/now/table/incident
  • Endereço WebService Address Request Service Now
  • * https://.service-now.com/api/now/table/sc_req_item
  • Endereço WebService Address Users Service Now
  • * https://.service-now.com/api/now/table/sys_user

HTTP Status Code

ServiceNow APIs return standard HTTP status codes. Generally speaking:

  • 1xx: Informational
  • 2xx: Success
  • 3xx: Redirection
  • 4xx: Client Error
  • 5xx: Server Error
    The response codes indicate the success or failure of the transaction.
Status Code Message Details
200 Sucess Success with responde body
201 Created Success with responde body
202 Accepted The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place.
204 Success Success with NO responde body
400 Bad Request The request URI does not match the APIs in the system, or the operation failed for unknown resons. Invalid headers can also cause this error
401 Unauthorized The user is not authorized to use the API.
403 Forbidden The request operation is not permitted for the user. This error can also be caused by, ACL failures, or business rule or data policy constraints
404 Not found The requested resource was not found. This can be caused by an ACL constraint or if the resource does not exist.
405 Method not allowed The HTTP action is not allowed for the requested REST API, or it is not supported by any API.
406 Not acceptable The endpoint does not support the response format specified in the request Accept header.
415 Unsupported media type The endpoint does not support the format of the request body.

Troubleshooting

Troubleshooting outbound REST web services

Outbound REST Web Services RESTMessageV2 and SOAPMessageV2 execute() vs executeAsync() Best Practice...

ECCResponseTimeoutException while processing SOAP/JDBC requests through Orchestration

Implications setting com.glide.communications.httpclient.verify_revoked_certificate to false

-----------------------------------------------------------------------

Inbound REST Integrations

Testing webservice

webservice criando uma solicitação / request - sc_req_item

webservice Incluir uma nova nota em um incidente

webservice criando um anexo

Web Service Service Now Atualizando um incidente utilizando C#

Como funciona Webservice sys_user do ServiceNow?

WebService Service Now - utilizando YARC

Web Service Service Now Consultando um incidente utilizando C#

c_RESTAPIResponse

How to capture the Inbound REST logs

Integration Semaphore (SOAP/API_INT) Exhausted on instance alert

image

image

Summary

View original source

https://www.servicenow.com/community/itsm-articles/webservice-service-now-guide-everthing-you-need-to-know/ta-p/2315855