POST api/Affiliate/CreateOrUpdateTask
Request Information
URI Parameters
None.
Body Parameters
Task| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| AffiliateId | globally unique identifier |
None. |
|
| AssignedToId | Collection of globally unique identifier |
None. |
|
| TeamId | Collection of globally unique identifier |
None. |
|
| ClaimId | globally unique identifier |
None. |
|
| ComplaintId | globally unique identifier |
None. |
|
| Completed | boolean |
None. |
|
| CompletedOn | date |
None. |
|
| ContactId | globally unique identifier |
None. |
|
| DateCompleted | date |
None. |
|
| Description | string |
None. |
|
| DueDate | date |
None. |
|
| InProgress | boolean |
None. |
|
| TaskTypeId | globally unique identifier |
None. |
|
| PriorityId | globally unique identifier |
None. |
|
| Reminder | boolean |
None. |
|
| ReminderIntervalId | globally unique identifier |
None. |
|
| PolicyId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "6c92f6ae-3750-4772-b7f1-22f78a6bb40e",
"AffiliateId": "4c04f8cf-752a-4285-b04d-2127ae61bf2d",
"AssignedToId": [
"8abf3621-6b12-444a-b1b2-834e20030813",
"382d5de6-ba93-40d0-bba5-e39ea85e53e2"
],
"TeamId": [
"e60c3eb7-678a-426f-aff7-40be0512194b",
"7bc15d26-abf7-4a5f-952a-7f3de5515f94"
],
"ClaimId": "2eced284-0c67-467e-8000-ab756742ceff",
"ComplaintId": "1e480aef-26fa-407f-9816-37271fbb4c15",
"Completed": true,
"CompletedOn": "2026-08-15T10:50:04.2191764+01:00",
"ContactId": "1a134c99-c563-4451-ba8d-618cf8091eba",
"DateCompleted": "2026-08-15T10:50:04.2191764+01:00",
"Description": "sample string 1",
"DueDate": "2026-08-15T10:50:04.2191764+01:00",
"InProgress": true,
"TaskTypeId": "e1036768-3698-4ad2-b034-7e27b7d5bbff",
"PriorityId": "36a197de-6f07-4481-9a3b-6f9711adc347",
"Reminder": true,
"ReminderIntervalId": "8ad2a0d3-38e9-4f84-bfaf-271c3191ce70",
"PolicyId": "0edae256-925a-4599-8598-92adfe4315a2"
}
application/xml, text/xml
Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<AffiliateId>4c04f8cf-752a-4285-b04d-2127ae61bf2d</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>8abf3621-6b12-444a-b1b2-834e20030813</d2p1:guid>
<d2p1:guid>382d5de6-ba93-40d0-bba5-e39ea85e53e2</d2p1:guid>
</AssignedToId>
<ClaimId>2eced284-0c67-467e-8000-ab756742ceff</ClaimId>
<ComplaintId>1e480aef-26fa-407f-9816-37271fbb4c15</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-08-15T10:50:04.2191764+01:00</CompletedOn>
<ContactId>1a134c99-c563-4451-ba8d-618cf8091eba</ContactId>
<DateCompleted>2026-08-15T10:50:04.2191764+01:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-08-15T10:50:04.2191764+01:00</DueDate>
<Id>6c92f6ae-3750-4772-b7f1-22f78a6bb40e</Id>
<InProgress>true</InProgress>
<PolicyId>0edae256-925a-4599-8598-92adfe4315a2</PolicyId>
<PriorityId>36a197de-6f07-4481-9a3b-6f9711adc347</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>8ad2a0d3-38e9-4f84-bfaf-271c3191ce70</ReminderIntervalId>
<TaskTypeId>e1036768-3698-4ad2-b034-7e27b7d5bbff</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>e60c3eb7-678a-426f-aff7-40be0512194b</d2p1:guid>
<d2p1:guid>7bc15d26-abf7-4a5f-952a-7f3de5515f94</d2p1:guid>
</TeamId>
</Task>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Task| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| AffiliateId | globally unique identifier |
None. |
|
| AssignedToId | Collection of globally unique identifier |
None. |
|
| TeamId | Collection of globally unique identifier |
None. |
|
| ClaimId | globally unique identifier |
None. |
|
| ComplaintId | globally unique identifier |
None. |
|
| Completed | boolean |
None. |
|
| CompletedOn | date |
None. |
|
| ContactId | globally unique identifier |
None. |
|
| DateCompleted | date |
None. |
|
| Description | string |
None. |
|
| DueDate | date |
None. |
|
| InProgress | boolean |
None. |
|
| TaskTypeId | globally unique identifier |
None. |
|
| PriorityId | globally unique identifier |
None. |
|
| Reminder | boolean |
None. |
|
| ReminderIntervalId | globally unique identifier |
None. |
|
| PolicyId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "e64c218c-efa2-4bf0-bb93-73b104a9a653",
"AffiliateId": "60197017-677b-4b1e-9820-a138de0481f1",
"AssignedToId": [
"f0cb6fe9-5ad8-4a5b-809a-0c29f2e27b47",
"922402b9-0ff9-408d-9c10-f4dc962e73b7"
],
"TeamId": [
"4a8dd9d0-09a3-4b37-bad1-258c60f2b479",
"7f1b3abf-806b-4b8b-aa49-f46fe8fc5118"
],
"ClaimId": "d89eff3c-de41-4a57-8d9c-8a34d05aa23c",
"ComplaintId": "c558dd05-03dd-476e-999f-0d971d4f4f37",
"Completed": true,
"CompletedOn": "2026-08-15T10:50:04.2347814+01:00",
"ContactId": "8c50a478-4431-4ae5-a3b3-daacf2019e57",
"DateCompleted": "2026-08-15T10:50:04.2347814+01:00",
"Description": "sample string 1",
"DueDate": "2026-08-15T10:50:04.2347814+01:00",
"InProgress": true,
"TaskTypeId": "1297fd1a-0772-4611-ab75-6c93a3f18f58",
"PriorityId": "158dcf45-cd64-47c2-aee4-13c187f9f2b9",
"Reminder": true,
"ReminderIntervalId": "5d647b19-2567-43b7-a67b-aef18f821534",
"PolicyId": "452ae4b4-7007-48e6-8c56-293c810fe9b9"
}
application/xml, text/xml
Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<AffiliateId>60197017-677b-4b1e-9820-a138de0481f1</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>f0cb6fe9-5ad8-4a5b-809a-0c29f2e27b47</d2p1:guid>
<d2p1:guid>922402b9-0ff9-408d-9c10-f4dc962e73b7</d2p1:guid>
</AssignedToId>
<ClaimId>d89eff3c-de41-4a57-8d9c-8a34d05aa23c</ClaimId>
<ComplaintId>c558dd05-03dd-476e-999f-0d971d4f4f37</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-08-15T10:50:04.2347814+01:00</CompletedOn>
<ContactId>8c50a478-4431-4ae5-a3b3-daacf2019e57</ContactId>
<DateCompleted>2026-08-15T10:50:04.2347814+01:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-08-15T10:50:04.2347814+01:00</DueDate>
<Id>e64c218c-efa2-4bf0-bb93-73b104a9a653</Id>
<InProgress>true</InProgress>
<PolicyId>452ae4b4-7007-48e6-8c56-293c810fe9b9</PolicyId>
<PriorityId>158dcf45-cd64-47c2-aee4-13c187f9f2b9</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>5d647b19-2567-43b7-a67b-aef18f821534</ReminderIntervalId>
<TaskTypeId>1297fd1a-0772-4611-ab75-6c93a3f18f58</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>4a8dd9d0-09a3-4b37-bad1-258c60f2b479</d2p1:guid>
<d2p1:guid>7f1b3abf-806b-4b8b-aa49-f46fe8fc5118</d2p1:guid>
</TeamId>
</Task>