POST api/Zapier/InsertServiceRequestsReplaceDriver
Insert service request replace driver.
Request Information
URI Parameters
None.
Body Parameters
ServiceRequestsReplaceDriverModel| Name | Description | Type | Additional information |
|---|---|---|---|
| driver_name_to_remove | string |
Required |
|
| driver_name_to_add | string |
None. |
|
| due_date | string |
None. |
|
| description | string |
None. |
|
| status | string |
None. |
|
| insured_id | globally unique identifier |
None. |
|
| insured_name | string |
None. |
|
| insured_email | string |
None. |
|
| insured_phone | string |
None. |
|
| policy_number | string |
None. |
|
| stage | string |
None. |
|
| custom_type | string |
None. |
|
| request_database_id | globally unique identifier |
None. |
|
| policy_database_id | Collection of globally unique identifier |
None. |
|
| agent_database_id | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"driver_name_to_remove": "sample string 1",
"driver_name_to_add": "sample string 2",
"due_date": "sample string 3",
"description": "sample string 4",
"status": "sample string 5",
"insured_id": "6eb3a419-4bcc-44b2-81c7-44cd6e4bb82d",
"insured_name": "sample string 6",
"insured_email": "sample string 7",
"insured_phone": "sample string 8",
"policy_number": "sample string 9",
"stage": "sample string 10",
"custom_type": "sample string 11",
"request_database_id": "d5498261-02b6-49a3-8128-d5fafce15ed5",
"policy_database_id": [
"dcbba161-fff0-4e61-aead-761e3068a2fe",
"833c16a1-87b3-44f3-9dc8-08c66637af08"
],
"agent_database_id": [
"4df738e3-69ab-417f-9f37-1c70f5472c80",
"0245d71e-6238-45ad-821e-73697ee68e74"
]
}
application/xml, text/xml
Sample:
<ServiceRequestsReplaceDriverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
<AgentDatabaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">
<d2p1:guid>4df738e3-69ab-417f-9f37-1c70f5472c80</d2p1:guid>
<d2p1:guid>0245d71e-6238-45ad-821e-73697ee68e74</d2p1:guid>
</AgentDatabaseId>
<CustomType xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 11</CustomType>
<Description xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 4</Description>
<InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 7</InsuredEmail>
<InsuredId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">6eb3a419-4bcc-44b2-81c7-44cd6e4bb82d</InsuredId>
<InsuredName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 6</InsuredName>
<InsuredPhone xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 8</InsuredPhone>
<PolicyDatabaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">
<d2p1:guid>dcbba161-fff0-4e61-aead-761e3068a2fe</d2p1:guid>
<d2p1:guid>833c16a1-87b3-44f3-9dc8-08c66637af08</d2p1:guid>
</PolicyDatabaseId>
<PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 9</PolicyNumber>
<RequestDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">d5498261-02b6-49a3-8128-d5fafce15ed5</RequestDatabaseId>
<Stage xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 10</Stage>
<Status xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 5</Status>
<DriverNameToAdd>sample string 2</DriverNameToAdd>
<DriverNameToRemove>sample string 1</DriverNameToRemove>
<DueDate>sample string 3</DueDate>
</ServiceRequestsReplaceDriverModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithDatabaseId| Name | Description | Type | Additional information |
|---|---|---|---|
| DatabaseId | globally unique identifier |
None. |
|
| Status | ApiStatus |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"databaseId": "163f3b04-9ede-4b04-8c0d-d30672be6e54",
"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>163f3b04-9ede-4b04-8c0d-d30672be6e54</DatabaseId> </NowCertsApiResultWithDatabaseId>