This function will return a list of all active operation codes that have been assigned to the specified nickname. INPUTS==> NICKNAME. RETURN==> list of active operation codes
None.
GetOperationCodesByNicknameRequest
GetOperationCodesByNicknameRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Nickname |
Nickname |
string |
Required |
{
"Nickname": "John"
}
<GetOperationCodesByNicknameRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Requests.OperationCodesQuery"> <Nickname>John</Nickname> </GetOperationCodesByNicknameRequest>
Nickname=John
OperationCodeListResponse
OperationCodeListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header |
Operation code list response message header. |
ResponseHeader |
None. |
| Body |
Operation code list response message body. |
OperationCodeListResponseBody |
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 |
|---|---|---|---|
| OperationsCodes |
List of Operation codes |
Collection of OperationCode |
None. |
{
"Header": {
"Message": "",
"StatusCode": 0,
"Status": "Ok",
"ErrorId": null
},
"Body": {
"OperationsCodes": [
{
"OpCode": 64286389,
"AtmID": "ATM001",
"LockID": "235108754400",
"UserID": "WilsonFG",
"StartDateTime": "2014-07-14T07:00:00",
"EndDateTime": "2014-07-14T19:00:00"
},
{
"OpCode": 13604356,
"AtmID": "23349389",
"LockID": "233493890000",
"UserID": "WilsonFG",
"StartDateTime": "2014-07-14T07:00:00",
"EndDateTime": "2014-07-14T19:00:00"
}
]
}
}
<OperationCodeListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.OpCode">
<Body>
<OperationsCodes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SaG.API.Models">
<d3p1:OperationCode>
<d3p1:AtmID>ATM001</d3p1:AtmID>
<d3p1:EndDateTime>2014-07-14T19:00:00</d3p1:EndDateTime>
<d3p1:LockID>235108754400</d3p1:LockID>
<d3p1:OpCode>64286389</d3p1:OpCode>
<d3p1:StartDateTime>2014-07-14T07:00:00</d3p1:StartDateTime>
<d3p1:UserID>WilsonFG</d3p1:UserID>
</d3p1:OperationCode>
<d3p1:OperationCode>
<d3p1:AtmID>23349389</d3p1:AtmID>
<d3p1:EndDateTime>2014-07-14T19:00:00</d3p1:EndDateTime>
<d3p1:LockID>233493890000</d3p1:LockID>
<d3p1:OpCode>13604356</d3p1:OpCode>
<d3p1:StartDateTime>2014-07-14T07:00:00</d3p1:StartDateTime>
<d3p1:UserID>WilsonFG</d3p1:UserID>
</d3p1:OperationCode>
</OperationsCodes>
</Body>
<Header xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<d2p1:ErrorId i:nil="true" />
<d2p1:Message></d2p1:Message>
<d2p1:Status>Ok</d2p1:Status>
<d2p1:StatusCode>Ok</d2p1:StatusCode>
</Header>
</OperationCodeListResponse>