BaseDataService


Click here for a complete list of operations.

GetCollector

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 /WAPI/BaseDataService.asmx HTTP/1.1
Host: support.cobraconto.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cobraconto.net/webservices/wapi/GetCollector"

<?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>
    <GetCollector xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <AId>int</AId>
    </GetCollector>
  </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>
    <GetCollectorResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetCollectorResult>
        <TransactionId>string</TransactionId>
        <Collectors>
          <RowState>int</RowState>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <ValidFrom>dateTime</ValidFrom>
          <ValidUntil>dateTime</ValidUntil>
          <DefaultCategoryId>int</DefaultCategoryId>
          <StockRelated>boolean</StockRelated>
          <LedgerRelated>boolean</LedgerRelated>
          <CollectorGatherNos>
            <CollectorGatherNo xsi:nil="true" />
            <CollectorGatherNo xsi:nil="true" />
          </CollectorGatherNos>
          <CollectorNames>
            <CollectorName xsi:nil="true" />
            <CollectorName xsi:nil="true" />
          </CollectorNames>
          <CollectorAvatarProperties>
            <CollectorAvatarProperty xsi:nil="true" />
            <CollectorAvatarProperty xsi:nil="true" />
          </CollectorAvatarProperties>
        </Collectors>
        <Collectors>
          <RowState>int</RowState>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <ValidFrom>dateTime</ValidFrom>
          <ValidUntil>dateTime</ValidUntil>
          <DefaultCategoryId>int</DefaultCategoryId>
          <StockRelated>boolean</StockRelated>
          <LedgerRelated>boolean</LedgerRelated>
          <CollectorGatherNos>
            <CollectorGatherNo xsi:nil="true" />
            <CollectorGatherNo xsi:nil="true" />
          </CollectorGatherNos>
          <CollectorNames>
            <CollectorName xsi:nil="true" />
            <CollectorName xsi:nil="true" />
          </CollectorNames>
          <CollectorAvatarProperties>
            <CollectorAvatarProperty xsi:nil="true" />
            <CollectorAvatarProperty xsi:nil="true" />
          </CollectorAvatarProperties>
        </Collectors>
      </GetCollectorResult>
    </GetCollectorResponse>
  </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 /WAPI/BaseDataService.asmx HTTP/1.1
Host: support.cobraconto.net
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>
    <GetCollector xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <AId>int</AId>
    </GetCollector>
  </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>
    <GetCollectorResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetCollectorResult>
        <TransactionId>string</TransactionId>
        <Collectors>
          <RowState>int</RowState>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <ValidFrom>dateTime</ValidFrom>
          <ValidUntil>dateTime</ValidUntil>
          <DefaultCategoryId>int</DefaultCategoryId>
          <StockRelated>boolean</StockRelated>
          <LedgerRelated>boolean</LedgerRelated>
          <CollectorGatherNos>
            <CollectorGatherNo xsi:nil="true" />
            <CollectorGatherNo xsi:nil="true" />
          </CollectorGatherNos>
          <CollectorNames>
            <CollectorName xsi:nil="true" />
            <CollectorName xsi:nil="true" />
          </CollectorNames>
          <CollectorAvatarProperties>
            <CollectorAvatarProperty xsi:nil="true" />
            <CollectorAvatarProperty xsi:nil="true" />
          </CollectorAvatarProperties>
        </Collectors>
        <Collectors>
          <RowState>int</RowState>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <ValidFrom>dateTime</ValidFrom>
          <ValidUntil>dateTime</ValidUntil>
          <DefaultCategoryId>int</DefaultCategoryId>
          <StockRelated>boolean</StockRelated>
          <LedgerRelated>boolean</LedgerRelated>
          <CollectorGatherNos>
            <CollectorGatherNo xsi:nil="true" />
            <CollectorGatherNo xsi:nil="true" />
          </CollectorGatherNos>
          <CollectorNames>
            <CollectorName xsi:nil="true" />
            <CollectorName xsi:nil="true" />
          </CollectorNames>
          <CollectorAvatarProperties>
            <CollectorAvatarProperty xsi:nil="true" />
            <CollectorAvatarProperty xsi:nil="true" />
          </CollectorAvatarProperties>
        </Collectors>
      </GetCollectorResult>
    </GetCollectorResponse>
  </soap12:Body>
</soap12:Envelope>