Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Account Owner and Account Administrators

Request Headers

HeaderDescription
Authorization (required)Access token. You can obtain a token by making a request
Content-Type: application/json
(required)
Property for processing a request in JSON
Accept: application/json
(required)
Property for processing a request in JSON
ParameterDescription
name
(required)
A session title. The title length can range from 1 to 255 characters
description (optional)A description of the session, with a length between 0 and 2000 characters
managerId (required)A session manager

Response Codes

CodeTextDescription
200The request has been successfully processed. The response body contains the ID of a new session
400Bad requestA request error
401UnauthorizedAn authorization error

Sample Request

Code Block
languagexml
POST /performance-management/appraisal/session/create
Host: api-learn.ispringlearn.com 
Content-Type: application/json
Accept: application/json
X-Auth-Account-Url: https://myaccount.ispringlearn.com
Authorization: Bearer SPSXqXSnlJTraQWSY0ho8yrYTKpt6jkPx3waBGIa9g4

{
  "name": "Session 1",
  "description": "The session is held to gain insight into strengths and to identify opportunities for growth.",
  "managerId": "fbbcb860-1074-11f0-b8ee-02420aff002c"
}

...