GET api/Zapier/GetServiceRequestsRemoveDriver

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceRequestsRemoveDriverModel
NameDescriptionTypeAdditional information
driver_name_to_remove

string

Required

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",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "8a08bf38-24d3-4dd8-9981-c6fadc0fb31a",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "e4b6575d-5584-473b-9c32-0fc1f1abfff9",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "e4b6575d-5584-473b-9c32-0fc1f1abfff9",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  },
  {
    "driver_name_to_remove": "sample string 1",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "8a08bf38-24d3-4dd8-9981-c6fadc0fb31a",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "e4b6575d-5584-473b-9c32-0fc1f1abfff9",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "e4b6575d-5584-473b-9c32-0fc1f1abfff9",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceRequestsRemoveDriverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <ServiceRequestsRemoveDriverModel>
    <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>e4b6575d-5584-473b-9c32-0fc1f1abfff9</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>e4b6575d-5584-473b-9c32-0fc1f1abfff9</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 2</Description>
    <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 5</InsuredEmail>
    <InsuredId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">8a08bf38-24d3-4dd8-9981-c6fadc0fb31a</InsuredId>
    <InsuredName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 4</InsuredName>
    <InsuredPhone xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 6</InsuredPhone>
    <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 7</PolicyNumber>
    <Status xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 3</Status>
    <DriverNameToRemove>sample string 1</DriverNameToRemove>
  </ServiceRequestsRemoveDriverModel>
  <ServiceRequestsRemoveDriverModel>
    <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>e4b6575d-5584-473b-9c32-0fc1f1abfff9</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>e4b6575d-5584-473b-9c32-0fc1f1abfff9</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 2</Description>
    <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 5</InsuredEmail>
    <InsuredId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">8a08bf38-24d3-4dd8-9981-c6fadc0fb31a</InsuredId>
    <InsuredName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 4</InsuredName>
    <InsuredPhone xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 6</InsuredPhone>
    <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 7</PolicyNumber>
    <Status xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">sample string 3</Status>
    <DriverNameToRemove>sample string 1</DriverNameToRemove>
  </ServiceRequestsRemoveDriverModel>
</ArrayOfServiceRequestsRemoveDriverModel>