POST v1/EventDate
Request Information
URI Parameters
None.
Body Parameters
EventDateViewModelName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
EventGuid | globally unique identifier |
None. |
|
EventLocationGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Date": "2021-04-18T23:59:14.3540204+00:00", "EventGuid": "98adb61e-2db9-4d8b-b376-661a5d62e55b", "EventLocationGuid": "ae15c361-f858-43e2-b90a-71757216a83e", "Guid": "035b4bb2-fd3a-416f-8aee-dc066cea6295", "Created": "2021-04-18T23:59:14.3540204+00:00", "Modified": "2021-04-18T23:59:14.3540204+00:00", "Deleted": "2021-04-18T23:59:14.3540204+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Date":"2021-04-18T23:59:14.3540204+00:00","EventGuid":"98adb61e-2db9-4d8b-b376-661a5d62e55b","EventLocationGuid":"ae15c361-f858-43e2-b90a-71757216a83e","Guid":"035b4bb2-fd3a-416f-8aee-dc066cea6295","Created":"2021-04-18T23:59:14.3540204+00:00","Modified":"2021-04-18T23:59:14.3540204+00:00","Deleted":"2021-04-18T23:59:14.3540204+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<EventDateViewModel 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">2021-04-18T23:59:14.3540204+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-18T23:59:14.3540204+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">035b4bb2-fd3a-416f-8aee-dc066cea6295</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-18T23:59:14.3540204+00:00</Modified> <Date>2021-04-18T23:59:14.3540204+00:00</Date> <EventGuid>98adb61e-2db9-4d8b-b376-661a5d62e55b</EventGuid> <EventLocationGuid>ae15c361-f858-43e2-b90a-71757216a83e</EventLocationGuid> </EventDateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventDateViewModelName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
EventGuid | globally unique identifier |
None. |
|
EventLocationGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Date": "2021-04-18T23:59:14.3540204+00:00", "EventGuid": "ac21c25a-ae55-4126-9f8e-af458d12ccf8", "EventLocationGuid": "87f5b81e-0cfa-49a2-becc-0e4f3c034178", "Guid": "2cd617ef-9ff7-42fe-812b-131a7270720f", "Created": "2021-04-18T23:59:14.3540204+00:00", "Modified": "2021-04-18T23:59:14.3540204+00:00", "Deleted": "2021-04-18T23:59:14.3540204+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Date":"2021-04-18T23:59:14.3540204+00:00","EventGuid":"ac21c25a-ae55-4126-9f8e-af458d12ccf8","EventLocationGuid":"87f5b81e-0cfa-49a2-becc-0e4f3c034178","Guid":"2cd617ef-9ff7-42fe-812b-131a7270720f","Created":"2021-04-18T23:59:14.3540204+00:00","Modified":"2021-04-18T23:59:14.3540204+00:00","Deleted":"2021-04-18T23:59:14.3540204+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<EventDateViewModel 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">2021-04-18T23:59:14.3540204+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-18T23:59:14.3540204+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2cd617ef-9ff7-42fe-812b-131a7270720f</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-18T23:59:14.3540204+00:00</Modified> <Date>2021-04-18T23:59:14.3540204+00:00</Date> <EventGuid>ac21c25a-ae55-4126-9f8e-af458d12ccf8</EventGuid> <EventLocationGuid>87f5b81e-0cfa-49a2-becc-0e4f3c034178</EventLocationGuid> </EventDateViewModel>