POST api/note/AddOrUpdateNote

Request Information

URI Parameters

None.

Body Parameters

NotesDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ChapterId

integer

None.

TicketId

integer

None.

StartIndex

integer

None.

EndIndex

integer

None.

PositionFull

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChapterId": 1,
  "TicketId": 1,
  "StartIndex": 1,
  "EndIndex": 1,
  "PositionFull": "sample string 2",
  "Description": "sample string 3"
}

application/xml, text/xml

Sample:
<NotesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaBook.Api.DTO">
  <ChapterId>1</ChapterId>
  <Description>sample string 3</Description>
  <EndIndex>1</EndIndex>
  <Id>1</Id>
  <PositionFull>sample string 2</PositionFull>
  <StartIndex>1</StartIndex>
  <TicketId>1</TicketId>
</NotesDTO>

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.