Contact eSortcode.com on +44 (0)845 094 2633  
 
BranchDetails
The BranchDetails function is used to Return the ISCD record for the sorting code entered. A formal description of the function can be found in the 'Service Description' section of


or for a sample SOAP request and response


The BranchDetails method takes 4 parameters

Parameter Parameter Description
sSortcode The 6 digit sortcode
sUserName The unique Account Name given to you when you register
sGUID The Globally Unique Identifier(GUID) assigned to you when you register
sIPAddress IP Address. (Leave this blank)

and can be invoked as follows replacing the 'string' values where appropriate:


A typical Valid response will look something like this (Note: not all fields are shown):

  <?xml version="1.0" encoding="utf-8" ?>
-     <BranchDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ws.esortcode.com">
          <ValidationMessage>VALID</ValidationMessage>
          <IsError>false</IsError>
          <ErrorMessage />
          <GENERALSortingCode>110932</GENERALSortingCode>
          <GENERALBIC1>HLFXGB21</GENERALBIC1>
          <GENERALBIC2>I78</GENERALBIC2> .......... 
        ........................................................
     <PRINTTelephoneNumber />
       <PRINTTelephone2Area />
       <PRINTTelephone2Number />
      </BranchDetail>

The response returns 85 fields consisting of 3 Validation and Error fields and 82 ISCD fields.
For a list of the ISCD fields and a full specification visit ISCD Specification.

The response will have one of the following formats:
 
ValidationMessage IsError ErrorMessage ISCDFields x 82
VALID false blank ISCD Record
INVALID : "Invalid Reason here"  false blank blank
blank true ERROR : "Error Message here" blank

SSL Note: If you are using Secure Socket layers you can replace http with the https prefix in the above examples.