POST api/EventRelationships/CRUD
Add/Update/Delete EventRelationships
Request Information
URI Parameters
None.
Body Parameters
String Array of EventRelationships Names And Information(Mandatory)
Collection of EventRelationshipInfoName | Description | Type | Additional information |
---|---|---|---|
EventRelationshipId | integer |
None. |
|
ParentEventId | integer |
None. |
|
ChildEventId | integer |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "EventRelationshipId": 1, "ParentEventId": 1, "ChildEventId": 2, "IsActive": true, "IsDeleted": true, "Deleted": 1 }, { "EventRelationshipId": 1, "ParentEventId": 1, "ChildEventId": 2, "IsActive": true, "IsDeleted": true, "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfEventRelationshipInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <EventRelationshipInfo> <ChildEventId>2</ChildEventId> <Deleted>1</Deleted> <EventRelationshipId>1</EventRelationshipId> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ParentEventId>1</ParentEventId> </EventRelationshipInfo> <EventRelationshipInfo> <ChildEventId>2</ChildEventId> <Deleted>1</Deleted> <EventRelationshipId>1</EventRelationshipId> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ParentEventId>1</ParentEventId> </EventRelationshipInfo> </ArrayOfEventRelationshipInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>