POST PlaceOrder/CheckTransactions
Returns the current Status of the Api Order with Timestamps for each action from the pos
Request Information
URI Parameters
None.
Body Parameters
CheckTransactionCommandName | Type | Description | Additional information |
---|---|---|---|
ApiTransactionIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApiTransactionIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<CheckTransactionCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.ApiOrder.Commands"> <ApiTransactionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ApiTransactionIds> </CheckTransactionCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of APIOrderStatusModelName | Type | Description | Additional information |
---|---|---|---|
ApiOrderID | integer |
None. |
|
TransactionID | integer |
None. |
|
DateTimeCreatedUTC | date |
None. |
|
Polled | boolean |
None. |
|
DateTimePolledUTC | date |
None. |
|
PolledTerminal | string |
None. |
|
Processed | boolean |
None. |
|
DateTimeProcessedUTC | date |
None. |
|
ProcessedTerminal | string |
None. |
|
Cancelled | boolean |
None. |
|
DateTimeCancelledUTC | date |
None. |
|
ReasonCancelled | string |
None. |
|
CancelledTerminal | string |
None. |
|
Accepted | boolean |
None. |
|
DateTimeAcceptedUTC | date |
None. |
|
AcceptedTerminal | string |
None. |
|
Finalized | boolean |
None. |
|
DateTimeFinalizedUTC | date |
None. |
|
FinalizedTerminal | string |
None. |
|
Rejected | boolean |
None. |
|
DateTimeRejectedUTC | date |
None. |
|
ReasonRejected | string |
None. |
|
RejectedTerminal | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ApiOrderID": 1, "TransactionID": 1, "DateTimeCreatedUTC": "2024-11-21T06:21:22.163445+00:00", "Polled": true, "DateTimePolledUTC": "2024-11-21T06:21:22.163445+00:00", "PolledTerminal": "sample string 4", "Processed": true, "DateTimeProcessedUTC": "2024-11-21T06:21:22.163445+00:00", "ProcessedTerminal": "sample string 6", "Cancelled": true, "DateTimeCancelledUTC": "2024-11-21T06:21:22.163445+00:00", "ReasonCancelled": "sample string 8", "CancelledTerminal": "sample string 9", "Accepted": true, "DateTimeAcceptedUTC": "2024-11-21T06:21:22.163445+00:00", "AcceptedTerminal": "sample string 11", "Finalized": true, "DateTimeFinalizedUTC": "2024-11-21T06:21:22.163445+00:00", "FinalizedTerminal": "sample string 13", "Rejected": true, "DateTimeRejectedUTC": "2024-11-21T06:21:22.163445+00:00", "ReasonRejected": "sample string 15", "RejectedTerminal": "sample string 16" }, { "ApiOrderID": 1, "TransactionID": 1, "DateTimeCreatedUTC": "2024-11-21T06:21:22.163445+00:00", "Polled": true, "DateTimePolledUTC": "2024-11-21T06:21:22.163445+00:00", "PolledTerminal": "sample string 4", "Processed": true, "DateTimeProcessedUTC": "2024-11-21T06:21:22.163445+00:00", "ProcessedTerminal": "sample string 6", "Cancelled": true, "DateTimeCancelledUTC": "2024-11-21T06:21:22.163445+00:00", "ReasonCancelled": "sample string 8", "CancelledTerminal": "sample string 9", "Accepted": true, "DateTimeAcceptedUTC": "2024-11-21T06:21:22.163445+00:00", "AcceptedTerminal": "sample string 11", "Finalized": true, "DateTimeFinalizedUTC": "2024-11-21T06:21:22.163445+00:00", "FinalizedTerminal": "sample string 13", "Rejected": true, "DateTimeRejectedUTC": "2024-11-21T06:21:22.163445+00:00", "ReasonRejected": "sample string 15", "RejectedTerminal": "sample string 16" } ]
application/xml, text/xml
Sample:
<ArrayOfAPIOrderStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.ApiOrder.Dtos"> <APIOrderStatusModel> <Accepted>true</Accepted> <AcceptedTerminal>sample string 11</AcceptedTerminal> <ApiOrderID>1</ApiOrderID> <Cancelled>true</Cancelled> <CancelledTerminal>sample string 9</CancelledTerminal> <DateTimeAcceptedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeAcceptedUTC> <DateTimeCancelledUTC>2024-11-21T06:21:22.163445+00:00</DateTimeCancelledUTC> <DateTimeCreatedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeCreatedUTC> <DateTimeFinalizedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeFinalizedUTC> <DateTimePolledUTC>2024-11-21T06:21:22.163445+00:00</DateTimePolledUTC> <DateTimeProcessedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeProcessedUTC> <DateTimeRejectedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeRejectedUTC> <Finalized>true</Finalized> <FinalizedTerminal>sample string 13</FinalizedTerminal> <Polled>true</Polled> <PolledTerminal>sample string 4</PolledTerminal> <Processed>true</Processed> <ProcessedTerminal>sample string 6</ProcessedTerminal> <ReasonCancelled>sample string 8</ReasonCancelled> <ReasonRejected>sample string 15</ReasonRejected> <Rejected>true</Rejected> <RejectedTerminal>sample string 16</RejectedTerminal> <TransactionID>1</TransactionID> </APIOrderStatusModel> <APIOrderStatusModel> <Accepted>true</Accepted> <AcceptedTerminal>sample string 11</AcceptedTerminal> <ApiOrderID>1</ApiOrderID> <Cancelled>true</Cancelled> <CancelledTerminal>sample string 9</CancelledTerminal> <DateTimeAcceptedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeAcceptedUTC> <DateTimeCancelledUTC>2024-11-21T06:21:22.163445+00:00</DateTimeCancelledUTC> <DateTimeCreatedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeCreatedUTC> <DateTimeFinalizedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeFinalizedUTC> <DateTimePolledUTC>2024-11-21T06:21:22.163445+00:00</DateTimePolledUTC> <DateTimeProcessedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeProcessedUTC> <DateTimeRejectedUTC>2024-11-21T06:21:22.163445+00:00</DateTimeRejectedUTC> <Finalized>true</Finalized> <FinalizedTerminal>sample string 13</FinalizedTerminal> <Polled>true</Polled> <PolledTerminal>sample string 4</PolledTerminal> <Processed>true</Processed> <ProcessedTerminal>sample string 6</ProcessedTerminal> <ReasonCancelled>sample string 8</ReasonCancelled> <ReasonRejected>sample string 15</ReasonRejected> <Rejected>true</Rejected> <RejectedTerminal>sample string 16</RejectedTerminal> <TransactionID>1</TransactionID> </APIOrderStatusModel> </ArrayOfAPIOrderStatusModel>