POST api/Zapier/InsertServiceRequestsGeneric

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "subject": "sample string 1",
  "description": "sample string 2",
  "status": "sample string 3",
  "insured_id": "6788c58d-7939-443c-90bb-8eb684f7ef93",
  "insured_name": "sample string 4",
  "insured_email": "sample string 5",
  "insured_phone": "sample string 6",
  "policy_number": "sample string 7",
  "agents": [
    {
      "databaseId": "5ebbffcd-acf1-433a-bf16-cc108827a39d",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "order": 4
    },
    {
      "databaseId": "5ebbffcd-acf1-433a-bf16-cc108827a39d",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "order": 4
    }
  ]
}

application/xml, text/xml

Sample:
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <Agents xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.OData" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Contracts">
    <d2p1:AgentEdit>
      <d2p1:DatabaseId>5ebbffcd-acf1-433a-bf16-cc108827a39d</d2p1:DatabaseId>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:Order>4</d2p1:Order>
    </d2p1:AgentEdit>
    <d2p1:AgentEdit>
      <d2p1:DatabaseId>5ebbffcd-acf1-433a-bf16-cc108827a39d</d2p1:DatabaseId>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:Order>4</d2p1:Order>
    </d2p1: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">6788c58d-7939-443c-90bb-8eb684f7ef93</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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResult
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResult>