POST api/events?eventType={eventType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventType | EventType |
Required |
Body Parameters
RestEventRequestDTOName | Description | Type | Additional information |
---|---|---|---|
EntityId | integer |
Range: inclusive between 1 and 2147483647 |
|
XmlEvent | string |
Required |
|
EventUID | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "EntityId": 1, "XmlEvent": "sample string 2", "EventUID": "sample string 3" }
application/xml, text/xml
Sample:
<RestEventRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Event"> <EntityId>1</EntityId> <EventUID>sample string 3</EventUID> <XmlEvent>sample string 2</XmlEvent> </RestEventRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestRqUIDResponseDTOName | Description | Type | Additional information |
---|---|---|---|
RqUID | string |
None. |
|
Code | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "RqUID": "sample string 1", "Code": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<RestRqUIDResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared"> <Code>sample string 2</Code> <Message>sample string 3</Message> <RqUID>sample string 1</RqUID> </RestRqUIDResponseDTO>