POST api/v1/coach/studio/{bookingId}/annotations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingId

integer

Required

Body Parameters

SyncAnnotationsRequestDto
NameDescriptionTypeAdditional 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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.