POST api/highlight/AddOrUpdate

Request Information

URI Parameters

None.

Body Parameters

HighLightDto
NameDescriptionTypeAdditional information
Id

integer

None.

ChapterId

integer

None.

TicketId

integer

None.

StartIndex

integer

None.

EndIndex

integer

None.

Color

string

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChapterId": 1,
  "TicketId": 1,
  "StartIndex": 1,
  "EndIndex": 1,
  "Color": "sample string 2",
  "CreatedDate": "2025-12-06T07:19:30.3882719+03:00"
}

application/xml, text/xml

Sample:
<HighLightDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaBook.Api.DTO">
  <ChapterId>1</ChapterId>
  <Color>sample string 2</Color>
  <CreatedDate>2025-12-06T07:19:30.3882719+03:00</CreatedDate>
  <EndIndex>1</EndIndex>
  <Id>1</Id>
  <StartIndex>1</StartIndex>
  <TicketId>1</TicketId>
</HighLightDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.