GET | /api/v1/status/host | Get host status. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
HostStatus | body | string | No | The status of the connection between triPOS and the host.Allowable Values
|
MerchantId | body | string | No | The merchant ID. |
Processor | body | Processor | No | Response information from the processor. |
TransactionDateTime | body | string | No | Transaction date/time in ISO8601 format |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Errors | body | List<ApiError> | No | A list of errors that occurred. |
HasErrors | body | bool | No | Indicates if there are errors. |
Links | body | IEnumerable<ApiLink> | No | A list of resource links |
Logs | body | List<string> | No | A list of log entries detailing what happened during the request. Ideally only used during development or troubleshooting as this can be quite verbose. |
Type | body | string | No | The type of object held in the result. |
Warnings | body | List<ApiWarning> | No | A list of warnings that occurred. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProcessorLogs | body | List<string> | No | [DEPRECATED] Use logs. |
ProcessorRawResponse | body | string | No | [DEPRECATED] Use rawResponse. |
ProcessorReferenceNumber | body | string | No | [DEPRECATED] Use the same reference number passed in the request. |
ProcessorRequestFailed | body | bool | No | [DEPRECATED] Use top level properties (e.g. hasErrors). |
ProcessorRequestWasApproved | body | bool | No | [DEPRECATED] Use top level properties (e.g isApproved). |
ProcessorResponseCode | body | ProcessorResponseCode | No | [DEPRECATED] Use expressResponseCode.Allowable Values
|
ProcessorResponseMessage | body | string | No | [DEPRECATED] Use expressResponseMessage. |
ExpressResponseCode | body | string | No | The response code received from Express. |
ExpressResponseMessage | body | string | No | The response message received from Express. |
HostResponseCode | body | string | No | The response code received from the host via Express. NOTE: This value is only populated if Express send the request to the host. |
HostResponseMessage | body | string | No | The response message received from the host via Express. NOTE: This value is only populated if Express send the request to the host. |
Logs | body | List<string> | No | A list of messages pertaining processing the transaction. |
RawResponse | body | string | No | The raw processor response. In the case of Express, this is the raw XML returned by the Express platform. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/HostStatusRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/xml
Content-Length: length
<hostStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <hostStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api"> <_errors> <error> <developerMessage>String</developerMessage> <errorType>String</errorType> <exceptionMessage>String</exceptionMessage> <exceptionTypeFullName>String</exceptionTypeFullName> <exceptionTypeShortName>String</exceptionTypeShortName> <userMessage>String</userMessage> </error> </_errors> <_hasErrors>true</_hasErrors> <_links /> <_logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>String</d2p1:string> </_logs> <_type>String</_type> <_warnings> <warning> <developerMessage>String</developerMessage> <userMessage>String</userMessage> </warning> </_warnings> <_processor> <expressResponseCode>String</expressResponseCode> <expressResponseMessage>String</expressResponseMessage> <hostResponseCode>String</hostResponseCode> <hostResponseMessage>String</hostResponseMessage> <logs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>String</d3p1:string> </logs> <processorLogs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>String</d3p1:string> </processorLogs> <processorRawResponse>String</processorRawResponse> <processorReferenceNumber>String</processorReferenceNumber> <processorRequestFailed>false</processorRequestFailed> <processorRequestWasApproved>false</processorRequestWasApproved> <processorResponseCode>Unknown</processorResponseCode> <processorResponseMessage>String</processorResponseMessage> <rawResponse>String</rawResponse> </_processor> <hostStatus>String</hostStatus> <merchantId>String</merchantId> <transactionDateTime>String</transactionDateTime> </hostStatusResponse>