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": "9e0650bc-8960-4e7f-9b36-31bb6bcb4ea3", "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": "ffe4f818-0473-4642-b288-6ec8d518c918", "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": "49d50c8d-ec7e-443f-99a2-3560fc99e57f", "opportunity_database_id": "bdafe489-7c1a-4da3-94b5-2208972c85ae", "creatorName": "sample string 16", "perStageStatusRecord": [ { "databaseId": "56b463f5-4983-446f-8992-e6b339b97e59", "name": "sample string 2", "status": "sample string 3" }, { "databaseId": "56b463f5-4983-446f-8992-e6b339b97e59", "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>9e0650bc-8960-4e7f-9b36-31bb6bcb4ea3</DatabaseId> <Description>sample string 3</Description> <DueDate>sample string 8</DueDate> <InsuredCommercialName>sample string 14</InsuredCommercialName> <InsuredDatabaseId>ffe4f818-0473-4642-b288-6ec8d518c918</InsuredDatabaseId> <InsuredEmail>sample string 11</InsuredEmail> <InsuredFirstName>sample string 12</InsuredFirstName> <InsuredLastName>sample string 13</InsuredLastName> <OpportunityDatabaseId>bdafe489-7c1a-4da3-94b5-2208972c85ae</OpportunityDatabaseId> <PerStageStatusRecord> <PerStageStatusRecord> <DatabaseId>56b463f5-4983-446f-8992-e6b339b97e59</DatabaseId> <Name>sample string 2</Name> <Status>sample string 3</Status> </PerStageStatusRecord> <PerStageStatusRecord> <DatabaseId>56b463f5-4983-446f-8992-e6b339b97e59</DatabaseId> <Name>sample string 2</Name> <Status>sample string 3</Status> </PerStageStatusRecord> </PerStageStatusRecord> <PolicyDatabaseId>49d50c8d-ec7e-443f-99a2-3560fc99e57f</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>