CorrigoService - Web Service


Click here for a complete list of operations.

LogInCompany

Login into HOST-INDEPENDENT WSDL with Company Name, i.e. http://www.corrigonet.corrigo.com/...

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
username:
password:
companyname:

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 /wsdk/CorrigoService.asmx HTTP/1.1
Host: am-ce98f.corrigo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://corrigo.com/integration/LogInCompany"

<?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>
    <CorrigoNetOptions xmlns="http://corrigo.com/integration/">
      <ImposeConcurrencyId>boolean</ImposeConcurrencyId>
      <CanDeleteMissingEntity>boolean</CanDeleteMissingEntity>
      <LockOnDataRetrieval>Default or ReadUncommitted or ReadCommitted or Snapshot</LockOnDataRetrieval>
    </CorrigoNetOptions>
  </soap:Header>
  <soap:Body>
    <LogInCompany xmlns="http://corrigo.com/integration/">
      <username>string</username>
      <password>string</password>
      <companyname>string</companyname>
    </LogInCompany>
  </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>
    <LogInCompanyResponse xmlns="http://corrigo.com/integration/">
      <LogInCompanyResult>
        <ErrorInfo>
          <Number>long</Number>
          <Description>string</Description>
          <Type>string</Type>
        </ErrorInfo>
      </LogInCompanyResult>
    </LogInCompanyResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

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

GET /wsdk/CorrigoService.asmx/LogInCompany?username=string&password=string&companyname=string HTTP/1.1
Host: am-ce98f.corrigo.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CommandResponse xmlns="http://corrigo.com/integration/">
  <ErrorInfo>
    <Number>long</Number>
    <Description>string</Description>
    <Type>string</Type>
  </ErrorInfo>
</CommandResponse>

HTTP POST

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

POST /wsdk/CorrigoService.asmx/LogInCompany HTTP/1.1
Host: am-ce98f.corrigo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&companyname=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CommandResponse xmlns="http://corrigo.com/integration/">
  <ErrorInfo>
    <Number>long</Number>
    <Description>string</Description>
    <Type>string</Type>
  </ErrorInfo>
</CommandResponse>