Web API Service - Sample Data
Web API Service - Sample Data
Web API Service - Sample Data
About This Manual: This document introduces the Web API services for the user
interface and operations of the eTimetracklite Web software
CONFIDENTIAL Page 1 of 12
eTimetracklite
2. BlockUnblockUser _________________________ 5
CONFIDENTIAL Page 2 of 12
eTimetracklite
Web Service URL : URL of eTimetracklite application
(Example: http://192.168.1.140/iclock/WebAPIService.asmx)
Methods:
Example: http://192.168.1.140/iclock/WebAPIService.asmx?op=AddEmployee
By calling this method we can add employee to the device by passing value Employee code,
Name, Card Number & Serial Number for a particular device
Note: User name & password can obtained from eTimetracklite application will have permission
grant. For Invalid user name & password shall display authentication failure
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be
replaced with actual values
CONFIDENTIAL Page 3 of 12
eTimetracklite
CONFIDENTIAL Page 4 of 12
eTimetracklite
Example:http://192.168.1.140/iclock/WebAPIService.asmx?op=BlockUnblockUser
a) By calling this method we can Block employee in the device by passing value
Employee code, Serial Number for a particular device
Result will be displayed as success or failure
b) By calling this method we can UnBlock employee in the device by passing value
Employee code, Serial Number for a particular device
Result will be displayed as success or failure
The following is a sample SOAP 1.1 request and response. The placeholders shown
need to be replaced with actual values
CONFIDENTIAL Page 5 of 12
eTimetracklite
<BlockUnblockUserResponse xmlns="http://tempuri.org/">
<BlockUnblockUserResult> Returnfromapi </BlockUnblockUserResult>
<CommandId> we send reference command id from db </CommandId>
</BlockUnblockUserResponse>
</soap:Body>
</soap:Envelope>
CONFIDENTIAL Page 6 of 12
eTimetracklite
Example:http://192.168.140/iclock/WebAPIService.asmx?op=DeleteUser
By calling this method we can delete employee in the device by passing value Employee code,
Serial Number for a particular device
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be
replaced with actual values
CONFIDENTIAL Page 7 of 12
eTimetracklite
</soap:Envelope>
CONFIDENTIAL Page 8 of 12
eTimetracklite
Example: - http://192.168.140/iclock/WebAPIService.asmx?op=GetCommandStatus
By calling this method we can know Commands status like Success or Failure by passing
Command Id Number
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be
replaced with actual values
CONFIDENTIAL Page 9 of 12
eTimetracklite
CONFIDENTIAL Page 10 of 12
eTimetracklite
Example:http://111.93.157.53/iclock/WebAPIService.asmx?op=GetTransactionsLog
By calling this method we can Get Transaction Log Records by passing From date to date &
serial Number Log records list will be displayed
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be
replaced with actual values
CONFIDENTIAL Page 11 of 12
eTimetracklite
CONFIDENTIAL Page 12 of 12