Request Information

URI Parameters

None.

Body Parameters

GetOperationCodesByNicknameRequest

GetOperationCodesByNicknameRequest
NameDescriptionTypeAdditional information
Nickname

Nickname

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Nickname": "John"
}

application/xml, text/xml

Sample:
<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>

application/x-www-form-urlencoded

Sample:
Nickname=John

Response Information

Resource Description

OperationCodeListResponse

OperationCodeListResponse
NameDescriptionTypeAdditional information
Header

Operation code list response message header.

ResponseHeader

None.

Body

Operation code list response message body.

OperationCodeListResponseBody

None.

Response Header Description

ResponseHeader
NameDescriptionTypeAdditional information
Message

Message

string

None.

StatusCode

Status code

ResponseStatus

None.

Status

Status

string

None.

ErrorId

Error id

string

None.

Response Body Description

OperationCodeListResponseBody
NameDescriptionTypeAdditional information
OperationsCodes

List of Operation codes

Collection of OperationCode

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<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>

© 2025 Sargent and Greenleaf