Workflow and ServiceDesk Community

 View Only

ServiceDesk - API - Authorization 

Oct 01, 2018 10:46 AM

ServiceDesk Version: 8.5

 

Authorization

Provides authentication method. The API simply passes through the authentication paradigm from ProcessManager. The API consumer is responsible for managing the provided token and handling authentication failures.

  API Description
POST api/authorization/token Attempts to authenticate using the credentials provided and returns a token if successful. The returned token must be provided as the Authentication header for all subsequent requests. If authentication fails a 403 response will be returned.

 

Request

POST api/authorization/token

Request Information

URI Parameters

None

Body Parameters

Name Description Type Additional information
Username   string None.
Password   string None.

Request Formats

application/json, text/json
{
  "username": "sample string 1",
  "password": "sample string 2"
}

Response Formats

"00000000-0000-0000-0000-000000000000"

---

Protirus.png

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.