POST api/ApproveAndReject/LocumEntryApproveReject
Request Information
URI Parameters
None.
Body Parameters
ApproveLocumEntityName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
AppliedUserId | integer |
None. |
|
AppliedUserName | string |
None. |
|
Token | string |
None. |
|
EmployeeName | string |
None. |
|
Language | string |
None. |
|
Date | date |
None. |
|
TimeIn | date |
None. |
|
TimeOut | date |
None. |
|
Hours | decimal number |
None. |
|
Amount | decimal number |
None. |
|
LocumEntryID | integer |
None. |
|
Status | integer |
None. |
|
ReportLevelCount | integer |
None. |
|
LevelCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "AppliedUserId": 2, "AppliedUserName": "sample string 3", "Token": "sample string 4", "EmployeeName": "sample string 5", "Language": "sample string 6", "Date": "2025-08-07T06:52:43.2864374+08:00", "TimeIn": "2025-08-07T06:52:43.2864374+08:00", "TimeOut": "2025-08-07T06:52:43.2864374+08:00", "Hours": 10.0, "Amount": 11.0, "LocumEntryID": 12, "Status": 13, "ReportLevelCount": 14, "LevelCount": 15 }
text/html
Sample:
{"UserId":1,"AppliedUserId":2,"AppliedUserName":"sample string 3","Token":"sample string 4","EmployeeName":"sample string 5","Language":"sample string 6","Date":"2025-08-07T06:52:43.2864374+08:00","TimeIn":"2025-08-07T06:52:43.2864374+08:00","TimeOut":"2025-08-07T06:52:43.2864374+08:00","Hours":10.0,"Amount":11.0,"LocumEntryID":12,"Status":13,"ReportLevelCount":14,"LevelCount":15}
application/xml, text/xml
Sample:
<ApproveAndRejectController.ApproveLocumEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Amount>11</Amount> <AppliedUserId>2</AppliedUserId> <AppliedUserName>sample string 3</AppliedUserName> <Date>2025-08-07T06:52:43.2864374+08:00</Date> <EmployeeName>sample string 5</EmployeeName> <Hours>10</Hours> <Language>sample string 6</Language> <LevelCount>15</LevelCount> <LocumEntryID>12</LocumEntryID> <ReportLevelCount>14</ReportLevelCount> <Status>13</Status> <TimeIn>2025-08-07T06:52:43.2864374+08:00</TimeIn> <TimeOut>2025-08-07T06:52:43.2864374+08:00</TimeOut> <Token>sample string 4</Token> <UserId>1</UserId> </ApproveAndRejectController.ApproveLocumEntity>
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>