GET api/Zapier/GetServiceRequestsAddDriver

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceRequestsAddDriverModel
NameDescriptionTypeAdditional information
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_add": "sample string 1",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "ff4ed651-b398-4ea2-b779-1d19d4a25a45",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  },
  {
    "driver_name_to_add": "sample string 1",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "ff4ed651-b398-4ea2-b779-1d19d4a25a45",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceRequestsAddDriverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <ServiceRequestsAddDriverModel>
    <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>5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b</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>5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b</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">ff4ed651-b398-4ea2-b779-1d19d4a25a45</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>
    <DriverNameToAdd>sample string 1</DriverNameToAdd>
  </ServiceRequestsAddDriverModel>
  <ServiceRequestsAddDriverModel>
    <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>5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b</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>5d770bd5-af96-4d0c-bab3-eb6a3e21ab6b</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">ff4ed651-b398-4ea2-b779-1d19d4a25a45</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>
    <DriverNameToAdd>sample string 1</DriverNameToAdd>
  </ServiceRequestsAddDriverModel>
</ArrayOfServiceRequestsAddDriverModel>