GET api/Zapier/GetServiceRequestsReplaceDriver

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceRequestsReplaceDriverModel
NameDescriptionTypeAdditional information
driver_name_to_remove

string

Required

driver_name_to_add

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.

agents

Collection of AgentEdit

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "driver_name_to_remove": "sample string 1",
    "driver_name_to_add": "sample string 2",
    "description": "sample string 3",
    "status": "sample string 4",
    "insured_id": "bd8abe33-8b98-42f6-a819-7ed0119f6db4",
    "insured_name": "sample string 5",
    "insured_email": "sample string 6",
    "insured_phone": "sample string 7",
    "policy_number": "sample string 8",
    "agents": [
      {
        "databaseId": "09a5dd42-f87a-4005-a7f6-7f1bb718e9bf",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "09a5dd42-f87a-4005-a7f6-7f1bb718e9bf",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  },
  {
    "driver_name_to_remove": "sample string 1",
    "driver_name_to_add": "sample string 2",
    "description": "sample string 3",
    "status": "sample string 4",
    "insured_id": "bd8abe33-8b98-42f6-a819-7ed0119f6db4",
    "insured_name": "sample string 5",
    "insured_email": "sample string 6",
    "insured_phone": "sample string 7",
    "policy_number": "sample string 8",
    "agents": [
      {
        "databaseId": "09a5dd42-f87a-4005-a7f6-7f1bb718e9bf",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "09a5dd42-f87a-4005-a7f6-7f1bb718e9bf",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceRequestsReplaceDriverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <ServiceRequestsReplaceDriverModel>
    <Agents xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.OData" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">
      <d3p1:AgentEdit>
        <d3p1:DatabaseId>09a5dd42-f87a-4005-a7f6-7f1bb718e9bf</d3p1:DatabaseId>
        <d3p1:FirstName>sample string 2</d3p1:FirstName>
        <d3p1:LastName>sample string 3</d3p1:LastName>
        <d3p1:Order>4</d3p1:Order>
      </d3p1:AgentEdit>
      <d3p1:AgentEdit>
        <d3p1:DatabaseId>09a5dd42-f87a-4005-a7f6-7f1bb718e9bf</d3p1:DatabaseId>
        <d3p1:FirstName>sample string 2</d3p1:FirstName>
        <d3p1:LastName>sample string 3</d3p1:LastName>
        <d3p1:Order>4</d3p1:Order>
      </d3p1:AgentEdit>
    </Agents>
    <Description xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 3</Description>
    <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 6</InsuredEmail>
    <InsuredId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">bd8abe33-8b98-42f6-a819-7ed0119f6db4</InsuredId>
    <InsuredName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 5</InsuredName>
    <InsuredPhone xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 7</InsuredPhone>
    <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 8</PolicyNumber>
    <Status xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 4</Status>
    <DriverNameToAdd>sample string 2</DriverNameToAdd>
    <DriverNameToRemove>sample string 1</DriverNameToRemove>
  </ServiceRequestsReplaceDriverModel>
  <ServiceRequestsReplaceDriverModel>
    <Agents xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.OData" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">
      <d3p1:AgentEdit>
        <d3p1:DatabaseId>09a5dd42-f87a-4005-a7f6-7f1bb718e9bf</d3p1:DatabaseId>
        <d3p1:FirstName>sample string 2</d3p1:FirstName>
        <d3p1:LastName>sample string 3</d3p1:LastName>
        <d3p1:Order>4</d3p1:Order>
      </d3p1:AgentEdit>
      <d3p1:AgentEdit>
        <d3p1:DatabaseId>09a5dd42-f87a-4005-a7f6-7f1bb718e9bf</d3p1:DatabaseId>
        <d3p1:FirstName>sample string 2</d3p1:FirstName>
        <d3p1:LastName>sample string 3</d3p1:LastName>
        <d3p1:Order>4</d3p1:Order>
      </d3p1:AgentEdit>
    </Agents>
    <Description xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 3</Description>
    <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 6</InsuredEmail>
    <InsuredId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">bd8abe33-8b98-42f6-a819-7ed0119f6db4</InsuredId>
    <InsuredName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 5</InsuredName>
    <InsuredPhone xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 7</InsuredPhone>
    <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 8</PolicyNumber>
    <Status xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 4</Status>
    <DriverNameToAdd>sample string 2</DriverNameToAdd>
    <DriverNameToRemove>sample string 1</DriverNameToRemove>
  </ServiceRequestsReplaceDriverModel>
</ArrayOfServiceRequestsReplaceDriverModel>