POST api/upload/voterforms
Upload Voter Forms Data.
Request Information
URI Parameters
None.
Body Parameters
DXVoterFormsCheckIn| Name | Description | Type | Additional information | 
|---|---|---|---|
| TokenGuidId | User GUID - TokenGuidId is a 128-bit globally unique identifier. It is a combination of letters and numbers. | string | Required String length: inclusive between 36 and 38 | 
| PayLoad | Collection of Voter Checkin data goes here. | Collection of VoterFormsCheckIn | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "PayLoad": [
    {
      "Action": "sample string 1",
      "IntVoterId": 2,
      "VoterId": 3,
      "FormId": 4,
      "EID": 5,
      "PPId": 6,
      "FormFileName": "sample string 7",
      "ReprintFlag": 8,
      "LaptopId": 9,
      "FileName": "sample string 10",
      "SyncID": "sample string 11"
    },
    {
      "Action": "sample string 1",
      "IntVoterId": 2,
      "VoterId": 3,
      "FormId": 4,
      "EID": 5,
      "PPId": 6,
      "FormFileName": "sample string 7",
      "ReprintFlag": 8,
      "LaptopId": 9,
      "FileName": "sample string 10",
      "SyncID": "sample string 11"
    }
  ],
  "TokenGuidId": "sample string 1"
}
        application/xml, text/xml
            Sample:
        
<DXVoterFormsCheckIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrecinctAtlasWeb.API.Models.Upload">
  <TokenGuidId xmlns="http://schemas.datacontract.org/2004/07/PrecinctAtlasWeb.API.Models">sample string 1</TokenGuidId>
  <PayLoad>
    <VoterFormsCheckIn>
      <Action>sample string 1</Action>
      <EID>5</EID>
      <FileName>sample string 10</FileName>
      <FormFileName>sample string 7</FormFileName>
      <FormId>4</FormId>
      <IntVoterId>2</IntVoterId>
      <LaptopId>9</LaptopId>
      <PPId>6</PPId>
      <ReprintFlag>8</ReprintFlag>
      <SyncID>sample string 11</SyncID>
      <VoterId>3</VoterId>
    </VoterFormsCheckIn>
    <VoterFormsCheckIn>
      <Action>sample string 1</Action>
      <EID>5</EID>
      <FileName>sample string 10</FileName>
      <FormFileName>sample string 7</FormFileName>
      <FormId>4</FormId>
      <IntVoterId>2</IntVoterId>
      <LaptopId>9</LaptopId>
      <PPId>6</PPId>
      <ReprintFlag>8</ReprintFlag>
      <SyncID>sample string 11</SyncID>
      <VoterId>3</VoterId>
    </VoterFormsCheckIn>
  </PayLoad>
</DXVoterFormsCheckIn>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
Success status and message
ReturnMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| IsSuccessStatusCode | boolean | None. | |
| StatusCode | HttpStatusCode | None. | |
| Message | Collection of string | None. | |
| ErrorType | string | None. | |
| ErrorCode | string | None. | |
| PayLoadItemCount | integer | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "IsSuccessStatusCode": false,
  "StatusCode": 100,
  "Message": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorType": "sample string 1",
  "ErrorCode": "sample string 2",
  "PayLoadItemCount": 1
}
        application/xml, text/xml
            Sample:
<ReturnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrecinctAtlasWeb.API.Models">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorType>sample string 1</ErrorType>
  <Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Message>
  <PayLoadItemCount>1</PayLoadItemCount>
  <StatusCode>Continue</StatusCode>
</ReturnMessage>