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": "631e9d7f-94c7-444c-a729-70802bf62956",
"Completed": true,
"CompletedOn": "2026-02-04T01:05:56.7188673+00:00",
"Description": "sample string 3",
"EventDate": "2026-02-04T01:05:56.7188673+00:00",
"EventTypeId": "3cf186ad-1c80-4e76-8877-402b1fe71aa2",
"Id": "3f9b7493-c32d-4c08-9889-6d23a914abcb",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "8a18c3e9-7d82-46a6-b70d-233261a22762"
}
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-02-04T01:05:56.7188673+00:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-02-04T01:05:56.7188673+00:00</EventDate> <EventTypeId>3cf186ad-1c80-4e76-8877-402b1fe71aa2</EventTypeId> <Id>3f9b7493-c32d-4c08-9889-6d23a914abcb</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>8a18c3e9-7d82-46a6-b70d-233261a22762</PriorityId> <AffiliateId>631e9d7f-94c7-444c-a729-70802bf62956</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": "e1b83e74-732d-478c-95f2-41d950f76aa3",
"Completed": true,
"CompletedOn": "2026-02-04T01:05:56.7344896+00:00",
"Description": "sample string 3",
"EventDate": "2026-02-04T01:05:56.7344896+00:00",
"EventTypeId": "8368d1bd-3a12-4f61-a213-7ac5f11b5da3",
"Id": "39d63355-2dcc-4cce-b709-71f82438b1ae",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "843ab044-50cd-41c6-9825-b50d648a83c3"
}
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-02-04T01:05:56.7344896+00:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-02-04T01:05:56.7344896+00:00</EventDate> <EventTypeId>8368d1bd-3a12-4f61-a213-7ac5f11b5da3</EventTypeId> <Id>39d63355-2dcc-4cce-b709-71f82438b1ae</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>843ab044-50cd-41c6-9825-b50d648a83c3</PriorityId> <AffiliateId>e1b83e74-732d-478c-95f2-41d950f76aa3</AffiliateId> </AffiliateCalendarEvent>