POST api/v7/TerminalStatus

Accepts a terminal status message from a client.

Request Information

URI Parameters

None.

Body Parameters

The actual terminal status message.

TerminalStatusRequest
NameDescriptionTypeRequired?Additional information
terminalNumber

string

No

None.

terminalOpen

boolean

No

None.

lastTransactionNumber

integer

No

None.

businessDate

date

No

None.

bootDateTime

date

No

None.

MachineName

string

No

None.

Request Formats

application/json, text/json

Sample:
{
  "terminalNumber": "220",
  "terminalOpen": true,
  "lastTransactionNumber": 1001,
  "businessDate": "2015-01-02T00:00:00",
  "bootDateTime": "2015-01-02T12:00:00"
}

application/xml, text/xml

Sample:
<TerminalStatusRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <terminalNumber>220</terminalNumber>
  <terminalOpen>true</terminalOpen>
  <lastTransactionNumber>1001</lastTransactionNumber>
  <businessDate>2015-01-02T00:00:00</businessDate>
  <bootDateTime>2015-01-02T12:00:00</bootDateTime>
</TerminalStatusRequest>

Response Information

Resource Description

A response containing an acknowledgement

HttpResponseMessage
NameDescriptionType
Version

Version
Content

HttpContent
StatusCode

HttpStatusCode
ReasonPhrase

string
Headers

Collection of Object
RequestMessage

HttpRequestMessage
IsSuccessStatusCode

boolean