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": "1aa7f341-f24d-4166-87b3-b86d809a6bc2",
"AffiliateId": "195ca6de-e68b-493e-a3e0-6e0c225cdf0f",
"AssignedToId": [
"c328b9a9-3aaa-468c-b2be-7da591854e94",
"f937036d-bb43-497f-bd79-7da1d372b425"
],
"TeamId": [
"723423dc-77ed-4534-8f12-99a2be7ed38a",
"327bc36d-1a36-46a6-a44a-e877afd8f002"
],
"ClaimId": "6dbd5ffc-08f9-47b9-a4b2-d33ee9f897d3",
"ComplaintId": "41a30fff-bc39-45cd-ab5f-37c7e1dabd58",
"Completed": true,
"CompletedOn": "2026-06-24T20:24:55.6423463+01:00",
"ContactId": "49ae14c7-342a-4ca9-a2b2-abf4a5ac1eb5",
"DateCompleted": "2026-06-24T20:24:55.6423463+01:00",
"Description": "sample string 1",
"DueDate": "2026-06-24T20:24:55.6423463+01:00",
"InProgress": true,
"TaskTypeId": "9d1d730f-2d61-48bf-a14e-530364c708a9",
"PriorityId": "43302abc-115a-4c47-9784-c6440271775f",
"Reminder": true,
"ReminderIntervalId": "85d32d3a-24f6-4ea9-a465-51dafdb633a2",
"PolicyId": "3f69c7b6-02f8-4bd6-995f-23b0d34519ed"
}
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>195ca6de-e68b-493e-a3e0-6e0c225cdf0f</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>c328b9a9-3aaa-468c-b2be-7da591854e94</d2p1:guid>
<d2p1:guid>f937036d-bb43-497f-bd79-7da1d372b425</d2p1:guid>
</AssignedToId>
<ClaimId>6dbd5ffc-08f9-47b9-a4b2-d33ee9f897d3</ClaimId>
<ComplaintId>41a30fff-bc39-45cd-ab5f-37c7e1dabd58</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-06-24T20:24:55.6423463+01:00</CompletedOn>
<ContactId>49ae14c7-342a-4ca9-a2b2-abf4a5ac1eb5</ContactId>
<DateCompleted>2026-06-24T20:24:55.6423463+01:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-06-24T20:24:55.6423463+01:00</DueDate>
<Id>1aa7f341-f24d-4166-87b3-b86d809a6bc2</Id>
<InProgress>true</InProgress>
<PolicyId>3f69c7b6-02f8-4bd6-995f-23b0d34519ed</PolicyId>
<PriorityId>43302abc-115a-4c47-9784-c6440271775f</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>85d32d3a-24f6-4ea9-a465-51dafdb633a2</ReminderIntervalId>
<TaskTypeId>9d1d730f-2d61-48bf-a14e-530364c708a9</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>723423dc-77ed-4534-8f12-99a2be7ed38a</d2p1:guid>
<d2p1:guid>327bc36d-1a36-46a6-a44a-e877afd8f002</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": "409ccd38-4fbf-414b-8bec-1e237ef8271f",
"AffiliateId": "1217e054-fec5-40d6-9915-baf38e368d1d",
"AssignedToId": [
"3c2a68ef-aefe-46c0-914e-909c4a9a1903",
"e52aa8bb-b0f0-43bd-98dc-b4f8ef7bf7b3"
],
"TeamId": [
"18015867-b387-4ddc-8df3-18e1594a1a37",
"fef52cad-33a7-4a7d-8c5d-10968c15c444"
],
"ClaimId": "8bb0bd1f-a5f6-4368-99be-9f152387b6ad",
"ComplaintId": "f0cef9c9-a86c-4a8c-857e-7070bb64fb54",
"Completed": true,
"CompletedOn": "2026-06-24T20:24:55.6579319+01:00",
"ContactId": "13218ed1-c3ca-4b12-a83a-fb214b6fe84b",
"DateCompleted": "2026-06-24T20:24:55.6579319+01:00",
"Description": "sample string 1",
"DueDate": "2026-06-24T20:24:55.6579319+01:00",
"InProgress": true,
"TaskTypeId": "ea2ee1a4-c1e9-4b8a-bf15-bec203d8bd85",
"PriorityId": "80a35922-ee4e-4749-8789-077ca023680d",
"Reminder": true,
"ReminderIntervalId": "4acbed9f-f881-4931-851b-2e9f8846ec46",
"PolicyId": "b41625e6-a0c6-4e04-bc34-ee74010380db"
}
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>1217e054-fec5-40d6-9915-baf38e368d1d</AffiliateId>
<AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>3c2a68ef-aefe-46c0-914e-909c4a9a1903</d2p1:guid>
<d2p1:guid>e52aa8bb-b0f0-43bd-98dc-b4f8ef7bf7b3</d2p1:guid>
</AssignedToId>
<ClaimId>8bb0bd1f-a5f6-4368-99be-9f152387b6ad</ClaimId>
<ComplaintId>f0cef9c9-a86c-4a8c-857e-7070bb64fb54</ComplaintId>
<Completed>true</Completed>
<CompletedOn>2026-06-24T20:24:55.6579319+01:00</CompletedOn>
<ContactId>13218ed1-c3ca-4b12-a83a-fb214b6fe84b</ContactId>
<DateCompleted>2026-06-24T20:24:55.6579319+01:00</DateCompleted>
<Description>sample string 1</Description>
<DueDate>2026-06-24T20:24:55.6579319+01:00</DueDate>
<Id>409ccd38-4fbf-414b-8bec-1e237ef8271f</Id>
<InProgress>true</InProgress>
<PolicyId>b41625e6-a0c6-4e04-bc34-ee74010380db</PolicyId>
<PriorityId>80a35922-ee4e-4749-8789-077ca023680d</PriorityId>
<Reminder>true</Reminder>
<ReminderIntervalId>4acbed9f-f881-4931-851b-2e9f8846ec46</ReminderIntervalId>
<TaskTypeId>ea2ee1a4-c1e9-4b8a-bf15-bec203d8bd85</TaskTypeId>
<TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>18015867-b387-4ddc-8df3-18e1594a1a37</d2p1:guid>
<d2p1:guid>fef52cad-33a7-4a7d-8c5d-10968c15c444</d2p1:guid>
</TeamId>
</Task>