POST api/AzureAv/SaveTranscriptSegments
Request Information
URI Parameters
None.
Body Parameters
AzureAvSaveTranscriptDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId | string |
None. |
|
| Segments | Collection of AzureAvTranscriptSegmentDTO |
None. |
|
| IsFinal | boolean |
None. |
|
| Gaps | Collection of AzureAvTranscriptGapDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"groupId": "sample string 1",
"segments": [
{
"id": "sample string 1",
"text": "sample string 2",
"timestamp": 3,
"speakerId": "sample string 4",
"speakerName": "sample string 5"
},
{
"id": "sample string 1",
"text": "sample string 2",
"timestamp": 3,
"speakerId": "sample string 4",
"speakerName": "sample string 5"
}
],
"isFinal": true,
"gaps": [
{
"from": 1,
"to": 2
},
{
"from": 1,
"to": 2
}
]
}
application/csp-report
Sample:
{"groupId":"sample string 1","segments":[{"id":"sample string 1","text":"sample string 2","timestamp":3,"speakerId":"sample string 4","speakerName":"sample string 5"},{"id":"sample string 1","text":"sample string 2","timestamp":3,"speakerId":"sample string 4","speakerName":"sample string 5"}],"isFinal":true,"gaps":[{"from":1,"to":2},{"from":1,"to":2}]}
application/xml, text/xml
Sample:
<AzureAvSaveTranscriptDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
<Gaps>
<AzureAvTranscriptGapDTO>
<From>1</From>
<To>2</To>
</AzureAvTranscriptGapDTO>
<AzureAvTranscriptGapDTO>
<From>1</From>
<To>2</To>
</AzureAvTranscriptGapDTO>
</Gaps>
<GroupId>sample string 1</GroupId>
<IsFinal>true</IsFinal>
<Segments>
<AzureAvTranscriptSegmentDTO>
<Id>sample string 1</Id>
<SpeakerId>sample string 4</SpeakerId>
<SpeakerName>sample string 5</SpeakerName>
<Text>sample string 2</Text>
<Timestamp>3</Timestamp>
</AzureAvTranscriptSegmentDTO>
<AzureAvTranscriptSegmentDTO>
<Id>sample string 1</Id>
<SpeakerId>sample string 4</SpeakerId>
<SpeakerName>sample string 5</SpeakerName>
<Text>sample string 2</Text>
<Timestamp>3</Timestamp>
</AzureAvTranscriptSegmentDTO>
</Segments>
</AzureAvSaveTranscriptDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/csp-report, application/xml, text/xml
Sample:
Sample not available.