Veetro Web Service Methods


Click here for a complete list of operations.

GetModifiedItems

[Permission: Employee, Credentials: Will be different according to the types data return]
Returns misc data that have been modified after a specific datetime.

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 /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schema.veetro.com/GetModifiedItems"

<?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>
    <GetModifiedItems xmlns="http://schema.veetro.com">
      <e>
        <PersonRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </PersonRequest>
        <CompanyRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </CompanyRequest>
        <EventRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </EventRequest>
        <TimesheetRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </TimesheetRequest>
        <TaskRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </TaskRequest>
        <ProjectRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </ProjectRequest>
        <SupportCaseRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </SupportCaseRequest>
        <LeadRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </LeadRequest>
        <ExpenseRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </ExpenseRequest>
        <InvoiceRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </InvoiceRequest>
        <QuoteRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </QuoteRequest>
      </e>
    </GetModifiedItems>
  </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>
    <GetModifiedItemsResponse xmlns="http://schema.veetro.com">
      <GetModifiedItemsResult>
        <People>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Person xsi:nil="true" />
            <Person xsi:nil="true" />
          </Results>
        </People>
        <Companies>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Company xsi:nil="true" />
            <Company xsi:nil="true" />
          </Results>
        </Companies>
        <Events>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Events>
        <Timesheets>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Timesheets>
        <Tasks>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Tasks>
        <Projects>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Project xsi:nil="true" />
            <Project xsi:nil="true" />
          </Results>
        </Projects>
        <SupportCases>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <SupportCase xsi:nil="true" />
            <SupportCase xsi:nil="true" />
          </Results>
        </SupportCases>
        <Leads>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Lead xsi:nil="true" />
            <Lead xsi:nil="true" />
          </Results>
        </Leads>
        <Expenses>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Entry xsi:nil="true" />
            <Entry xsi:nil="true" />
          </Results>
        </Expenses>
        <Invoices>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Invoice xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Results>
        </Invoices>
        <Quotes>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Invoice xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Results>
        </Quotes>
      </GetModifiedItemsResult>
    </GetModifiedItemsResponse>
  </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 /xml HTTP/1.1
Host: admin.worketc.com
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>
    <GetModifiedItems xmlns="http://schema.veetro.com">
      <e>
        <PersonRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </PersonRequest>
        <CompanyRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </CompanyRequest>
        <EventRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </EventRequest>
        <TimesheetRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </TimesheetRequest>
        <TaskRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </TaskRequest>
        <ProjectRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </ProjectRequest>
        <SupportCaseRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </SupportCaseRequest>
        <LeadRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </LeadRequest>
        <ExpenseRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </ExpenseRequest>
        <InvoiceRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </InvoiceRequest>
        <QuoteRequest>
          <StartIndex>int</StartIndex>
          <FetchSize>int</FetchSize>
          <DateLastModifiedUtc>dateTime</DateLastModifiedUtc>
        </QuoteRequest>
      </e>
    </GetModifiedItems>
  </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>
    <GetModifiedItemsResponse xmlns="http://schema.veetro.com">
      <GetModifiedItemsResult>
        <People>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Person xsi:nil="true" />
            <Person xsi:nil="true" />
          </Results>
        </People>
        <Companies>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Company xsi:nil="true" />
            <Company xsi:nil="true" />
          </Results>
        </Companies>
        <Events>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Events>
        <Timesheets>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Timesheets>
        <Tasks>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Event xsi:nil="true" />
            <Event xsi:nil="true" />
          </Results>
        </Tasks>
        <Projects>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Project xsi:nil="true" />
            <Project xsi:nil="true" />
          </Results>
        </Projects>
        <SupportCases>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <SupportCase xsi:nil="true" />
            <SupportCase xsi:nil="true" />
          </Results>
        </SupportCases>
        <Leads>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Lead xsi:nil="true" />
            <Lead xsi:nil="true" />
          </Results>
        </Leads>
        <Expenses>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Entry xsi:nil="true" />
            <Entry xsi:nil="true" />
          </Results>
        </Expenses>
        <Invoices>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Invoice xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Results>
        </Invoices>
        <Quotes>
          <RecordCount>int</RecordCount>
          <Description>string</Description>
          <SQL>string</SQL>
          <FetchSize>int</FetchSize>
          <Page>int</Page>
          <StartIndex>int</StartIndex>
          <EndIndex>int</EndIndex>
          <Results>
            <Invoice xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Results>
        </Quotes>
      </GetModifiedItemsResult>
    </GetModifiedItemsResponse>
  </soap12:Body>
</soap12:Envelope>