GET Api/Notes/GetForParent/{companyInfoId}/{currentPage}/{itemsPerPage}

Pobiera listę wszystkich obiektów Note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyInfoId

identyfikator obiektu nadrzędnego CompanyInfo

integer

Required

currentPage

numer aktualnej strony

integer

Default value is 0

itemsPerPage

ilość elementów na stronie

integer

Default value is 2147483647

Body Parameters

None.

Response Information

Resource Description

lista wszystkich obiektów Note w bazie danych

Collection of NoteDto
NameDescriptionTypeAdditional information
NoteId

integer

Required

ParentNoteId

integer

None.

CompanyInfoId

integer

Required

ProfileId

string

None.

Title

string

Required

Content

string

None.

LinkedFile

string

None.

CreationDate

date

None.

NoteType

NoteType

None.

Location

string

None.

DurationInMinutes

integer

None.

ProfileName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "noteId": 1,
    "parentNoteId": 1,
    "companyInfoId": 2,
    "profileId": "sample string 3",
    "title": "sample string 4",
    "content": "sample string 5",
    "linkedFile": "sample string 6",
    "creationDate": "2024-05-18T04:55:37.8915482+00:00",
    "noteType": 0,
    "location": "sample string 8",
    "durationInMinutes": 9,
    "profileName": "sample string 10"
  },
  {
    "noteId": 1,
    "parentNoteId": 1,
    "companyInfoId": 2,
    "profileId": "sample string 3",
    "title": "sample string 4",
    "content": "sample string 5",
    "linkedFile": "sample string 6",
    "creationDate": "2024-05-18T04:55:37.8915482+00:00",
    "noteType": 0,
    "location": "sample string 8",
    "durationInMinutes": 9,
    "profileName": "sample string 10"
  }
]

multipart/form-data

Sample:
[{"noteId":1,"parentNoteId":1,"companyInfoId":2,"profileId":"sample string 3","title":"sample string 4","content":"sample string 5","linkedFile":"sample string 6","creationDate":"2024-05-18T04:55:37.8915482+00:00","noteType":0,"location":"sample string 8","durationInMinutes":9,"profileName":"sample string 10"},{"noteId":1,"parentNoteId":1,"companyInfoId":2,"profileId":"sample string 3","title":"sample string 4","content":"sample string 5","linkedFile":"sample string 6","creationDate":"2024-05-18T04:55:37.8915482+00:00","noteType":0,"location":"sample string 8","durationInMinutes":9,"profileName":"sample string 10"}]

application/xml, text/xml

Sample:
<ArrayOfNoteDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NoteDto>
    <NoteId>1</NoteId>
    <ParentNoteId>1</ParentNoteId>
    <CompanyInfoId>2</CompanyInfoId>
    <ProfileId>sample string 3</ProfileId>
    <Title>sample string 4</Title>
    <Content>sample string 5</Content>
    <LinkedFile>sample string 6</LinkedFile>
    <CreationDate />
    <NoteType>Info</NoteType>
    <Location>sample string 8</Location>
    <DurationInMinutes>9</DurationInMinutes>
    <ProfileName>sample string 10</ProfileName>
  </NoteDto>
  <NoteDto>
    <NoteId>1</NoteId>
    <ParentNoteId>1</ParentNoteId>
    <CompanyInfoId>2</CompanyInfoId>
    <ProfileId>sample string 3</ProfileId>
    <Title>sample string 4</Title>
    <Content>sample string 5</Content>
    <LinkedFile>sample string 6</LinkedFile>
    <CreationDate />
    <NoteType>Info</NoteType>
    <Location>sample string 8</Location>
    <DurationInMinutes>9</DurationInMinutes>
    <ProfileName>sample string 10</ProfileName>
  </NoteDto>
</ArrayOfNoteDto>