POST api/Affiliate/CreateOrUpdateDiaryEvent
Request Information
URI Parameters
None.
Body Parameters
AffiliateCalendarEventName | Description | Type | Additional information |
---|---|---|---|
AffiliateId | globally unique identifier |
None. |
|
Completed | boolean |
None. |
|
CompletedOn | date |
None. |
|
Description | string |
None. |
|
EventDate | date |
None. |
|
EventTypeId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
InProgress | boolean |
None. |
|
Notes | string |
None. |
|
PriorityId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "AffiliateId": "d8b444c8-b810-4eae-8913-acee2b30b8b8", "Completed": true, "CompletedOn": "2025-09-12T23:40:04.7512588+01:00", "Description": "sample string 3", "EventDate": "2025-09-12T23:40:04.7512588+01:00", "EventTypeId": "138c28f5-0145-4dd0-9a77-8aaf8006c0e8", "Id": "fb1daf4f-e952-4e59-8e78-2d68cc34a30a", "InProgress": true, "Notes": "sample string 7", "PriorityId": "698b96c8-3d97-44a5-acbd-e9f68ce6383d" }
application/xml, text/xml
Sample:
<AffiliateCalendarEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Completed>true</Completed> <CompletedOn>2025-09-12T23:40:04.7512588+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-09-12T23:40:04.7512588+01:00</EventDate> <EventTypeId>138c28f5-0145-4dd0-9a77-8aaf8006c0e8</EventTypeId> <Id>fb1daf4f-e952-4e59-8e78-2d68cc34a30a</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>698b96c8-3d97-44a5-acbd-e9f68ce6383d</PriorityId> <AffiliateId>d8b444c8-b810-4eae-8913-acee2b30b8b8</AffiliateId> </AffiliateCalendarEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AffiliateCalendarEventName | Description | Type | Additional information |
---|---|---|---|
AffiliateId | globally unique identifier |
None. |
|
Completed | boolean |
None. |
|
CompletedOn | date |
None. |
|
Description | string |
None. |
|
EventDate | date |
None. |
|
EventTypeId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
InProgress | boolean |
None. |
|
Notes | string |
None. |
|
PriorityId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "AffiliateId": "36bbc266-52e8-41a2-aafb-4a0afc36599e", "Completed": true, "CompletedOn": "2025-09-12T23:40:04.7512588+01:00", "Description": "sample string 3", "EventDate": "2025-09-12T23:40:04.7512588+01:00", "EventTypeId": "5d67db75-ec71-4ae3-a276-12fcdbe2777a", "Id": "be353d52-4651-4e78-a3e2-0ded8cb02f3e", "InProgress": true, "Notes": "sample string 7", "PriorityId": "eef969e8-ec0b-4eb8-9194-7aeedf9192e3" }
application/xml, text/xml
Sample:
<AffiliateCalendarEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Completed>true</Completed> <CompletedOn>2025-09-12T23:40:04.7512588+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-09-12T23:40:04.7512588+01:00</EventDate> <EventTypeId>5d67db75-ec71-4ae3-a276-12fcdbe2777a</EventTypeId> <Id>be353d52-4651-4e78-a3e2-0ded8cb02f3e</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>eef969e8-ec0b-4eb8-9194-7aeedf9192e3</PriorityId> <AffiliateId>36bbc266-52e8-41a2-aafb-4a0afc36599e</AffiliateId> </AffiliateCalendarEvent>