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": "835ccad3-86f1-4556-8783-d750c8dfaef7",
  "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": "99381393-1178-44d2-ac79-e2b9abe37958",
  "policy_database_id": [
    "a32ec087-5132-4aab-8a6f-a359b38613fe",
    "6165544f-b1d7-4a63-a35b-ad52a0048205"
  ],
  "agent_database_id": [
    "3d28afc3-323f-4ec1-9f98-6d086304360d",
    "67adedc2-a544-43fc-b333-05781c60429e"
  ]
}

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>3d28afc3-323f-4ec1-9f98-6d086304360d</d2p1:guid>
    <d2p1:guid>67adedc2-a544-43fc-b333-05781c60429e</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">835ccad3-86f1-4556-8783-d750c8dfaef7</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>a32ec087-5132-4aab-8a6f-a359b38613fe</d2p1:guid>
    <d2p1:guid>6165544f-b1d7-4a63-a35b-ad52a0048205</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">99381393-1178-44d2-ac79-e2b9abe37958</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": "87887354-e3b3-4618-b497-dc7e2c8c2c80",
  "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>87887354-e3b3-4618-b497-dc7e2c8c2c80</DatabaseId>
</NowCertsApiResultWithDatabaseId>