GET GetEvents?SID={SID}&StartDate={StartDate}&EndDate={EndDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SID | integer |
Required |
|
StartDate | date |
Required |
|
EndDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfEventEntitesName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | Collection of EventEntites |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": [ { "EventDate": "2025-04-28T17:11:48.9863628+00:00", "EventDetails": [ { "EventName": "sample string 1", "EventId": 2, "Color": "sample string 3", "EventImpact": 4 }, { "EventName": "sample string 1", "EventId": 2, "Color": "sample string 3", "EventImpact": 4 } ] }, { "EventDate": "2025-04-28T17:11:48.9863628+00:00", "EventDetails": [ { "EventName": "sample string 1", "EventId": 2, "Color": "sample string 3", "EventImpact": 4 }, { "EventName": "sample string 1", "EventId": 2, "Color": "sample string 3", "EventImpact": 4 } ] } ] }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"EventDate":"2025-04-28T17:11:48.9863628+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]},{"EventDate":"2025-04-28T17:11:48.9863628+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfEventEntitesqCs14Pcc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Events"> <d2p1:EventEntites> <d2p1:EventDate>2025-04-28T17:11:48.9863628+00:00</d2p1:EventDate> <d2p1:EventDetails> <d2p1:PricePostioningEventView> <d2p1:Color>sample string 3</d2p1:Color> <d2p1:EventId>2</d2p1:EventId> <d2p1:EventImpact>4</d2p1:EventImpact> <d2p1:EventName>sample string 1</d2p1:EventName> </d2p1:PricePostioningEventView> <d2p1:PricePostioningEventView> <d2p1:Color>sample string 3</d2p1:Color> <d2p1:EventId>2</d2p1:EventId> <d2p1:EventImpact>4</d2p1:EventImpact> <d2p1:EventName>sample string 1</d2p1:EventName> </d2p1:PricePostioningEventView> </d2p1:EventDetails> </d2p1:EventEntites> <d2p1:EventEntites> <d2p1:EventDate>2025-04-28T17:11:48.9863628+00:00</d2p1:EventDate> <d2p1:EventDetails> <d2p1:PricePostioningEventView> <d2p1:Color>sample string 3</d2p1:Color> <d2p1:EventId>2</d2p1:EventId> <d2p1:EventImpact>4</d2p1:EventImpact> <d2p1:EventName>sample string 1</d2p1:EventName> </d2p1:PricePostioningEventView> <d2p1:PricePostioningEventView> <d2p1:Color>sample string 3</d2p1:Color> <d2p1:EventId>2</d2p1:EventId> <d2p1:EventImpact>4</d2p1:EventImpact> <d2p1:EventName>sample string 1</d2p1:EventName> </d2p1:PricePostioningEventView> </d2p1:EventDetails> </d2p1:EventEntites> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfArrayOfEventEntitesqCs14Pcc>