POST api/Affiliate/GetDiaryEvents?affiliateId={affiliateId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| affiliateId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "171d8b85-108f-4fac-b330-782a1aa398a1",
"Completed": true,
"CompletedOn": "2026-03-23T20:15:16.0194384+00:00",
"Description": "sample string 3",
"EventDate": "2026-03-23T20:15:16.0194384+00:00",
"EventTypeId": "5e1c1bdd-7ef5-401e-be6d-68e811d9e5fd",
"Id": "5b8f62dd-2a30-46fe-a2e9-e58ae19a234b",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "e80e73ef-170e-4cd0-a0a9-1bb51ee7e6b7"
},
{
"AffiliateId": "171d8b85-108f-4fac-b330-782a1aa398a1",
"Completed": true,
"CompletedOn": "2026-03-23T20:15:16.0194384+00:00",
"Description": "sample string 3",
"EventDate": "2026-03-23T20:15:16.0194384+00:00",
"EventTypeId": "5e1c1bdd-7ef5-401e-be6d-68e811d9e5fd",
"Id": "5b8f62dd-2a30-46fe-a2e9-e58ae19a234b",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "e80e73ef-170e-4cd0-a0a9-1bb51ee7e6b7"
}
]
application/xml, text/xml
Sample:
<ArrayOfAffiliateCalendarEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<AffiliateCalendarEvent>
<Completed>true</Completed>
<CompletedOn>2026-03-23T20:15:16.0194384+00:00</CompletedOn>
<Description>sample string 3</Description>
<EventDate>2026-03-23T20:15:16.0194384+00:00</EventDate>
<EventTypeId>5e1c1bdd-7ef5-401e-be6d-68e811d9e5fd</EventTypeId>
<Id>5b8f62dd-2a30-46fe-a2e9-e58ae19a234b</Id>
<InProgress>true</InProgress>
<Notes>sample string 7</Notes>
<PriorityId>e80e73ef-170e-4cd0-a0a9-1bb51ee7e6b7</PriorityId>
<AffiliateId>171d8b85-108f-4fac-b330-782a1aa398a1</AffiliateId>
</AffiliateCalendarEvent>
<AffiliateCalendarEvent>
<Completed>true</Completed>
<CompletedOn>2026-03-23T20:15:16.0194384+00:00</CompletedOn>
<Description>sample string 3</Description>
<EventDate>2026-03-23T20:15:16.0194384+00:00</EventDate>
<EventTypeId>5e1c1bdd-7ef5-401e-be6d-68e811d9e5fd</EventTypeId>
<Id>5b8f62dd-2a30-46fe-a2e9-e58ae19a234b</Id>
<InProgress>true</InProgress>
<Notes>sample string 7</Notes>
<PriorityId>e80e73ef-170e-4cd0-a0a9-1bb51ee7e6b7</PriorityId>
<AffiliateId>171d8b85-108f-4fac-b330-782a1aa398a1</AffiliateId>
</AffiliateCalendarEvent>
</ArrayOfAffiliateCalendarEvent>