POST api/ApproveAndReject/TravelClaimApproveAndReject
Request Information
URI Parameters
None.
Body Parameters
TravelApprovalEntityName | Description | Type | Additional information |
---|---|---|---|
TravelID | integer |
None. |
|
ApprovedBy | integer |
None. |
|
Level | integer |
None. |
|
LevelCount | integer |
None. |
|
TravelDate | string |
None. |
|
TravelType | string |
None. |
|
AppliedUserID | integer |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
TravelAmount | decimal number |
None. |
|
Language | string |
None. |
|
Token | string |
None. |
|
Status | integer |
None. |
|
ReasonForReject | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TravelID": 1, "ApprovedBy": 2, "Level": 3, "LevelCount": 4, "TravelDate": "sample string 5", "TravelType": "sample string 6", "AppliedUserID": 7, "FullName": "sample string 8", "Email": "sample string 9", "TravelAmount": 10.0, "Language": "sample string 11", "Token": "sample string 12", "Status": 13, "ReasonForReject": "sample string 14" }
text/html
Sample:
{"TravelID":1,"ApprovedBy":2,"Level":3,"LevelCount":4,"TravelDate":"sample string 5","TravelType":"sample string 6","AppliedUserID":7,"FullName":"sample string 8","Email":"sample string 9","TravelAmount":10.0,"Language":"sample string 11","Token":"sample string 12","Status":13,"ReasonForReject":"sample string 14"}
application/xml, text/xml
Sample:
<ApproveAndRejectController.TravelApprovalEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <AppliedUserID>7</AppliedUserID> <ApprovedBy>2</ApprovedBy> <Email>sample string 9</Email> <FullName>sample string 8</FullName> <Language>sample string 11</Language> <Level>3</Level> <LevelCount>4</LevelCount> <ReasonForReject>sample string 14</ReasonForReject> <Status>13</Status> <Token>sample string 12</Token> <TravelAmount>10</TravelAmount> <TravelDate>sample string 5</TravelDate> <TravelID>1</TravelID> <TravelType>sample string 6</TravelType> </ApproveAndRejectController.TravelApprovalEntity>
application/x-www-form-urlencoded
Sample:
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>