POST api/v3/ShotClasses/{ClassId}/comments

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ClassId

string

None.

Body Parameters

ShotClassComment
NameDescriptionTypeAdditional information
ClassId

integer

None.

ChannelType

string

None.

ChannelData

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClassId": 1,
  "ChannelType": "sample string 2",
  "ChannelData": "sample string 3"
}

text/html

Sample:
{"ClassId":1,"ChannelType":"sample string 2","ChannelData":"sample string 3"}

text/xml

Sample:
<ShotClassComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <ChannelData>sample string 3</ChannelData>
  <ChannelType>sample string 2</ChannelType>
  <ClassId>1</ClassId>
</ShotClassComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>