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": "7d626f7e-c547-40c7-b251-fa3581fc4e5b",
"Completed": true,
"CompletedOn": "2026-05-09T12:59:41.7988033+01:00",
"Description": "sample string 3",
"EventDate": "2026-05-09T12:59:41.7988033+01:00",
"EventTypeId": "f44260c6-dfaa-46ea-8934-3874d2ef9009",
"Id": "50ece0ec-0f6d-4776-b7f5-d42f76046133",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "84dcc64f-084b-4c5d-b6c0-ca9484ae5a20"
},
{
"AffiliateId": "7d626f7e-c547-40c7-b251-fa3581fc4e5b",
"Completed": true,
"CompletedOn": "2026-05-09T12:59:41.7988033+01:00",
"Description": "sample string 3",
"EventDate": "2026-05-09T12:59:41.7988033+01:00",
"EventTypeId": "f44260c6-dfaa-46ea-8934-3874d2ef9009",
"Id": "50ece0ec-0f6d-4776-b7f5-d42f76046133",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "84dcc64f-084b-4c5d-b6c0-ca9484ae5a20"
}
]
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-05-09T12:59:41.7988033+01:00</CompletedOn>
<Description>sample string 3</Description>
<EventDate>2026-05-09T12:59:41.7988033+01:00</EventDate>
<EventTypeId>f44260c6-dfaa-46ea-8934-3874d2ef9009</EventTypeId>
<Id>50ece0ec-0f6d-4776-b7f5-d42f76046133</Id>
<InProgress>true</InProgress>
<Notes>sample string 7</Notes>
<PriorityId>84dcc64f-084b-4c5d-b6c0-ca9484ae5a20</PriorityId>
<AffiliateId>7d626f7e-c547-40c7-b251-fa3581fc4e5b</AffiliateId>
</AffiliateCalendarEvent>
<AffiliateCalendarEvent>
<Completed>true</Completed>
<CompletedOn>2026-05-09T12:59:41.7988033+01:00</CompletedOn>
<Description>sample string 3</Description>
<EventDate>2026-05-09T12:59:41.7988033+01:00</EventDate>
<EventTypeId>f44260c6-dfaa-46ea-8934-3874d2ef9009</EventTypeId>
<Id>50ece0ec-0f6d-4776-b7f5-d42f76046133</Id>
<InProgress>true</InProgress>
<Notes>sample string 7</Notes>
<PriorityId>84dcc64f-084b-4c5d-b6c0-ca9484ae5a20</PriorityId>
<AffiliateId>7d626f7e-c547-40c7-b251-fa3581fc4e5b</AffiliateId>
</AffiliateCalendarEvent>
</ArrayOfAffiliateCalendarEvent>