POST api/Zapier/InsertServiceRequestsReplaceDriver

Insert service request replace driver.

Request Information

URI Parameters

None.

Body Parameters

ServiceRequestsReplaceDriverModel
NameDescriptionTypeAdditional 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": "822b7498-eb65-4058-bc26-b9f14462472a",
  "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": "95ece737-d39f-4685-a5b8-d1a281c7a5a8",
  "policy_database_id": [
    "9d150d3c-9ab1-412d-ae79-88e9afd6174c",
    "fd4a793f-86c4-4c9b-876c-edeb6c013973"
  ],
  "agent_database_id": [
    "5884d1c1-58ee-4264-abcf-148ad26cc4ad",
    "2b1e7e07-7e9d-48a5-b9c8-35be75755284"
  ]
}

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>5884d1c1-58ee-4264-abcf-148ad26cc4ad</d2p1:guid>
    <d2p1:guid>2b1e7e07-7e9d-48a5-b9c8-35be75755284</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">822b7498-eb65-4058-bc26-b9f14462472a</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>9d150d3c-9ab1-412d-ae79-88e9afd6174c</d2p1:guid>
    <d2p1:guid>fd4a793f-86c4-4c9b-876c-edeb6c013973</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">95ece737-d39f-4685-a5b8-d1a281c7a5a8</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
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "262bcfb4-a0b2-429e-9e1f-72d104c61b68",
  "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>262bcfb4-a0b2-429e-9e1f-72d104c61b68</DatabaseId>
</NowCertsApiResultWithDatabaseId>