GET api/Zapier/GetServiceRequestsGeneric

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RequestModel
NameDescriptionTypeAdditional information
subject

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:
[
  {
    "subject": "sample string 1",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "c3302dba-0514-43e9-bd11-69ed63b81635",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "9240c4c6-c7c6-4dcf-8d13-d7e934c49359",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "9240c4c6-c7c6-4dcf-8d13-d7e934c49359",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  },
  {
    "subject": "sample string 1",
    "description": "sample string 2",
    "status": "sample string 3",
    "insured_id": "c3302dba-0514-43e9-bd11-69ed63b81635",
    "insured_name": "sample string 4",
    "insured_email": "sample string 5",
    "insured_phone": "sample string 6",
    "policy_number": "sample string 7",
    "agents": [
      {
        "databaseId": "9240c4c6-c7c6-4dcf-8d13-d7e934c49359",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      },
      {
        "databaseId": "9240c4c6-c7c6-4dcf-8d13-d7e934c49359",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "order": 4
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <RequestModel>
    <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>9240c4c6-c7c6-4dcf-8d13-d7e934c49359</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>9240c4c6-c7c6-4dcf-8d13-d7e934c49359</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">c3302dba-0514-43e9-bd11-69ed63b81635</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>
    <Subject>sample string 1</Subject>
  </RequestModel>
  <RequestModel>
    <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>9240c4c6-c7c6-4dcf-8d13-d7e934c49359</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>9240c4c6-c7c6-4dcf-8d13-d7e934c49359</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">c3302dba-0514-43e9-bd11-69ed63b81635</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>
    <Subject>sample string 1</Subject>
  </RequestModel>
</ArrayOfRequestModel>