POST api/EventCategory/Add
Request Information
URI Parameters
None.
Body Parameters
EventCategoryAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Category | string |
Required |
|
| WebSiteID | globally unique identifier |
None. |
|
| LanguageID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"category": "sample string 1",
"webSiteID": "b5e84130-bac4-4a55-99b7-6fac64d5aed3",
"languageID": "3d993f19-edee-46ca-8db2-85be05ca2a46"
}
application/xml, text/xml
Sample:
<EventCategoryAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Category>sample string 1</Category> <LanguageID>3d993f19-edee-46ca-8db2-85be05ca2a46</LanguageID> <WebSiteID>b5e84130-bac4-4a55-99b7-6fac64d5aed3</WebSiteID> </EventCategoryAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Category":"sample string 1","WebSiteID":"b5e84130-bac4-4a55-99b7-6fac64d5aed3","LanguageID":"3d993f19-edee-46ca-8db2-85be05ca2a46"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.