developer:soap-1.6:methods:getposdevice

Soap API v1.6

getPosDevice

Retrieve information about connected pos device

Description

Returns details about pos device associated with source key. Includes the model and serial number of device along with whether is currently online or not.

Syntax

getPosDevice ( ueSecurityToken Token)

Arguments

Type Name Description
ueSecurityToken Token Merchant security token: used to identify merchant and retrieve the custom fields.

Return Value

string State Indicates whether the device is avialable: online or offline

Exceptions

The following exceptions (errors) are applicable to this method.

Code Message Advice

Examples

PHP

For directions on how to set up the WSDL link, create “$token” and “$client”, go to PHP Soap How-to.

 

VB

 

.NET C#

 

XML

Request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://www-stage.usaepay.com/soap/2.0/uedocs">
<SOAP-ENV:Body>
<ns1:getPosDevice>
<Token>
<ClientIP>192.168.0.1</ClientIP>
<PinHash>
<HashValue>ce46081179b05a10e6b5f427ff8a5b1ca8aab36e</HashValue>
<Seed>13651763051563127114</Seed>
<Type>sha1</Type>
</PinHash>
<SourceKey>e42SYc86C4uvlvyP62ow54Kv93SZsJVm</SourceKey>
</Token>
</ns1:getPosDevice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:

 

Change History

Version Change
1.6 Method added in this release
developer/soap-1.6/methods/getposdevice.txt · Last modified: 2013/07/01 08:29 by edenmcewen

Page Tools