POST api/AttendanceAndTimesheet/OnCallService
Request Information
URI Parameters
None.
Body Parameters
OnCallServiceOutEntityName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
OnCallDate | date |
None. |
|
ServiceID | integer |
None. |
|
ServiceAmount | decimal number |
None. |
|
MRNNo | string |
None. |
|
Token | string |
None. |
|
SourceType | string |
None. |
|
Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "OnCallDate": "2025-08-07T06:52:23.7358925+08:00", "ServiceID": 3, "ServiceAmount": 4.0, "MRNNo": "sample string 5", "Token": "sample string 6", "SourceType": "sample string 7", "Remarks": "sample string 8" }
text/html
Sample:
{"UserID":1,"OnCallDate":"2025-08-07T06:52:23.7358925+08:00","ServiceID":3,"ServiceAmount":4.0,"MRNNo":"sample string 5","Token":"sample string 6","SourceType":"sample string 7","Remarks":"sample string 8"}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.OnCallServiceOutEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <MRNNo>sample string 5</MRNNo> <OnCallDate>2025-08-07T06:52:23.7358925+08:00</OnCallDate> <Remarks>sample string 8</Remarks> <ServiceAmount>4</ServiceAmount> <ServiceID>3</ServiceID> <SourceType>sample string 7</SourceType> <Token>sample string 6</Token> <UserID>1</UserID> </AttendanceAndTimesheetController.OnCallServiceOutEntity>
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>