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": "817bb8ca-039a-4a10-b1d0-37fd03fc7e69",
"Completed": true,
"CompletedOn": "2026-05-09T12:54:32.8100996+01:00",
"Description": "sample string 3",
"EventDate": "2026-05-09T12:54:32.8100996+01:00",
"EventTypeId": "8e1da31d-1b45-499e-b831-2b6c30e3fe4e",
"Id": "4411c34c-90c2-42fa-9bd8-2267907068b1",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "aad667ef-51b7-477a-a617-e4208f496b75"
}
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-05-09T12:54:32.8100996+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-05-09T12:54:32.8100996+01:00</EventDate> <EventTypeId>8e1da31d-1b45-499e-b831-2b6c30e3fe4e</EventTypeId> <Id>4411c34c-90c2-42fa-9bd8-2267907068b1</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>aad667ef-51b7-477a-a617-e4208f496b75</PriorityId> <AffiliateId>817bb8ca-039a-4a10-b1d0-37fd03fc7e69</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": "caf117f8-9641-44c8-a52d-dc6ff30bc4ef",
"Completed": true,
"CompletedOn": "2026-05-09T12:54:32.8256926+01:00",
"Description": "sample string 3",
"EventDate": "2026-05-09T12:54:32.8256926+01:00",
"EventTypeId": "d369b1cc-7370-4977-a317-1eaf4b568178",
"Id": "10847587-0639-4f85-b129-7f39ea1377cf",
"InProgress": true,
"Notes": "sample string 7",
"PriorityId": "b45e0614-00cc-467c-968a-16a1fb2d6846"
}
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-05-09T12:54:32.8256926+01:00</CompletedOn> <Description>sample string 3</Description> <EventDate>2026-05-09T12:54:32.8256926+01:00</EventDate> <EventTypeId>d369b1cc-7370-4977-a317-1eaf4b568178</EventTypeId> <Id>10847587-0639-4f85-b129-7f39ea1377cf</Id> <InProgress>true</InProgress> <Notes>sample string 7</Notes> <PriorityId>b45e0614-00cc-467c-968a-16a1fb2d6846</PriorityId> <AffiliateId>caf117f8-9641-44c8-a52d-dc6ff30bc4ef</AffiliateId> </AffiliateCalendarEvent>