POST api/ApproveAndReject/ClaimApproveAndReject

Request Information

URI Parameters

None.

Body Parameters

ApproveClaimEntity
NameDescriptionTypeAdditional information
claimId

integer

None.

AppliedBy

integer

None.

ApprovedBy

integer

None.

Status

integer

None.

ReportLevel

string

None.

LevelSetup

string

None.

Remarks

string

None.

AccountDate

date

None.

Debit

string

None.

FullName

string

None.

Email

string

None.

Token

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "claimId": 1,
  "AppliedBy": 2,
  "ApprovedBy": 3,
  "Status": 4,
  "ReportLevel": "sample string 5",
  "LevelSetup": "sample string 6",
  "Remarks": "sample string 7",
  "AccountDate": "2025-08-07T06:54:30.1636564+08:00",
  "Debit": "sample string 9",
  "FullName": "sample string 10",
  "Email": "sample string 11",
  "Token": "sample string 12",
  "Type": "sample string 13"
}

text/html

Sample:
{"claimId":1,"AppliedBy":2,"ApprovedBy":3,"Status":4,"ReportLevel":"sample string 5","LevelSetup":"sample string 6","Remarks":"sample string 7","AccountDate":"2025-08-07T06:54:30.1636564+08:00","Debit":"sample string 9","FullName":"sample string 10","Email":"sample string 11","Token":"sample string 12","Type":"sample string 13"}

application/xml, text/xml

Sample:
<ApproveAndRejectController.ApproveClaimEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AccountDate>2025-08-07T06:54:30.1636564+08:00</AccountDate>
  <AppliedBy>2</AppliedBy>
  <ApprovedBy>3</ApprovedBy>
  <Debit>sample string 9</Debit>
  <Email>sample string 11</Email>
  <FullName>sample string 10</FullName>
  <LevelSetup>sample string 6</LevelSetup>
  <Remarks>sample string 7</Remarks>
  <ReportLevel>sample string 5</ReportLevel>
  <Status>4</Status>
  <Token>sample string 12</Token>
  <Type>sample string 13</Type>
  <claimId>1</claimId>
</ApproveAndRejectController.ApproveClaimEntity>

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 'ApproveClaimEntity'.

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>