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 AffiliateCalendarEventName | 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": "6c722cab-4c9f-4707-9121-f322564bc3b1", "Completed": true, "CompletedOn": "2025-07-07T13:43:34.2926407+01:00", "Description": "sample string 3", "EventDate": "2025-07-07T13:43:34.2926407+01:00", "EventTypeId": "bc8841d7-2c71-4d23-b6a4-924f73040271", "Id": "1572b2f2-73f2-44c4-9583-27500599da64", "InProgress": true, "Notes": "sample string 7", "PriorityId": "abfbe656-77d3-4b1a-b30a-b1712d4337a6" }, { "AffiliateId": "6c722cab-4c9f-4707-9121-f322564bc3b1", "Completed": true, "CompletedOn": "2025-07-07T13:43:34.2926407+01:00", "Description": "sample string 3", "EventDate": "2025-07-07T13:43:34.2926407+01:00", "EventTypeId": "bc8841d7-2c71-4d23-b6a4-924f73040271", "Id": "1572b2f2-73f2-44c4-9583-27500599da64", "InProgress": true, "Notes": "sample string 7", "PriorityId": "abfbe656-77d3-4b1a-b30a-b1712d4337a6" } ]
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>2025-07-07T13:43:34.2926407+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-07-07T13:43:34.2926407+01:00</EventDate> <EventTypeId>bc8841d7-2c71-4d23-b6a4-924f73040271</EventTypeId> <Id>1572b2f2-73f2-44c4-9583-27500599da64</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>abfbe656-77d3-4b1a-b30a-b1712d4337a6</PriorityId> <AffiliateId>6c722cab-4c9f-4707-9121-f322564bc3b1</AffiliateId> </AffiliateCalendarEvent> <AffiliateCalendarEvent> <Completed>true</Completed> <CompletedOn>2025-07-07T13:43:34.2926407+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-07-07T13:43:34.2926407+01:00</EventDate> <EventTypeId>bc8841d7-2c71-4d23-b6a4-924f73040271</EventTypeId> <Id>1572b2f2-73f2-44c4-9583-27500599da64</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>abfbe656-77d3-4b1a-b30a-b1712d4337a6</PriorityId> <AffiliateId>6c722cab-4c9f-4707-9121-f322564bc3b1</AffiliateId> </AffiliateCalendarEvent> </ArrayOfAffiliateCalendarEvent>