HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: ncapi.net.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: PGLogin
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PGLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.User">
<AccountCodeOrCardNumber>String</AccountCodeOrCardNumber>
<AccountPin>String</AccountPin>
<CustomerId>0</CustomerId>
<DeviceId>0</DeviceId>
</PGLogin>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PGLoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.User">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
<User xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO.PaymentGatewayDTO">
<d2p1:City>String</d2p1:City>
<d2p1:CustomerId>0</d2p1:CustomerId>
<d2p1:DateOfBirth>0001-01-01T00:00:00</d2p1:DateOfBirth>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:GroupId>0</d2p1:GroupId>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:Mobile>String</d2p1:Mobile>
<d2p1:State>String</d2p1:State>
<d2p1:StreetNumber>String</d2p1:StreetNumber>
<d2p1:Title>String</d2p1:Title>
<d2p1:UserAccount xmlns:d3p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
<d3p1:AccountCode>String</d3p1:AccountCode>
<d3p1:AccountPin>String</d3p1:AccountPin>
<d3p1:AmountAvailable>0</d3p1:AmountAvailable>
<d3p1:CardNumber>String</d3p1:CardNumber>
<d3p1:PinLockOutTimeUtc>0001-01-01T00:00:00</d3p1:PinLockOutTimeUtc>
<d3p1:ProfileImagePath>String</d3p1:ProfileImagePath>
<d3p1:UserId>0</d3p1:UserId>
</d2p1:UserAccount>
<d2p1:UserGenderId>0</d2p1:UserGenderId>
<d2p1:UserId>0</d2p1:UserId>
<d2p1:Username>String</d2p1:Username>
</User>
</PGLoginResponse>
</soap:Body>
</soap:Envelope>