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": "7f86c01d-b753-482d-b945-440ec3152b08",
"AffiliateId": "10d14253-42c6-4b4c-9400-85b1859c74e2",
"AssignedToId": [
"7b55d108-3786-432c-a97c-5a8c5fa96ed8",
"fefed3d4-c06d-422f-952a-80dbbb73cf7d"
],
"TeamId": [
"e536d28a-4659-40be-b4e3-ad88ffe457a0",
"23f29af3-82c4-405f-8d35-3a4d6f8c99bc"
],
"ClaimId": "81470af4-ae3e-4061-bed6-24da92f88a65",
"ComplaintId": "a42a40e1-3989-48f1-aadb-9ffc255d67e0",
"Completed": true,
"CompletedOn": "2026-03-23T03:36:27.8551306+00:00",
"ContactId": "370b8106-3377-4a73-94e1-9974234fc42d",
"DateCompleted": "2026-03-23T03:36:27.8551306+00:00",
"Description": "sample string 1",
"DueDate": "2026-03-23T03:36:27.8551306+00:00",
"InProgress": true,
"TaskTypeId": "32d187d7-ec00-4988-8374-d04688748ed8",
"PriorityId": "b6ad5359-60fe-47de-9805-b058d8804060",
"Reminder": true,
"ReminderIntervalId": "d5e61586-24d5-4254-a2a5-c34cf4a06a36",
"PolicyId": "b744e33f-9fe6-43e7-babd-ecfbcf6aaf20"
}
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>10d14253-42c6-4b4c-9400-85b1859c74e2</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>7b55d108-3786-432c-a97c-5a8c5fa96ed8</d2p1:guid>
<d2p1:guid>fefed3d4-c06d-422f-952a-80dbbb73cf7d</d2p1:guid>
</AssignedToId>
<ClaimId>81470af4-ae3e-4061-bed6-24da92f88a65</ClaimId>
<ComplaintId>a42a40e1-3989-48f1-aadb-9ffc255d67e0</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-03-23T03:36:27.8551306+00:00</CompletedOn>
<ContactId>370b8106-3377-4a73-94e1-9974234fc42d</ContactId>
<DateCompleted>2026-03-23T03:36:27.8551306+00:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-03-23T03:36:27.8551306+00:00</DueDate>
<Id>7f86c01d-b753-482d-b945-440ec3152b08</Id>
<InProgress>true</InProgress>
<PolicyId>b744e33f-9fe6-43e7-babd-ecfbcf6aaf20</PolicyId>
<PriorityId>b6ad5359-60fe-47de-9805-b058d8804060</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>d5e61586-24d5-4254-a2a5-c34cf4a06a36</ReminderIntervalId>
<TaskTypeId>32d187d7-ec00-4988-8374-d04688748ed8</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>e536d28a-4659-40be-b4e3-ad88ffe457a0</d2p1:guid>
<d2p1:guid>23f29af3-82c4-405f-8d35-3a4d6f8c99bc</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": "a019965b-3bd1-4124-bd62-a1203a40d407",
"AffiliateId": "f74e635c-8f0d-4512-82fe-b33a8cbddd13",
"AssignedToId": [
"3599e99f-a69d-45ce-a4e5-74601fbdb703",
"c4949e91-58e6-41f1-95b9-d49adb5ba9a6"
],
"TeamId": [
"cba5bc50-8dc4-46c1-91f7-c4b7ab0cdf43",
"fc65bdd2-dbd4-47a6-8484-090ef45af1be"
],
"ClaimId": "6f703fa1-7167-497a-93df-4300ed933486",
"ComplaintId": "27c9cdfd-f9f1-4403-a01c-618ae7f17d20",
"Completed": true,
"CompletedOn": "2026-03-23T03:36:27.8707571+00:00",
"ContactId": "20a4c997-6c88-4414-8c43-cedbad95438f",
"DateCompleted": "2026-03-23T03:36:27.8707571+00:00",
"Description": "sample string 1",
"DueDate": "2026-03-23T03:36:27.8707571+00:00",
"InProgress": true,
"TaskTypeId": "cda45eb1-6143-4dd1-bacb-c084c86d93a1",
"PriorityId": "2743046d-b7ed-4876-97e8-6fceb675bcc9",
"Reminder": true,
"ReminderIntervalId": "c90ceec9-2ebc-4d8f-a78c-00cfe0b35363",
"PolicyId": "b588de8a-11c6-4920-b668-3b65428e1376"
}
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>f74e635c-8f0d-4512-82fe-b33a8cbddd13</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>3599e99f-a69d-45ce-a4e5-74601fbdb703</d2p1:guid>
<d2p1:guid>c4949e91-58e6-41f1-95b9-d49adb5ba9a6</d2p1:guid>
</AssignedToId>
<ClaimId>6f703fa1-7167-497a-93df-4300ed933486</ClaimId>
<ComplaintId>27c9cdfd-f9f1-4403-a01c-618ae7f17d20</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-03-23T03:36:27.8707571+00:00</CompletedOn>
<ContactId>20a4c997-6c88-4414-8c43-cedbad95438f</ContactId>
<DateCompleted>2026-03-23T03:36:27.8707571+00:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-03-23T03:36:27.8707571+00:00</DueDate>
<Id>a019965b-3bd1-4124-bd62-a1203a40d407</Id>
<InProgress>true</InProgress>
<PolicyId>b588de8a-11c6-4920-b668-3b65428e1376</PolicyId>
<PriorityId>2743046d-b7ed-4876-97e8-6fceb675bcc9</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>c90ceec9-2ebc-4d8f-a78c-00cfe0b35363</ReminderIntervalId>
<TaskTypeId>cda45eb1-6143-4dd1-bacb-c084c86d93a1</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>cba5bc50-8dc4-46c1-91f7-c4b7ab0cdf43</d2p1:guid>
<d2p1:guid>fc65bdd2-dbd4-47a6-8484-090ef45af1be</d2p1:guid>
</TeamId>
</Task>