GET api/EventRelationships/{id}
Get EventRelationships by matching the provided id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListEventRelationship| Name | Description | Type | Additional information |
|---|---|---|---|
| EventRelationshipId | integer |
None. |
|
| ParentEventId | integer |
None. |
|
| ChildEventId | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| EventName | string |
None. |
|
| EventCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"EventRelationshipId": 1,
"ParentEventId": 2,
"ChildEventId": 3,
"IsActive": true,
"IsDeleted": true,
"EventName": "sample string 4",
"EventCode": "sample string 5"
}
application/xml, text/xml
Sample:
<ListEventRelationship xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <ChildEventId>3</ChildEventId> <EventCode>sample string 5</EventCode> <EventName>sample string 4</EventName> <EventRelationshipId>1</EventRelationshipId> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ParentEventId>2</ParentEventId> </ListEventRelationship>