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": "c4ae25f6-ac43-4c49-a336-a4e42485e38a", "Completed": true, "CompletedOn": "2025-07-07T15:39:46.6429898+01:00", "Description": "sample string 3", "EventDate": "2025-07-07T15:39:46.6429898+01:00", "EventTypeId": "384c1761-8a80-46c7-bbf2-967cc7d24a53", "Id": "dde762e7-d59e-4738-b3e5-5b4b5ea9bd70", "InProgress": true, "Notes": "sample string 7", "PriorityId": "79edef17-b5d0-47b1-87b4-7dea7d86db63" }
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-07-07T15:39:46.6429898+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-07-07T15:39:46.6429898+01:00</EventDate> <EventTypeId>384c1761-8a80-46c7-bbf2-967cc7d24a53</EventTypeId> <Id>dde762e7-d59e-4738-b3e5-5b4b5ea9bd70</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>79edef17-b5d0-47b1-87b4-7dea7d86db63</PriorityId> <AffiliateId>c4ae25f6-ac43-4c49-a336-a4e42485e38a</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": "2a0470cb-c2e7-4238-b770-32a6fc6db3c3", "Completed": true, "CompletedOn": "2025-07-07T15:39:46.6429898+01:00", "Description": "sample string 3", "EventDate": "2025-07-07T15:39:46.6429898+01:00", "EventTypeId": "580352a5-adc0-4a26-b6dc-0f6cdaec209b", "Id": "a29fd299-cb82-47a9-9510-dd04270715fc", "InProgress": true, "Notes": "sample string 7", "PriorityId": "b09c9286-36fd-4029-9640-b365d732684b" }
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-07-07T15:39:46.6429898+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-07-07T15:39:46.6429898+01:00</EventDate> <EventTypeId>580352a5-adc0-4a26-b6dc-0f6cdaec209b</EventTypeId> <Id>a29fd299-cb82-47a9-9510-dd04270715fc</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>b09c9286-36fd-4029-9640-b365d732684b</PriorityId> <AffiliateId>2a0470cb-c2e7-4238-b770-32a6fc6db3c3</AffiliateId> </AffiliateCalendarEvent>