POST v1/Activity/{id}/EventComponent
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
EventComponentViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
EventGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "EventGuid": "d1301402-a275-4cc7-921a-4371ed91b81d", "Guid": "3580d4a4-fcfd-4f7b-8386-97d86ebc4117", "Created": "2024-07-27T07:39:41.0262169+00:00", "Modified": "2024-07-27T07:39:41.0262169+00:00", "Deleted": "2024-07-27T07:39:41.0262169+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","EventGuid":"d1301402-a275-4cc7-921a-4371ed91b81d","Guid":"3580d4a4-fcfd-4f7b-8386-97d86ebc4117","Created":"2024-07-27T07:39:41.0262169+00:00","Modified":"2024-07-27T07:39:41.0262169+00:00","Deleted":"2024-07-27T07:39:41.0262169+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<EventComponentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">3580d4a4-fcfd-4f7b-8386-97d86ebc4117</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Modified> <EventGuid>d1301402-a275-4cc7-921a-4371ed91b81d</EventGuid> <Name>sample string 1</Name> </EventComponentViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventComponentViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
EventGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "EventGuid": "4b67e2ee-7c14-45c1-bcd3-8464c3aaa55e", "Guid": "ea690ad2-b7cb-4aa0-8bde-a4c9ca0717cb", "Created": "2024-07-27T07:39:41.0262169+00:00", "Modified": "2024-07-27T07:39:41.0262169+00:00", "Deleted": "2024-07-27T07:39:41.0262169+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","EventGuid":"4b67e2ee-7c14-45c1-bcd3-8464c3aaa55e","Guid":"ea690ad2-b7cb-4aa0-8bde-a4c9ca0717cb","Created":"2024-07-27T07:39:41.0262169+00:00","Modified":"2024-07-27T07:39:41.0262169+00:00","Deleted":"2024-07-27T07:39:41.0262169+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<EventComponentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">ea690ad2-b7cb-4aa0-8bde-a4c9ca0717cb</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T07:39:41.0262169+00:00</Modified> <EventGuid>4b67e2ee-7c14-45c1-bcd3-8464c3aaa55e</EventGuid> <Name>sample string 1</Name> </EventComponentViewModel>