HostedSuite

<back to all web services

ListCompletedFormsRequest

Retrieves completed forms for the specified client and date range

The following routes are available for this service:
POST/api/forms/completed
ListCompletedFormsRequest Parameters:
NameParameterData TypeRequiredDescription
StartDatebodyDateTimeNoThe start of the date range to list forms for
EndDatebodyDateTimeNoThe end of the date range to list forms for
ClientIdbodystringNoThe ID of the client whose forms you want to list
SpecificFormIdbodystringNoThe ID of the specific form you want to get. Using this field will return a single result
PagedRequestBase<TITemType> Parameters:
NameParameterData TypeRequiredDescription
PageformintNo
ItemsPerPageformintNo
DisableStatsformboolNo
SortFieldformstringNo
SortDirformSortDirNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
CustomerNameformstringYesThe HostedSuite Customer Name
UserNameformstringYesThe HostedSuite User Name. Data visibility and security is based on this user's permissions.
PasswordformstringYesThe HostedSuite User's Password
SortDir Enum:
Asc
Desc
CompletedFormInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
ClientIdformstringNo
ClientNameformstringNo
ContactIdformstringNo
ContactNameformstringNo
EmailSubjectformstringNo
CallerNumberformstringNo
DateCompletedformstringNo
LocalClientTimeformstringNo
FieldsformList<CompletedFormFieldInfo>No
HasBeenReadformboolNo
CallRecordIdformstringNo
CreatedByNameformstringNo
CompletedFormFieldInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValuesformList<string>No
PagedResponseBase<TItemType> Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<TItemType>No
PageformintNo
TotalCountformlongNo
TotalPagesformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/forms/completed HTTP/1.1 
Host: evo.hostedsuite.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ListCompletedFormsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
  <CustomerName>String</CustomerName>
  <Password>String</Password>
  <UserName>String</UserName>
  <DisableStats>false</DisableStats>
  <ItemsPerPage>0</ItemsPerPage>
  <Page>0</Page>
  <SortDir>Asc</SortDir>
  <SortField>String</SortField>
  <ClientId>String</ClientId>
  <EndDate>0001-01-01T00:00:00</EndDate>
  <SpecificFormId>String</SpecificFormId>
  <StartDate>0001-01-01T00:00:00</StartDate>
</ListCompletedFormsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PagedResponseBaseOfCompletedFormInfoq5tJnJZa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
  <Items>
    <CompletedFormInfo>
      <CallRecordId>String</CallRecordId>
      <CallerNumber>String</CallerNumber>
      <ClientId>String</ClientId>
      <ClientName>String</ClientName>
      <ContactId>String</ContactId>
      <ContactName>String</ContactName>
      <DateCompleted>String</DateCompleted>
      <EmailSubject>String</EmailSubject>
      <Fields>
        <CompletedFormFieldInfo>
          <Name>String</Name>
          <Values xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </Values>
        </CompletedFormFieldInfo>
      </Fields>
      <HasBeenRead>false</HasBeenRead>
      <Id>String</Id>
      <LocalClientTime>String</LocalClientTime>
      <Name>String</Name>
    </CompletedFormInfo>
  </Items>
  <Page>0</Page>
  <TotalCount>0</TotalCount>
  <TotalPages>0</TotalPages>
</PagedResponseBaseOfCompletedFormInfoq5tJnJZa>