POST api/Zapier/InsertTask

Request Information

URI Parameters

None.

Body Parameters

TaskIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

title

string

Required

description

string

None.

category_name

string

None.

stage_name

string

None.

status

string

Required

priority

string

Required

due_date

date

Required

completion

byte

None.

supervisor_name

string

None.

assigned_to

Collection of string

None.

insured_database_id

globally unique identifier

None.

insured_email

string

None.

insured_first_name

string

None.

insured_last_name

string

None.

insured_commercial_name

string

None.

policy_number

string

None.

CreatorName

string

None.

PerStageStatusRecord

Collection of PerStageStatusRecord

None.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "a3627ff6-1240-4a3a-a5e1-0c4782acad7a",
  "title": "sample string 2",
  "description": "sample string 3",
  "category_name": "sample string 4",
  "stage_name": "sample string 5",
  "status": "sample string 6",
  "priority": "sample string 7",
  "due_date": "2021-08-03T04:41:53.6415679-05:00",
  "completion": 64,
  "supervisor_name": "sample string 10",
  "assigned_to": [
    "sample string 1",
    "sample string 2"
  ],
  "insured_database_id": "b70b13c7-964d-493a-a915-5081d5d23cbf",
  "insured_email": "sample string 11",
  "insured_first_name": "sample string 12",
  "insured_last_name": "sample string 13",
  "insured_commercial_name": "sample string 14",
  "policy_number": "sample string 15",
  "creatorName": "sample string 16",
  "perStageStatusRecord": [
    {
      "databaseId": "99733387-fa85-4ea6-90e7-31747186b177",
      "name": "sample string 2",
      "status": "sample string 3"
    },
    {
      "databaseId": "99733387-fa85-4ea6-90e7-31747186b177",
      "name": "sample string 2",
      "status": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<TaskIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations">
  <AssignedTo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AssignedTo>
  <CategoryName>sample string 4</CategoryName>
  <Completion>64</Completion>
  <CreatorName>sample string 16</CreatorName>
  <DatabaseId>a3627ff6-1240-4a3a-a5e1-0c4782acad7a</DatabaseId>
  <Description>sample string 3</Description>
  <DueDate>2021-08-03T04:41:53.6415679-05:00</DueDate>
  <InsuredCommercialName>sample string 14</InsuredCommercialName>
  <InsuredDatabaseId>b70b13c7-964d-493a-a915-5081d5d23cbf</InsuredDatabaseId>
  <InsuredEmail>sample string 11</InsuredEmail>
  <InsuredFirstName>sample string 12</InsuredFirstName>
  <InsuredLastName>sample string 13</InsuredLastName>
  <PerStageStatusRecord>
    <PerStageStatusRecord>
      <DatabaseId>99733387-fa85-4ea6-90e7-31747186b177</DatabaseId>
      <Name>sample string 2</Name>
      <Status>sample string 3</Status>
    </PerStageStatusRecord>
    <PerStageStatusRecord>
      <DatabaseId>99733387-fa85-4ea6-90e7-31747186b177</DatabaseId>
      <Name>sample string 2</Name>
      <Status>sample string 3</Status>
    </PerStageStatusRecord>
  </PerStageStatusRecord>
  <PolicyNumber>sample string 15</PolicyNumber>
  <Priority>sample string 7</Priority>
  <StageName>sample string 5</StageName>
  <Status>sample string 6</Status>
  <SupervisorName>sample string 10</SupervisorName>
  <Title>sample string 2</Title>
</TaskIntegrationModel>

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>