POST api/Zapier/InsertTask
Insert/update task.
Request Information
URI Parameters
None.
Body Parameters
TaskIntegrationModelName | Description | Type | Additional 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": "cff5792f-502c-43d8-944a-df163f615256", "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": "3adb063e-507f-420a-8520-04c47485333f", "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": "fc427264-2490-4058-b559-63dc0332a0a8", "opportunity_database_id": "c6895cf6-ff36-44e6-915b-cd7087822852", "creatorName": "sample string 16", "perStageStatusRecord": [ { "databaseId": "58a296a7-1683-4aea-a9db-ac4e1e555bba", "name": "sample string 2", "status": "sample string 3" }, { "databaseId": "58a296a7-1683-4aea-a9db-ac4e1e555bba", "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>cff5792f-502c-43d8-944a-df163f615256</DatabaseId> <Description>sample string 3</Description> <DueDate>sample string 8</DueDate> <InsuredCommercialName>sample string 14</InsuredCommercialName> <InsuredDatabaseId>3adb063e-507f-420a-8520-04c47485333f</InsuredDatabaseId> <InsuredEmail>sample string 11</InsuredEmail> <InsuredFirstName>sample string 12</InsuredFirstName> <InsuredLastName>sample string 13</InsuredLastName> <OpportunityDatabaseId>c6895cf6-ff36-44e6-915b-cd7087822852</OpportunityDatabaseId> <PerStageStatusRecord> <PerStageStatusRecord> <DatabaseId>58a296a7-1683-4aea-a9db-ac4e1e555bba</DatabaseId> <Name>sample string 2</Name> <Status>sample string 3</Status> </PerStageStatusRecord> <PerStageStatusRecord> <DatabaseId>58a296a7-1683-4aea-a9db-ac4e1e555bba</DatabaseId> <Name>sample string 2</Name> <Status>sample string 3</Status> </PerStageStatusRecord> </PerStageStatusRecord> <PolicyDatabaseId>fc427264-2490-4058-b559-63dc0332a0a8</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
NowCertsApiResultName | Description | Type | Additional 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>