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": "9c0a8c9b-48a0-4368-b3f4-9679848f3c26",
"Completed": true,
"CompletedOn": "2026-06-24T20:27:39.8140649+01:00",
"Description": "sample string 3",
"EventDate": "2026-06-24T20:27:39.8140649+01:00",
"EventTypeId": "b8899ad0-563d-4f04-9084-7f074ff13943",
"Id": "4577b676-defb-4479-9a9f-05a29829ebb1",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "8b62640e-abf7-42ae-8471-9998a12552a0"
}
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-06-24T20:27:39.8140649+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-06-24T20:27:39.8140649+01:00</EventDate> <EventTypeId>b8899ad0-563d-4f04-9084-7f074ff13943</EventTypeId> <Id>4577b676-defb-4479-9a9f-05a29829ebb1</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>8b62640e-abf7-42ae-8471-9998a12552a0</PriorityId> <AffiliateId>9c0a8c9b-48a0-4368-b3f4-9679848f3c26</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": "c0902737-ed64-40c9-84da-c5b844638c4a",
"Completed": true,
"CompletedOn": "2026-06-24T20:27:39.8296489+01:00",
"Description": "sample string 3",
"EventDate": "2026-06-24T20:27:39.8296489+01:00",
"EventTypeId": "34ddc582-6218-4aa7-8e3f-d553dac31c7b",
"Id": "7c8c30b9-18e6-438d-b9c5-475cbccbed46",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "6be21880-a2db-4e64-99d8-3fda977138d6"
}
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-06-24T20:27:39.8296489+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-06-24T20:27:39.8296489+01:00</EventDate> <EventTypeId>34ddc582-6218-4aa7-8e3f-d553dac31c7b</EventTypeId> <Id>7c8c30b9-18e6-438d-b9c5-475cbccbed46</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>6be21880-a2db-4e64-99d8-3fda977138d6</PriorityId> <AffiliateId>c0902737-ed64-40c9-84da-c5b844638c4a</AffiliateId> </AffiliateCalendarEvent>