POST api/Affiliate/CreateOrUpdateDiaryEvent
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "AffiliateId": "7f5aaac7-012d-4dc5-9370-3411bf1e8864", "Completed": true, "CompletedOn": "2025-08-27T03:36:32.9993586+01:00", "Description": "sample string 3", "EventDate": "2025-08-27T03:36:32.9993586+01:00", "EventTypeId": "18901173-a765-47da-b048-8e2e2fe96307", "Id": "48f8e4e4-8561-45b3-b0f4-f5a5393fe98f", "InProgress": true, "Notes": "sample string 7", "PriorityId": "5ac59d25-b230-478e-944d-2352b06b281a" }
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>2025-08-27T03:36:32.9993586+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-08-27T03:36:32.9993586+01:00</EventDate> <EventTypeId>18901173-a765-47da-b048-8e2e2fe96307</EventTypeId> <Id>48f8e4e4-8561-45b3-b0f4-f5a5393fe98f</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>5ac59d25-b230-478e-944d-2352b06b281a</PriorityId> <AffiliateId>7f5aaac7-012d-4dc5-9370-3411bf1e8864</AffiliateId> </AffiliateCalendarEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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": "2974848d-6a18-4410-b6f1-49409f5d0a29", "Completed": true, "CompletedOn": "2025-08-27T03:36:32.9993586+01:00", "Description": "sample string 3", "EventDate": "2025-08-27T03:36:32.9993586+01:00", "EventTypeId": "38254453-0055-4e4f-b4b7-5dadf36ac6bb", "Id": "20c2afc9-159e-4a2a-9d84-b4e0fbff2df9", "InProgress": true, "Notes": "sample string 7", "PriorityId": "63067143-8158-4736-897f-fff9048b1a5e" }
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>2025-08-27T03:36:32.9993586+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2025-08-27T03:36:32.9993586+01:00</EventDate> <EventTypeId>38254453-0055-4e4f-b4b7-5dadf36ac6bb</EventTypeId> <Id>20c2afc9-159e-4a2a-9d84-b4e0fbff2df9</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>63067143-8158-4736-897f-fff9048b1a5e</PriorityId> <AffiliateId>2974848d-6a18-4410-b6f1-49409f5d0a29</AffiliateId> </AffiliateCalendarEvent>