POST v1/Events/{eventName}/SessionTypes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
SessionTypeCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionTypeName | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SessionTypeName": "sample string 1"
}
application/xml, text/xml
Sample:
<SessionTypeCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Session"> <SessionTypeName>sample string 1</SessionTypeName> </SessionTypeCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SessionTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionTypeId | integer |
None. |
|
| SessionTypeName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SessionTypeId": 1,
"SessionTypeName": "sample string 2"
}
application/xml, text/xml
Sample:
<SessionTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Session"> <SessionTypeId>1</SessionTypeId> <SessionTypeName>sample string 2</SessionTypeName> </SessionTypeDto>