POST api/Zapier/InsertDriver

Request Information

URI Parameters

None.

Body Parameters

DriverIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

date_of_birth

date

None.

ssn

string

None.

excluded

boolean

None.

license_number

string

None.

license_state

string

None.

license_year

integer

None.

hire_date

date

None.

termination_date

date

None.

policy_numbers

Collection of string

None.

insured_database_id

globally unique identifier

None.

insured_email

string

None.

insured_first_name

string

None.

insured_last_name

string

None.

insured_commercial_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "7e1fa703-6f48-4f24-9b01-8dd31fe5be6b",
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "2020-10-28T17:08:12.4133516-06:00",
  "ssn": "sample string 5",
  "excluded": true,
  "license_number": "sample string 7",
  "license_state": "sample string 8",
  "license_year": 1,
  "hire_date": "2020-10-28T17:08:12.4133516-06:00",
  "termination_date": "2020-10-28T17:08:12.4133516-06:00",
  "policy_numbers": [
    "sample string 1",
    "sample string 2"
  ],
  "insured_database_id": "bd594548-1095-4ff9-9c2d-52e048c25b1e",
  "insured_email": "sample string 9",
  "insured_first_name": "sample string 10",
  "insured_last_name": "sample string 11",
  "insured_commercial_name": "sample string 12"
}

application/xml, text/xml

Sample:
<DriverIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <DatabaseId>7e1fa703-6f48-4f24-9b01-8dd31fe5be6b</DatabaseId>
  <DateOfBirth>2020-10-28T17:08:12.4133516-06:00</DateOfBirth>
  <Excluded>true</Excluded>
  <FirstName>sample string 2</FirstName>
  <HireDate>2020-10-28T17:08:12.4133516-06:00</HireDate>
  <InsuredCommercialName>sample string 12</InsuredCommercialName>
  <InsuredDatabaseId>bd594548-1095-4ff9-9c2d-52e048c25b1e</InsuredDatabaseId>
  <InsuredEmail>sample string 9</InsuredEmail>
  <InsuredFirstName>sample string 10</InsuredFirstName>
  <InsuredLastName>sample string 11</InsuredLastName>
  <LastName>sample string 4</LastName>
  <LicenseNumber>sample string 7</LicenseNumber>
  <LicenseState>sample string 8</LicenseState>
  <LicenseYear>1</LicenseYear>
  <MiddleName>sample string 3</MiddleName>
  <PolicyNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PolicyNumbers>
  <SSN>sample string 5</SSN>
  <TerminationDate>2020-10-28T17:08:12.4133516-06:00</TerminationDate>
</DriverIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "95dd8bf4-8dda-4ed5-98d1-7ab59cffff32",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>95dd8bf4-8dda-4ed5-98d1-7ab59cffff32</DatabaseId>
</NowCertsApiResultWithDatabaseId>