POST api/Affiliate/CreateOrUpdateDiaryEvent
Request Information
URI Parameters
None.
Body Parameters
AffiliateCalendarEvent| Name | 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": "3579be23-bee7-4e28-9e65-bb2dd36b7f6e",
"Completed": true,
"CompletedOn": "2026-08-15T10:52:02.5732958+01:00",
"Description": "sample string 3",
"EventDate": "2026-08-15T10:52:02.5732958+01:00",
"EventTypeId": "e869a596-1894-4239-b823-6e1f1e375316",
"Id": "94ddd3b2-53ef-41b5-b761-66334909569f",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "a03fb9d0-b239-4ac8-ade3-caeeaee4e9e4"
}
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>2026-08-15T10:52:02.5732958+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-08-15T10:52:02.5732958+01:00</EventDate> <EventTypeId>e869a596-1894-4239-b823-6e1f1e375316</EventTypeId> <Id>94ddd3b2-53ef-41b5-b761-66334909569f</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>a03fb9d0-b239-4ac8-ade3-caeeaee4e9e4</PriorityId> <AffiliateId>3579be23-bee7-4e28-9e65-bb2dd36b7f6e</AffiliateId> </AffiliateCalendarEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AffiliateCalendarEvent| Name | 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": "710db700-0d8e-4b44-b463-d27a1ad8c41d",
"Completed": true,
"CompletedOn": "2026-08-15T10:52:02.5889218+01:00",
"Description": "sample string 3",
"EventDate": "2026-08-15T10:52:02.5889218+01:00",
"EventTypeId": "62d0d31c-18e4-42f6-981b-807a8ce2cf42",
"Id": "b0d701a5-082c-42d0-8163-45cfec8e3bea",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "a350bb2e-390c-4924-938f-f86254f3dbea"
}
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>2026-08-15T10:52:02.5889218+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-08-15T10:52:02.5889218+01:00</EventDate> <EventTypeId>62d0d31c-18e4-42f6-981b-807a8ce2cf42</EventTypeId> <Id>b0d701a5-082c-42d0-8163-45cfec8e3bea</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>a350bb2e-390c-4924-938f-f86254f3dbea</PriorityId> <AffiliateId>710db700-0d8e-4b44-b463-d27a1ad8c41d</AffiliateId> </AffiliateCalendarEvent>