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": "bae3d26b-6e04-41b0-a968-bf02c6585ba2",
"Completed": true,
"CompletedOn": "2026-03-23T02:59:18.0752195+00:00",
"Description": "sample string 3",
"EventDate": "2026-03-23T02:59:18.0752195+00:00",
"EventTypeId": "8a654dd4-0b38-4aab-9484-260a5e2482eb",
"Id": "23a4dfa8-c80d-410d-8a9b-772f02983d54",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "856e591b-3e58-4427-a276-78e1b005fbce"
}
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-03-23T02:59:18.0752195+00:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-03-23T02:59:18.0752195+00:00</EventDate> <EventTypeId>8a654dd4-0b38-4aab-9484-260a5e2482eb</EventTypeId> <Id>23a4dfa8-c80d-410d-8a9b-772f02983d54</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>856e591b-3e58-4427-a276-78e1b005fbce</PriorityId> <AffiliateId>bae3d26b-6e04-41b0-a968-bf02c6585ba2</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": "31667bca-d5da-4ee1-b195-6ddde88cdabb",
"Completed": true,
"CompletedOn": "2026-03-23T02:59:18.090829+00:00",
"Description": "sample string 3",
"EventDate": "2026-03-23T02:59:18.090829+00:00",
"EventTypeId": "78a9cf44-a864-43b2-abc0-0b378ab6c086",
"Id": "635578a9-6dfe-4b5b-8ec5-14d3dcbb217f",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "a7345074-2600-4d50-95c3-e9018957b553"
}
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-03-23T02:59:18.090829+00:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-03-23T02:59:18.090829+00:00</EventDate> <EventTypeId>78a9cf44-a864-43b2-abc0-0b378ab6c086</EventTypeId> <Id>635578a9-6dfe-4b5b-8ec5-14d3dcbb217f</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>a7345074-2600-4d50-95c3-e9018957b553</PriorityId> <AffiliateId>31667bca-d5da-4ee1-b195-6ddde88cdabb</AffiliateId> </AffiliateCalendarEvent>