POST api/horsetrainer/studio/{bookingId}/annotations
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingId | integer |
Required |
Body Parameters
SyncAnnotationsRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Annotations | Collection of StudioAnnotationDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Annotations": [
{
"AnnotationId": 1,
"TimestampSeconds": 2.0,
"DurationSeconds": 3.0,
"ToolType": "sample string 4",
"StrokeColor": "sample string 5",
"StrokeWidth": 6,
"NormalizedDataJson": "sample string 7",
"NormalizedData": {}
},
{
"AnnotationId": 1,
"TimestampSeconds": 2.0,
"DurationSeconds": 3.0,
"ToolType": "sample string 4",
"StrokeColor": "sample string 5",
"StrokeWidth": 6,
"NormalizedDataJson": "sample string 7",
"NormalizedData": {}
}
]
}
application/xml, text/xml
Sample:
<SyncAnnotationsRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities.HorseTrainer">
<Annotations>
<StudioAnnotationDto>
<AnnotationId>1</AnnotationId>
<DurationSeconds>3</DurationSeconds>
<NormalizedData />
<NormalizedDataJson>sample string 7</NormalizedDataJson>
<StrokeColor>sample string 5</StrokeColor>
<StrokeWidth>6</StrokeWidth>
<TimestampSeconds>2</TimestampSeconds>
<ToolType>sample string 4</ToolType>
</StudioAnnotationDto>
<StudioAnnotationDto>
<AnnotationId>1</AnnotationId>
<DurationSeconds>3</DurationSeconds>
<NormalizedData />
<NormalizedDataJson>sample string 7</NormalizedDataJson>
<StrokeColor>sample string 5</StrokeColor>
<StrokeWidth>6</StrokeWidth>
<TimestampSeconds>2</TimestampSeconds>
<ToolType>sample string 4</ToolType>
</StudioAnnotationDto>
</Annotations>
</SyncAnnotationsRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.