FasIntegrationService


Click here for a complete list of operations.

GetConsData

Gets consolidated data from the consolidation system.

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 /VssFas/FasIntegrationService.asmx HTTP/1.1
Host: www.vsakis.lt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.vsakis.lt/VssFas/GetConsData"

<?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>
    <GetConsData xmlns="http://www.vsakis.lt/VssFas/">
      <year>int</year>
      <month>int</month>
      <vsses>
        <string>string</string>
        <string>string</string>
      </vsses>
      <scope>string</scope>
      <currency>string</currency>
      <dimCodes>
        <BalanceCodes>
          <Partner>string</Partner>
        </BalanceCodes>
        <BalanceCodes>
          <Partner>string</Partner>
        </BalanceCodes>
      </dimCodes>
      <authData>
        <UserName>string</UserName>
        <AuthCode>string</AuthCode>
      </authData>
    </GetConsData>
  </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>
    <GetConsDataResponse xmlns="http://www.vsakis.lt/VssFas/">
      <GetConsDataResult>
        <ResultCode>string</ResultCode>
        <Errors>
          <ExportError>
            <ErrCode>string</ErrCode>
            <ErrorDescription>string</ErrorDescription>
          </ExportError>
          <ExportError>
            <ErrCode>string</ErrCode>
            <ErrorDescription>string</ErrorDescription>
          </ExportError>
        </Errors>
        <Data>
          <ExportBalance>
            <VssCode>string</VssCode>
            <DimCodes xsi:nil="true" />
            <Value>decimal</Value>
          </ExportBalance>
          <ExportBalance>
            <VssCode>string</VssCode>
            <DimCodes xsi:nil="true" />
            <Value>decimal</Value>
          </ExportBalance>
        </Data>
      </GetConsDataResult>
    </GetConsDataResponse>
  </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 /VssFas/FasIntegrationService.asmx HTTP/1.1
Host: www.vsakis.lt
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>
    <GetConsData xmlns="http://www.vsakis.lt/VssFas/">
      <year>int</year>
      <month>int</month>
      <vsses>
        <string>string</string>
        <string>string</string>
      </vsses>
      <scope>string</scope>
      <currency>string</currency>
      <dimCodes>
        <BalanceCodes>
          <Partner>string</Partner>
        </BalanceCodes>
        <BalanceCodes>
          <Partner>string</Partner>
        </BalanceCodes>
      </dimCodes>
      <authData>
        <UserName>string</UserName>
        <AuthCode>string</AuthCode>
      </authData>
    </GetConsData>
  </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>
    <GetConsDataResponse xmlns="http://www.vsakis.lt/VssFas/">
      <GetConsDataResult>
        <ResultCode>string</ResultCode>
        <Errors>
          <ExportError>
            <ErrCode>string</ErrCode>
            <ErrorDescription>string</ErrorDescription>
          </ExportError>
          <ExportError>
            <ErrCode>string</ErrCode>
            <ErrorDescription>string</ErrorDescription>
          </ExportError>
        </Errors>
        <Data>
          <ExportBalance>
            <VssCode>string</VssCode>
            <DimCodes xsi:nil="true" />
            <Value>decimal</Value>
          </ExportBalance>
          <ExportBalance>
            <VssCode>string</VssCode>
            <DimCodes xsi:nil="true" />
            <Value>decimal</Value>
          </ExportBalance>
        </Data>
      </GetConsDataResult>
    </GetConsDataResponse>
  </soap12:Body>
</soap12:Envelope>