WSTopUp


Click here for a complete list of operations.

SearchAgentInfo

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WSTopUp.asmx HTTP/1.1
Host: ws-main.sercob.com.ar
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "WSTopUp/SearchAgentInfo"

<?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:Header>
    <AuthHeader xmlns="WSTopUp">
      <key>string</key>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <SearchAgentInfo xmlns="WSTopUp">
      <intSubAgentID>int</intSubAgentID>
    </SearchAgentInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <SearchAgentInfoResponse xmlns="WSTopUp">
      <SearchAgentInfoResult>
        <generalResult>
          <code>string</code>
          <description>string</description>
        </generalResult>
        <agent>
          <id>int</id>
          <code>string</code>
          <description>string</description>
          <balance>double</balance>
          <pass>string</pass>
          <level>string</level>
          <currency>string</currency>
          <enabled>boolean</enabled>
          <country>string</country>
          <cashMovStatus>string</cashMovStatus>
          <cashMovStatusDate>dateTime</cashMovStatusDate>
          <isLastLevel>boolean</isLastLevel>
          <user>string</user>
          <email>string</email>
          <phone>string</phone>
          <cuit>string</cuit>
          <dni>string</dni>
          <address_streetName>string</address_streetName>
          <address_streetNumber>int</address_streetNumber>
          <address_floor>string</address_floor>
          <address_depart>string</address_depart>
          <address_zipCode>string</address_zipCode>
          <address_provinceID>int</address_provinceID>
          <address_cityID>int</address_cityID>
          <address_locality>string</address_locality>
          <address_neighb>string</address_neighb>
          <address_latitude>decimal</address_latitude>
          <address_longitude>decimal</address_longitude>
          <comments>string</comments>
          <permissions>
            <Permission xsi:nil="true" />
            <Permission xsi:nil="true" />
          </permissions>
        </agent>
      </SearchAgentInfoResult>
    </SearchAgentInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WSTopUp.asmx HTTP/1.1
Host: ws-main.sercob.com.ar
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <AuthHeader xmlns="WSTopUp">
      <key>string</key>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <SearchAgentInfo xmlns="WSTopUp">
      <intSubAgentID>int</intSubAgentID>
    </SearchAgentInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchAgentInfoResponse xmlns="WSTopUp">
      <SearchAgentInfoResult>
        <generalResult>
          <code>string</code>
          <description>string</description>
        </generalResult>
        <agent>
          <id>int</id>
          <code>string</code>
          <description>string</description>
          <balance>double</balance>
          <pass>string</pass>
          <level>string</level>
          <currency>string</currency>
          <enabled>boolean</enabled>
          <country>string</country>
          <cashMovStatus>string</cashMovStatus>
          <cashMovStatusDate>dateTime</cashMovStatusDate>
          <isLastLevel>boolean</isLastLevel>
          <user>string</user>
          <email>string</email>
          <phone>string</phone>
          <cuit>string</cuit>
          <dni>string</dni>
          <address_streetName>string</address_streetName>
          <address_streetNumber>int</address_streetNumber>
          <address_floor>string</address_floor>
          <address_depart>string</address_depart>
          <address_zipCode>string</address_zipCode>
          <address_provinceID>int</address_provinceID>
          <address_cityID>int</address_cityID>
          <address_locality>string</address_locality>
          <address_neighb>string</address_neighb>
          <address_latitude>decimal</address_latitude>
          <address_longitude>decimal</address_longitude>
          <comments>string</comments>
          <permissions>
            <Permission xsi:nil="true" />
            <Permission xsi:nil="true" />
          </permissions>
        </agent>
      </SearchAgentInfoResult>
    </SearchAgentInfoResponse>
  </soap12:Body>
</soap12:Envelope>