POST api/Affiliate/CreateOrUpdateTask
Request Information
URI Parameters
None.
Body Parameters
TaskName | 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": "e4a585eb-fafe-4fd0-80a0-a2017ef03f73", "AffiliateId": "dff95577-6200-4ecc-916f-0b2e13390b88", "AssignedToId": [ "dd07b873-4dd9-43eb-a881-a39c931457fe", "a9898587-bda7-4c9d-9fd0-b42a501413bd" ], "TeamId": [ "6df84ebc-2029-4806-8cab-4bb4144349ed", "14790747-8a7b-45ac-ae09-ae0f09ba17d7" ], "ClaimId": "8a74163d-b7e1-4c9d-bed2-5e58589460a0", "ComplaintId": "d54c1f32-a5c4-4dde-8e82-7727fa235096", "Completed": true, "CompletedOn": "2025-07-07T15:20:02.9700314+01:00", "ContactId": "d33c22f5-ebc8-4da7-a336-311fabd63463", "DateCompleted": "2025-07-07T15:20:02.9700314+01:00", "Description": "sample string 1", "DueDate": "2025-07-07T15:20:02.9700314+01:00", "InProgress": true, "TaskTypeId": "cfe5d5fc-bd76-4cc0-bfc6-2c853b8009f7", "PriorityId": "d1bae672-8e24-446f-921b-365820f77b98", "Reminder": true, "ReminderIntervalId": "bf04d3b2-d50f-4d94-809c-825d4f37d9b1", "PolicyId": "bc5e822d-8a46-4b07-913c-8dfc211decf0" }
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>dff95577-6200-4ecc-916f-0b2e13390b88</AffiliateId> <AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:guid>dd07b873-4dd9-43eb-a881-a39c931457fe</d2p1:guid> <d2p1:guid>a9898587-bda7-4c9d-9fd0-b42a501413bd</d2p1:guid> </AssignedToId> <ClaimId>8a74163d-b7e1-4c9d-bed2-5e58589460a0</ClaimId> <ComplaintId>d54c1f32-a5c4-4dde-8e82-7727fa235096</ComplaintId> <Completed>true</Completed> <CompletedOn>2025-07-07T15:20:02.9700314+01:00</CompletedOn> <ContactId>d33c22f5-ebc8-4da7-a336-311fabd63463</ContactId> <DateCompleted>2025-07-07T15:20:02.9700314+01:00</DateCompleted> <Description>sample string 1</Description> <DueDate>2025-07-07T15:20:02.9700314+01:00</DueDate> <Id>e4a585eb-fafe-4fd0-80a0-a2017ef03f73</Id> <InProgress>true</InProgress> <PolicyId>bc5e822d-8a46-4b07-913c-8dfc211decf0</PolicyId> <PriorityId>d1bae672-8e24-446f-921b-365820f77b98</PriorityId> <Reminder>true</Reminder> <ReminderIntervalId>bf04d3b2-d50f-4d94-809c-825d4f37d9b1</ReminderIntervalId> <TaskTypeId>cfe5d5fc-bd76-4cc0-bfc6-2c853b8009f7</TaskTypeId> <TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:guid>6df84ebc-2029-4806-8cab-4bb4144349ed</d2p1:guid> <d2p1:guid>14790747-8a7b-45ac-ae09-ae0f09ba17d7</d2p1:guid> </TeamId> </Task>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskName | 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": "346fe8b1-9a7a-4178-a5d8-ac35f567e040", "AffiliateId": "1c8be67c-194e-4f76-b83d-8809a46dc79f", "AssignedToId": [ "5e9a9bae-6b9a-400d-9611-8f819a858a5e", "64ef64d4-a5e9-4ae7-aa16-22e16955b6bd" ], "TeamId": [ "912a5807-b668-4a93-b3b7-f05ed01cd936", "6ac0f24a-dfae-4ae1-85ee-aa5deca7c7ea" ], "ClaimId": "25d13327-483c-43fc-a934-4e523cafa4b8", "ComplaintId": "187a4fd2-5aa9-461b-bfbe-3ce899bf079b", "Completed": true, "CompletedOn": "2025-07-07T15:20:02.9856285+01:00", "ContactId": "8342e690-a5e1-4c2a-a217-69e63984098c", "DateCompleted": "2025-07-07T15:20:02.9856285+01:00", "Description": "sample string 1", "DueDate": "2025-07-07T15:20:02.9856285+01:00", "InProgress": true, "TaskTypeId": "d4edd85b-7f68-45c3-a1c4-683355a76d66", "PriorityId": "e5feab6b-f559-43ae-af31-5b91cdbfd2b3", "Reminder": true, "ReminderIntervalId": "295958dd-710b-4d6f-bc43-2c732b2c8676", "PolicyId": "a3c26874-aaca-424d-8904-f1f90afd8867" }
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>1c8be67c-194e-4f76-b83d-8809a46dc79f</AffiliateId> <AssignedToId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:guid>5e9a9bae-6b9a-400d-9611-8f819a858a5e</d2p1:guid> <d2p1:guid>64ef64d4-a5e9-4ae7-aa16-22e16955b6bd</d2p1:guid> </AssignedToId> <ClaimId>25d13327-483c-43fc-a934-4e523cafa4b8</ClaimId> <ComplaintId>187a4fd2-5aa9-461b-bfbe-3ce899bf079b</ComplaintId> <Completed>true</Completed> <CompletedOn>2025-07-07T15:20:02.9856285+01:00</CompletedOn> <ContactId>8342e690-a5e1-4c2a-a217-69e63984098c</ContactId> <DateCompleted>2025-07-07T15:20:02.9856285+01:00</DateCompleted> <Description>sample string 1</Description> <DueDate>2025-07-07T15:20:02.9856285+01:00</DueDate> <Id>346fe8b1-9a7a-4178-a5d8-ac35f567e040</Id> <InProgress>true</InProgress> <PolicyId>a3c26874-aaca-424d-8904-f1f90afd8867</PolicyId> <PriorityId>e5feab6b-f559-43ae-af31-5b91cdbfd2b3</PriorityId> <Reminder>true</Reminder> <ReminderIntervalId>295958dd-710b-4d6f-bc43-2c732b2c8676</ReminderIntervalId> <TaskTypeId>d4edd85b-7f68-45c3-a1c4-683355a76d66</TaskTypeId> <TeamId xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:guid>912a5807-b668-4a93-b3b7-f05ed01cd936</d2p1:guid> <d2p1:guid>6ac0f24a-dfae-4ae1-85ee-aa5deca7c7ea</d2p1:guid> </TeamId> </Task>