POST api/Zapier/UpdateTask

Insert/update task.

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

string

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.

policy_database_id

globally unique identifier

None.

opportunity_database_id

globally unique identifier

None.

CreatorName

string

None.

PerStageStatusRecord

Collection of PerStageStatusRecord

None.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "51b5e479-2c59-43b8-b6f6-5c012dfa5ff8",
  "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": "sample string 8",
  "completion": 64,
  "supervisor_name": "sample string 10",
  "assigned_to": [
    "sample string 1",
    "sample string 2"
  ],
  "insured_database_id": "a0e5c1a9-0d18-4646-aa47-e531a6427856",
  "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",
  "policy_database_id": "95a10ad0-ccb8-43d6-ae76-5b83e117426b",
  "opportunity_database_id": "b19afc27-f16a-429f-b780-82c2ccacdf94",
  "creatorName": "sample string 16",
  "perStageStatusRecord": [
    {
      "databaseId": "a5a57175-f297-4fd4-b898-52cf585b7c15",
      "name": "sample string 2",
      "status": "sample string 3"
    },
    {
      "databaseId": "a5a57175-f297-4fd4-b898-52cf585b7c15",
      "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>51b5e479-2c59-43b8-b6f6-5c012dfa5ff8</DatabaseId>
  <Description>sample string 3</Description>
  <DueDate>sample string 8</DueDate>
  <InsuredCommercialName>sample string 14</InsuredCommercialName>
  <InsuredDatabaseId>a0e5c1a9-0d18-4646-aa47-e531a6427856</InsuredDatabaseId>
  <InsuredEmail>sample string 11</InsuredEmail>
  <InsuredFirstName>sample string 12</InsuredFirstName>
  <InsuredLastName>sample string 13</InsuredLastName>
  <OpportunityDatabaseId>b19afc27-f16a-429f-b780-82c2ccacdf94</OpportunityDatabaseId>
  <PerStageStatusRecord>
    <PerStageStatusRecord>
      <DatabaseId>a5a57175-f297-4fd4-b898-52cf585b7c15</DatabaseId>
      <Name>sample string 2</Name>
      <Status>sample string 3</Status>
    </PerStageStatusRecord>
    <PerStageStatusRecord>
      <DatabaseId>a5a57175-f297-4fd4-b898-52cf585b7c15</DatabaseId>
      <Name>sample string 2</Name>
      <Status>sample string 3</Status>
    </PerStageStatusRecord>
  </PerStageStatusRecord>
  <PolicyDatabaseId>95a10ad0-ccb8-43d6-ae76-5b83e117426b</PolicyDatabaseId>
  <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>