POST api/ApproveAndReject/PettyCashApproveAndReject
Request Information
URI Parameters
None.
Body Parameters
ApprovePettyCashName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
AppliedUserId | integer |
None. |
|
AppliedUserName | string |
None. |
|
ApproverName | string |
None. |
|
Token | string |
None. |
|
Language | string |
None. |
|
RequestDate | date |
None. |
|
Amount | decimal number |
None. |
|
Currency | string |
None. |
|
RejectReason | string |
None. |
|
OragID | string |
None. |
|
PettyCashRequestBy | string |
None. |
|
Status | integer |
None. |
|
ReportLevelCount | integer |
None. |
|
LevelCount | integer |
None. |
|
PettyCashID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "AppliedUserId": 2, "AppliedUserName": "sample string 3", "ApproverName": "sample string 4", "Token": "sample string 5", "Language": "sample string 6", "RequestDate": "2025-08-07T06:59:09.0152639+08:00", "Amount": 8.0, "Currency": "sample string 9", "RejectReason": "sample string 10", "OragID": "sample string 11", "PettyCashRequestBy": "sample string 12", "Status": 13, "ReportLevelCount": 14, "LevelCount": 15, "PettyCashID": 16 }
text/html
Sample:
{"UserId":1,"AppliedUserId":2,"AppliedUserName":"sample string 3","ApproverName":"sample string 4","Token":"sample string 5","Language":"sample string 6","RequestDate":"2025-08-07T06:59:09.0152639+08:00","Amount":8.0,"Currency":"sample string 9","RejectReason":"sample string 10","OragID":"sample string 11","PettyCashRequestBy":"sample string 12","Status":13,"ReportLevelCount":14,"LevelCount":15,"PettyCashID":16}
application/xml, text/xml
Sample:
<ApproveAndRejectController.ApprovePettyCash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Amount>8</Amount> <AppliedUserId>2</AppliedUserId> <AppliedUserName>sample string 3</AppliedUserName> <ApproverName>sample string 4</ApproverName> <Currency>sample string 9</Currency> <Language>sample string 6</Language> <LevelCount>15</LevelCount> <OragID>sample string 11</OragID> <PettyCashID>16</PettyCashID> <PettyCashRequestBy>sample string 12</PettyCashRequestBy> <RejectReason>sample string 10</RejectReason> <ReportLevelCount>14</ReportLevelCount> <RequestDate>2025-08-07T06:59:09.0152639+08:00</RequestDate> <Status>13</Status> <Token>sample string 5</Token> <UserId>1</UserId> </ApproveAndRejectController.ApprovePettyCash>
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>