POST api/Driver/BulkInsertDriver
Bulk insert/update drivers
Request Information
URI Parameters
None.
Body Parameters
Collection of DriverIntegrationModelName | Description | Type | Additional information |
---|---|---|---|
database_id | globally unique identifier |
None. |
|
first_name | string |
None. |
|
middle_name | string |
None. |
|
last_name | string |
None. |
|
date_of_birth | string |
None. |
|
ssn | string |
None. |
|
excluded | boolean |
None. |
|
license_number | string |
None. |
|
license_state | string |
None. |
|
license_year | integer |
None. |
|
hire_date | string |
None. |
|
termination_date | string |
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. |
|
active | boolean |
None. |
|
marital_status | string |
None. |
|
string |
None. |
||
phone | string |
None. |
|
gender | string |
None. |
|
policies | Collection of string |
None. |
|
policy_database_id | globally unique identifier |
None. |
|
driver_license_class | DriverLicenseClass |
None. |
Request Formats
application/json, text/json
Sample:
[ { "database_id": "c2e74114-3a85-4839-9fb3-6fc72c760957", "first_name": "sample string 2", "middle_name": "sample string 3", "last_name": "sample string 4", "date_of_birth": "sample string 5", "ssn": "sample string 6", "excluded": true, "license_number": "sample string 8", "license_state": "sample string 9", "license_year": 1, "hire_date": "sample string 10", "termination_date": "sample string 11", "policy_numbers": [ "sample string 1", "sample string 2" ], "insured_database_id": "6be617b0-7c6e-463c-b0e7-4f7eb4d159a3", "insured_email": "sample string 12", "insured_first_name": "sample string 13", "insured_last_name": "sample string 14", "insured_commercial_name": "sample string 15", "active": true, "marital_status": "sample string 17", "email": "sample string 18", "phone": "sample string 19", "gender": "sample string 20", "policies": [ "sample string 1", "sample string 2" ], "policy_database_id": "0eee4758-3c0c-4a35-8915-b07d89bb14a0", "driver_license_class": 0 }, { "database_id": "c2e74114-3a85-4839-9fb3-6fc72c760957", "first_name": "sample string 2", "middle_name": "sample string 3", "last_name": "sample string 4", "date_of_birth": "sample string 5", "ssn": "sample string 6", "excluded": true, "license_number": "sample string 8", "license_state": "sample string 9", "license_year": 1, "hire_date": "sample string 10", "termination_date": "sample string 11", "policy_numbers": [ "sample string 1", "sample string 2" ], "insured_database_id": "6be617b0-7c6e-463c-b0e7-4f7eb4d159a3", "insured_email": "sample string 12", "insured_first_name": "sample string 13", "insured_last_name": "sample string 14", "insured_commercial_name": "sample string 15", "active": true, "marital_status": "sample string 17", "email": "sample string 18", "phone": "sample string 19", "gender": "sample string 20", "policies": [ "sample string 1", "sample string 2" ], "policy_database_id": "0eee4758-3c0c-4a35-8915-b07d89bb14a0", "driver_license_class": 0 } ]
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> <Active>true</Active> <DatabaseId>c2e74114-3a85-4839-9fb3-6fc72c760957</DatabaseId> <DateOfBirth>sample string 5</DateOfBirth> <DriverLicenseClass>NoCdl</DriverLicenseClass> <DriverPolicies xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </DriverPolicies> <Email>sample string 18</Email> <Excluded>true</Excluded> <FirstName>sample string 2</FirstName> <Gender>sample string 20</Gender> <HireDate>sample string 10</HireDate> <InsuredCommercialName>sample string 15</InsuredCommercialName> <InsuredDatabaseId>6be617b0-7c6e-463c-b0e7-4f7eb4d159a3</InsuredDatabaseId> <InsuredEmail>sample string 12</InsuredEmail> <InsuredFirstName>sample string 13</InsuredFirstName> <InsuredLastName>sample string 14</InsuredLastName> <LastName>sample string 4</LastName> <LicenseNumber>sample string 8</LicenseNumber> <LicenseState>sample string 9</LicenseState> <LicenseYear>1</LicenseYear> <MaritalStatus>sample string 17</MaritalStatus> <MiddleName>sample string 3</MiddleName> <Phone>sample string 19</Phone> <PolicyDatabaseId>0eee4758-3c0c-4a35-8915-b07d89bb14a0</PolicyDatabaseId> <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 6</SSN> <TerminationDate>sample string 11</TerminationDate> </DriverIntegrationModel> <DriverIntegrationModel> <Active>true</Active> <DatabaseId>c2e74114-3a85-4839-9fb3-6fc72c760957</DatabaseId> <DateOfBirth>sample string 5</DateOfBirth> <DriverLicenseClass>NoCdl</DriverLicenseClass> <DriverPolicies xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </DriverPolicies> <Email>sample string 18</Email> <Excluded>true</Excluded> <FirstName>sample string 2</FirstName> <Gender>sample string 20</Gender> <HireDate>sample string 10</HireDate> <InsuredCommercialName>sample string 15</InsuredCommercialName> <InsuredDatabaseId>6be617b0-7c6e-463c-b0e7-4f7eb4d159a3</InsuredDatabaseId> <InsuredEmail>sample string 12</InsuredEmail> <InsuredFirstName>sample string 13</InsuredFirstName> <InsuredLastName>sample string 14</InsuredLastName> <LastName>sample string 4</LastName> <LicenseNumber>sample string 8</LicenseNumber> <LicenseState>sample string 9</LicenseState> <LicenseYear>1</LicenseYear> <MaritalStatus>sample string 17</MaritalStatus> <MiddleName>sample string 3</MiddleName> <Phone>sample string 19</Phone> <PolicyDatabaseId>0eee4758-3c0c-4a35-8915-b07d89bb14a0</PolicyDatabaseId> <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 6</SSN> <TerminationDate>sample string 11</TerminationDate> </DriverIntegrationModel> </ArrayOfDriverIntegrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NowCertsApiResultWithInsuredAndDatabaseIdName | Description | Type | Additional 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": "28e9bb8f-fe9e-4e42-b5e1-b3c4f6be526b", "databaseId": "fc794a6c-7777-445f-acf5-429d9ffc37c9", "status": 0, "message": "sample string 3" }, { "insuredDatabaseId": "28e9bb8f-fe9e-4e42-b5e1-b3c4f6be526b", "databaseId": "fc794a6c-7777-445f-acf5-429d9ffc37c9", "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>fc794a6c-7777-445f-acf5-429d9ffc37c9</DatabaseId> <InsuredDatabaseId>28e9bb8f-fe9e-4e42-b5e1-b3c4f6be526b</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId> <NowCertsApiResultWithInsuredAndDatabaseId> <Message>sample string 3</Message> <Status>Error</Status> <DatabaseId>fc794a6c-7777-445f-acf5-429d9ffc37c9</DatabaseId> <InsuredDatabaseId>28e9bb8f-fe9e-4e42-b5e1-b3c4f6be526b</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId> </ArrayOfNowCertsApiResultWithInsuredAndDatabaseId>