POST events
Request Information
URI Parameters
None.
Body Parameters
EventCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| EventName | string |
Required Matching regular expression pattern: ^[^/\\]*$ |
|
| EventDescription | string |
Required |
|
| ClientId | integer |
Required |
|
| LocationIds | Collection of integer |
Required |
|
| IsPublished | boolean |
Required |
|
| EndDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"EventName": "sample string 1",
"EventDescription": "sample string 2",
"ClientId": 1,
"LocationIds": [
1,
2
],
"IsPublished": true,
"EndDate": "2026-12-01T22:47:20.519051-06:00"
}
application/xml, text/xml
Sample:
<EventCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Event">
<ClientId>1</ClientId>
<EndDate>2026-12-01T22:47:20.519051-06:00</EndDate>
<EventDescription>sample string 2</EventDescription>
<EventName>sample string 1</EventName>
<IsPublished>true</IsPublished>
<LocationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</LocationIds>
</EventCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |