POST api/ApproveAndReject/RosterRequestApproveAndReject

Request Information

URI Parameters

None.

Body Parameters

RosterRequestApprovalEntity
NameDescriptionTypeAdditional information
ID

integer

None.

ApprovedBy

integer

None.

ApproverName

string

None.

Level

integer

None.

LevelCount

integer

None.

AppliedUserID

integer

None.

FullName

string

None.

Email

string

None.

Language

string

None.

Token

string

None.

Status

integer

None.

Required

integer

None.

RequirementID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ApprovedBy": 2,
  "ApproverName": "sample string 3",
  "Level": 4,
  "LevelCount": 5,
  "AppliedUserID": 6,
  "FullName": "sample string 7",
  "Email": "sample string 8",
  "Language": "sample string 9",
  "Token": "sample string 10",
  "Status": 11,
  "Required": 12,
  "RequirementID": 13
}

text/html

Sample:
{"ID":1,"ApprovedBy":2,"ApproverName":"sample string 3","Level":4,"LevelCount":5,"AppliedUserID":6,"FullName":"sample string 7","Email":"sample string 8","Language":"sample string 9","Token":"sample string 10","Status":11,"Required":12,"RequirementID":13}

application/xml, text/xml

Sample:
<ApproveAndRejectController.RosterRequestApprovalEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AppliedUserID>6</AppliedUserID>
  <ApprovedBy>2</ApprovedBy>
  <ApproverName>sample string 3</ApproverName>
  <Email>sample string 8</Email>
  <FullName>sample string 7</FullName>
  <ID>1</ID>
  <Language>sample string 9</Language>
  <Level>4</Level>
  <LevelCount>5</LevelCount>
  <Required>12</Required>
  <RequirementID>13</RequirementID>
  <Status>11</Status>
  <Token>sample string 10</Token>
</ApproveAndRejectController.RosterRequestApprovalEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RosterRequestApprovalEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>