POST v1/events/{eventName}/posterCategory
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
PosterCategoryCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryName | string |
Required |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryName": "sample string 1",
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<PosterCategoryCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Poster"> <CategoryName>sample string 1</CategoryName> <Description>sample string 2</Description> </PosterCategoryCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PosterCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PosterCategoryId | integer |
None. |
|
| EventId | integer |
None. |
|
| CategoryName | string |
None. |
|
| Description | string |
None. |
|
| IsFeatured | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"PosterCategoryId": 1,
"EventId": 2,
"CategoryName": "sample string 3",
"Description": "sample string 4",
"IsFeatured": true
}
application/xml, text/xml
Sample:
<PosterCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Poster"> <CategoryName>sample string 3</CategoryName> <Description>sample string 4</Description> <EventId>2</EventId> <IsFeatured>true</IsFeatured> <PosterCategoryId>1</PosterCategoryId> </PosterCategoryDto>