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": "db343709-394d-4153-a550-75f723c282a6",
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "2019-11-17T16:41:51.1118218-06:00",
  "ssn": "sample string 5",
  "excluded": true,
  "license_number": "sample string 7",
  "license_state": "sample string 8",
  "license_year": 1,
  "hire_date": "2019-11-17T16:41:51.1118218-06:00",
  "termination_date": "2019-11-17T16:41:51.1118218-06:00",
  "policy_numbers": [
    "sample string 1",
    "sample string 2"
  ],
  "insured_database_id": "2002d0ef-262c-4a97-be11-b5e281376ad9",
  "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>db343709-394d-4153-a550-75f723c282a6</DatabaseId>
  <DateOfBirth>2019-11-17T16:41:51.1118218-06:00</DateOfBirth>
  <Excluded>true</Excluded>
  <FirstName>sample string 2</FirstName>
  <HireDate>2019-11-17T16:41:51.1118218-06:00</HireDate>
  <InsuredCommercialName>sample string 12</InsuredCommercialName>
  <InsuredDatabaseId>2002d0ef-262c-4a97-be11-b5e281376ad9</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>2019-11-17T16:41:51.1118218-06:00</TerminationDate>
</DriverIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResult
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResult>