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": "e87845b4-28e1-42ff-955c-c3028c988d59",
"AffiliateId": "aa9b5292-4459-41eb-81cb-47d273925fc8",
"AssignedToId": [
"362ed71e-5568-41a8-ba55-486c33b53ea7",
"f8404aab-8c1b-4c67-8742-29051a7c9eb0"
],
"TeamId": [
"9fd69bf0-6216-4907-b5ea-e2a38b785e58",
"38256cd6-bbde-44a6-b347-b2c45b795c7c"
],
"ClaimId": "23fa1ad3-0baa-40cb-b5d0-d189b9f39747",
"ComplaintId": "c143107b-da84-4d9f-b721-a35344cadd35",
"Completed": true,
"CompletedOn": "2026-02-04T01:04:48.7475021+00:00",
"ContactId": "075e8770-7ad5-4803-98e3-2990d2647fee",
"DateCompleted": "2026-02-04T01:04:48.7475021+00:00",
"Description": "sample string 1",
"DueDate": "2026-02-04T01:04:48.7475021+00:00",
"InProgress": true,
"TaskTypeId": "16aef25f-80c0-4f64-a860-4fd0e8e67bb3",
"PriorityId": "7b4bf9c5-3215-4d42-84ac-c4cae4d27054",
"Reminder": true,
"ReminderIntervalId": "61b741e5-8ae1-402c-a440-3e4e7344a83a",
"PolicyId": "122e396c-efc5-4d88-8123-f032203c8187"
}
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>aa9b5292-4459-41eb-81cb-47d273925fc8</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>362ed71e-5568-41a8-ba55-486c33b53ea7</d2p1:guid>
<d2p1:guid>f8404aab-8c1b-4c67-8742-29051a7c9eb0</d2p1:guid>
</AssignedToId>
<ClaimId>23fa1ad3-0baa-40cb-b5d0-d189b9f39747</ClaimId>
<ComplaintId>c143107b-da84-4d9f-b721-a35344cadd35</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-02-04T01:04:48.7475021+00:00</CompletedOn>
<ContactId>075e8770-7ad5-4803-98e3-2990d2647fee</ContactId>
<DateCompleted>2026-02-04T01:04:48.7475021+00:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-02-04T01:04:48.7475021+00:00</DueDate>
<Id>e87845b4-28e1-42ff-955c-c3028c988d59</Id>
<InProgress>true</InProgress>
<PolicyId>122e396c-efc5-4d88-8123-f032203c8187</PolicyId>
<PriorityId>7b4bf9c5-3215-4d42-84ac-c4cae4d27054</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>61b741e5-8ae1-402c-a440-3e4e7344a83a</ReminderIntervalId>
<TaskTypeId>16aef25f-80c0-4f64-a860-4fd0e8e67bb3</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>9fd69bf0-6216-4907-b5ea-e2a38b785e58</d2p1:guid>
<d2p1:guid>38256cd6-bbde-44a6-b347-b2c45b795c7c</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": "2d906d26-d139-48cc-9ffa-3a4e55d8c33c",
"AffiliateId": "865b0e0d-01e9-4d9c-9a1f-4cebb745758e",
"AssignedToId": [
"28ec1fb9-e3cf-4f8d-8ab4-6dc0b5637d0b",
"5170a64c-486c-4d6c-8ab0-a3a9cbdb8526"
],
"TeamId": [
"db2ea3c7-9522-4373-99ec-5d88b24c5751",
"a2986e7c-3621-4092-8bb5-e67a6075fdc7"
],
"ClaimId": "e11653d4-7dbe-43e5-bacc-53480857396c",
"ComplaintId": "8c5a5292-12a0-489c-83c6-1f700a9f24b3",
"Completed": true,
"CompletedOn": "2026-02-04T01:04:48.7631573+00:00",
"ContactId": "0306d5bf-eb24-4845-a276-a268164e005c",
"DateCompleted": "2026-02-04T01:04:48.7631573+00:00",
"Description": "sample string 1",
"DueDate": "2026-02-04T01:04:48.7631573+00:00",
"InProgress": true,
"TaskTypeId": "cf454e93-8d95-412a-bcb8-3555fbb4c207",
"PriorityId": "9860d996-0509-4767-8560-965a672ed7f6",
"Reminder": true,
"ReminderIntervalId": "44bf1abc-3a1c-4db1-9fd2-8bffbae1bb81",
"PolicyId": "8538e8b9-fd3a-4e0d-9d9e-2aa9912e603f"
}
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>865b0e0d-01e9-4d9c-9a1f-4cebb745758e</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>28ec1fb9-e3cf-4f8d-8ab4-6dc0b5637d0b</d2p1:guid>
<d2p1:guid>5170a64c-486c-4d6c-8ab0-a3a9cbdb8526</d2p1:guid>
</AssignedToId>
<ClaimId>e11653d4-7dbe-43e5-bacc-53480857396c</ClaimId>
<ComplaintId>8c5a5292-12a0-489c-83c6-1f700a9f24b3</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-02-04T01:04:48.7631573+00:00</CompletedOn>
<ContactId>0306d5bf-eb24-4845-a276-a268164e005c</ContactId>
<DateCompleted>2026-02-04T01:04:48.7631573+00:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-02-04T01:04:48.7631573+00:00</DueDate>
<Id>2d906d26-d139-48cc-9ffa-3a4e55d8c33c</Id>
<InProgress>true</InProgress>
<PolicyId>8538e8b9-fd3a-4e0d-9d9e-2aa9912e603f</PolicyId>
<PriorityId>9860d996-0509-4767-8560-965a672ed7f6</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>44bf1abc-3a1c-4db1-9fd2-8bffbae1bb81</ReminderIntervalId>
<TaskTypeId>cf454e93-8d95-412a-bcb8-3555fbb4c207</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>db2ea3c7-9522-4373-99ec-5d88b24c5751</d2p1:guid>
<d2p1:guid>a2986e7c-3621-4092-8bb5-e67a6075fdc7</d2p1:guid>
</TeamId>
</Task>