Application & Process Automation

Getting Started
Authentication & Access
Accounts with Multi-Factor Authentication
Agency and Program Information
Common Usage Scenarios
Create and Submit a Project
Add/Change Data in an Existing Project
Daily Polling for Project Changes
Using Custom IDs
API Method Reference
GetPrograms
URL Format
Response
XML Attributes
Sample Code
GetForms
URL Format
Response
Forms Attributes
AvailableInStatuses and LeadsToStatus
Status Attributes
Sample Code
GetFormSchema
V1 Response
V2 Response
Sample Code
GetProjects
V1 Response
V2 Response
Sample Code
GetProjectsByNumber
V1 Response
V2 Response
Sample Request
Sample Code
GetProjectsByData
Sample Request
Request XML Nodes and Attributes
V1 Response
V2 Response
CreateNewProject
Sample Response
Response XML Attributes
Sample Code
GetAllProjectData - Admin only
Sample Response
XML Attributes
Sample Code
GetProjectData
Sample Response
XML Attributes
Sample Code
SetProjectData
Sample Request
Request XML Attributes
Sample Response
Response XML Attributes
Sample Code
GetActiveAttachment
URL Format
Sample Code
GetAttachmentAsAdmin – Admin only
URL Format
SetProjectAttachment
Identifying attachment file types
URL Format
Sample Response
Response XML Attributes
Sample Code
SetAttachmentMetadata
Sample Request
Request XML Attributes
Sample Response
Response XML Attributes
Sample Code
GetAttachmentMetadata
URL Format
Sample Response
Response XML Attributes
Sample Code
SubmitProject
URL Format
Sample Response
Response XML Attributes
Sample Code
GetStatusList – Admin only
Sample Code
URL Format
Sample Response
Response XML Attributes
GetCustomListChoices
URL Format
Sample Response
Response XML Attributes
GetProjectStatusHistory – Admin only
URL Format
Sample Response
Response XML Attributes
Sample Code
SetProjectStatus – Admin only
URL Format
Sample Response
Response XML Attributes
Sample Code
GetExportProject – Admin only
Response XML Attributes
Sample Code
URL Format
Sample Response
CreateMfaSessionToken
URL Format
Sample Request
Request XML Attributes
Sample Response
Response XML Attributes
Sample Code
DeleteMfaSessionToken
URL Format
Sample Response
Sample Code
Code Samples
EncodeAuthorizationHeader
MakeGetRequest
MakePostRequest
MakeGetFileRequest
MakeDeleteRequest
PowerShell

GetCustomListChoices

Retrieves a list of choices that custom list supports on form.
 
HTTP verb: GET
Required inputs: ProgramId, FormId, GroupDefintionId
 

Path Parameters
Path Parameters Description
ProgramId The ID of the program.
FormId The ID of the form to get the custom list element.
GroupDefinitionId The ID of the custom list on the form.

URL Format

Format: https://{BaseURL}/Programs/{ProgramId}/Forms/{FormId}/CustomList/{GroupDefinitionId}/Inputs
 
Sample: https://{BaseURL}/Programs/1HF29X4P/Forms/47LE2F8/CustomList/5N7MH5QYE8DT/Inputs

Sample Response


<CustomList LastUpdatedUtc="2019-01-03T19:52:27" SchemaVersion="1.0" xmlns="http://service.powerclerk.com/api/v1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Options>
    <Selection Value="BMW">
      <Options>
        <Selection Value="i3 BEV">
          <Options>
            <Selection Value="2016" />
          </Options>
        </Selection>
        <Selection Value="i3 BEV (60 Amp-hour battery)">
          <Options>
            <Selection Value="2017" />
          </Options>
        </Selection>
        <Selection Value="i3 BEV (94 Amp-hour battery)">
          <Options>
            <Selection Value="2017" />
          </Options>
        </Selection>
      </Options>
    </Selection>
    <Selection Value="Volkswagen">
      <Options>
        <Selection Value="e-Golf">
          <Options>
            <Selection Value="2016" />
            <Selection Value="2017" />
          </Options>
        </Selection>
      </Options>
    </Selection>
  </Options>
</CustomList>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:pc="http://service.powerclerk.com/api/v1/"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://service.powerclerk.com/api/v1/">
  <xs:element name="Options" type="pc:optionsType"/>
  <xs:complexType name="optionsType">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="Selection">
        <xs:complexType>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:element name="Options" type="pc:optionsType">
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Value" type="xs:string" use="required" />
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CustomList">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Options" type="pc:optionsType">
        </xs:element>
      </xs:sequence>
      <xs:attribute type="xs:float" name="SchemaVersion"/>
      <xs:attribute name="LastUpdatedUtc"/>
    </xs:complexType>
  </xs:element>
</xs:schema>

Response XML Attributes

<Selection> Attributes

Value – The value of the selection
 

<CustomList> Attributes

LastUpdatedUtc – The timestamp when the custom list was last updated
SchemaVersion – The current schema version