Generate an operation code that can be used to open a lock, using the current date/time for the start date/time of the operation code. INPUTS==> TECHNICIAN ID, ATM ID, USER ID. RETURN==> OPERATION CODE (open lock)
None.
OpenLockNowRequest
OpenLockANoKeyCode2| Name | Description | Type | Additional information |
|---|---|---|---|
| TechnicianId | integer |
Required |
|
| AtmId |
Lock Id |
string |
Required |
| UserId |
PIN |
string |
Required |
{
"TechnicianId": 1,
"AtmId": "sample string 2",
"UserId": "sample string 3"
}
<OpenLockANoKeyCode2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Requests.ACommands"> <AtmId>sample string 2</AtmId> <TechnicianId>1</TechnicianId> <UserId>sample string 3</UserId> </OpenLockANoKeyCode2>
Sample not available.
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": "sample string 1",
"StatusCode": 0,
"Status": "sample string 2",
"ErrorId": "sample string 3"
},
"Body": {
"OperationCode": "sample string 1"
}
}
<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>sample string 1</OperationCode>
</Body>
<Header xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Responses">
<d2p1:ErrorId>sample string 3</d2p1:ErrorId>
<d2p1:Message>sample string 1</d2p1:Message>
<d2p1:Status>sample string 2</d2p1:Status>
<d2p1:StatusCode>Ok</d2p1:StatusCode>
</Header>
</OperationCodeResponse>