Generate an operation code that can be used to reset a touch key, using the current date/time for the start date/time of the operation code. INPUTS==> TECHNICIAN ID, ATM ID, USER ID. RETURN==> OPERATION CODE (reset user key)
None.
ResetUserKeyNowRequest
ResetUserKeyNowRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TechnicianId |
Technician Id |
integer |
Required |
| LockId |
Lock Id |
string |
Required |
| Pin |
PIN |
string |
Required |
{
"TechnicianId": 1,
"LockId": "12345678",
"Pin": null
}
<ResetUserKeyNowRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Requests.GenerateOperationCodes"> <LockId>12345678</LockId> <Pin i:nil="true" /> <TechnicianId>1</TechnicianId> </ResetUserKeyNowRequest>
TechnicianId=1&LockId=12345678
OperationCodeResponse
OperationCodeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header |
Operation code response message header. |
ResponseHeader |
None. |
| Body |
Operation code response message body. |
OperationCodeResponseBody |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
Message |
string |
None. |
| StatusCode |
Status code |
ResponseStatus |
None. |
| Status |
Status |
string |
None. |
| ErrorId |
Error id |
string |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationCode |
Operation code |
string |
None. |
{
"Header": {
"Message": "",
"StatusCode": 0,
"Status": "Ok",
"ErrorId": null
},
"Body": {
"OperationCode": "52946783"
}
}
<OperationCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Responses.OpCode">
<Body>
<OperationCode>52946783</OperationCode>
</Body>
<Header xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Responses">
<d2p1:ErrorId i:nil="true" />
<d2p1:Message></d2p1:Message>
<d2p1:Status>Ok</d2p1:Status>
<d2p1:StatusCode>Ok</d2p1:StatusCode>
</Header>
</OperationCodeResponse>