POST course/approve-request

Approve or reject from RIMA Bot - external api

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
RequestId

Required

Range: inclusive between 1 and 2147483647

Status

Required

Matching regular expression pattern: ^(Approved|Rejected)$

Comments

String length: inclusive between 0 and 500

IsMindOnBenchOnApproval

None.

ApprovalIntentId

Required

Range: inclusive between 1 and 5

ApprovalIntentComments

String length: inclusive between 0 and 500

ApproverId

Required

String length: inclusive between 4 and 50

ApproverRole

Required

Matching regular expression pattern: ^(RM|LBP)$

Request Formats

application/json, text/json

Sample:
{
  "RequestId": 1,
  "Status": "sample string 2",
  "Comments": "sample string 3",
  "IsMindOnBenchOnApproval": true,
  "ApprovalIntentId": 5,
  "ApprovalIntentComments": "sample string 6",
  "ApproverId": "sample string 7",
  "ApproverRole": "sample string 8"
}

application/xml, text/xml

Sample:
<ApproveOrReject201CourseForRIMA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <ApprovalIntentComments>sample string 6</ApprovalIntentComments>
  <ApprovalIntentId>5</ApprovalIntentId>
  <ApproverId>sample string 7</ApproverId>
  <ApproverRole>sample string 8</ApproverRole>
  <Comments>sample string 3</Comments>
  <IsMindOnBenchOnApproval>true</IsMindOnBenchOnApproval>
  <RequestId>1</RequestId>
  <Status>sample string 2</Status>
</ApproveOrReject201CourseForRIMA>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

None.

Headers

None.

RequestMessage

None.

IsSuccessStatusCode

None.