POST api/Driver/BulkInsertDriver

Request Information

URI Parameters

None.

Body Parameters

Collection of 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": "7fde5a31-133e-447e-8824-1975c1599d97",
    "first_name": "sample string 2",
    "middle_name": "sample string 3",
    "last_name": "sample string 4",
    "date_of_birth": "2020-10-28T17:31:42.5439254-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:31:42.5439254-06:00",
    "termination_date": "2020-10-28T17:31:42.5439254-06:00",
    "policy_numbers": [
      "sample string 1",
      "sample string 2"
    ],
    "insured_database_id": "ee985c24-c8d2-4abc-9b04-2c8213d70399",
    "insured_email": "sample string 9",
    "insured_first_name": "sample string 10",
    "insured_last_name": "sample string 11",
    "insured_commercial_name": "sample string 12"
  },
  {
    "database_id": "7fde5a31-133e-447e-8824-1975c1599d97",
    "first_name": "sample string 2",
    "middle_name": "sample string 3",
    "last_name": "sample string 4",
    "date_of_birth": "2020-10-28T17:31:42.5439254-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:31:42.5439254-06:00",
    "termination_date": "2020-10-28T17:31:42.5439254-06:00",
    "policy_numbers": [
      "sample string 1",
      "sample string 2"
    ],
    "insured_database_id": "ee985c24-c8d2-4abc-9b04-2c8213d70399",
    "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:
<ArrayOfDriverIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <DriverIntegrationModel>
    <DatabaseId>7fde5a31-133e-447e-8824-1975c1599d97</DatabaseId>
    <DateOfBirth>2020-10-28T17:31:42.5439254-06:00</DateOfBirth>
    <Excluded>true</Excluded>
    <FirstName>sample string 2</FirstName>
    <HireDate>2020-10-28T17:31:42.5439254-06:00</HireDate>
    <InsuredCommercialName>sample string 12</InsuredCommercialName>
    <InsuredDatabaseId>ee985c24-c8d2-4abc-9b04-2c8213d70399</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PolicyNumbers>
    <SSN>sample string 5</SSN>
    <TerminationDate>2020-10-28T17:31:42.5439254-06:00</TerminationDate>
  </DriverIntegrationModel>
  <DriverIntegrationModel>
    <DatabaseId>7fde5a31-133e-447e-8824-1975c1599d97</DatabaseId>
    <DateOfBirth>2020-10-28T17:31:42.5439254-06:00</DateOfBirth>
    <Excluded>true</Excluded>
    <FirstName>sample string 2</FirstName>
    <HireDate>2020-10-28T17:31:42.5439254-06:00</HireDate>
    <InsuredCommercialName>sample string 12</InsuredCommercialName>
    <InsuredDatabaseId>ee985c24-c8d2-4abc-9b04-2c8213d70399</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PolicyNumbers>
    <SSN>sample string 5</SSN>
    <TerminationDate>2020-10-28T17:31:42.5439254-06:00</TerminationDate>
  </DriverIntegrationModel>
</ArrayOfDriverIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of NowCertsApiResultWithInsuredAndDatabaseId
NameDescriptionTypeAdditional information
InsuredDatabaseId

globally unique identifier

None.

DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "insuredDatabaseId": "0bac0963-4836-4348-9626-0e019413d8c0",
    "databaseId": "5c241f73-7f3b-4c97-a305-cb2dfd8f99ab",
    "status": 0,
    "message": "sample string 3"
  },
  {
    "insuredDatabaseId": "0bac0963-4836-4348-9626-0e019413d8c0",
    "databaseId": "5c241f73-7f3b-4c97-a305-cb2dfd8f99ab",
    "status": 0,
    "message": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNowCertsApiResultWithInsuredAndDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <NowCertsApiResultWithInsuredAndDatabaseId>
    <Message>sample string 3</Message>
    <Status>Error</Status>
    <DatabaseId>5c241f73-7f3b-4c97-a305-cb2dfd8f99ab</DatabaseId>
    <InsuredDatabaseId>0bac0963-4836-4348-9626-0e019413d8c0</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
  <NowCertsApiResultWithInsuredAndDatabaseId>
    <Message>sample string 3</Message>
    <Status>Error</Status>
    <DatabaseId>5c241f73-7f3b-4c97-a305-cb2dfd8f99ab</DatabaseId>
    <InsuredDatabaseId>0bac0963-4836-4348-9626-0e019413d8c0</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
</ArrayOfNowCertsApiResultWithInsuredAndDatabaseId>