GET v1/Tasks/{TaskID}/Notes?PageIndex={PageIndex}&PageSize={PageSize}

Gets all notes for a task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TaskID

TaskID for which to look for notes

integer

Required

PageIndex

0 based index for Page Number

integer

Required

PageSize

No. of records to fetch, default value is 100

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

SearchResultOfNotesLog
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of NotesLog

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "data": [
    {
      "notes": "sample string 1",
      "createdBy": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "notes": "sample string 1",
      "createdBy": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<SearchResultOfNotesLog3KdDVibf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:NotesLog>
      <d2p1:CreatedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:CreatedBy>
      <d2p1:Notes>sample string 1</d2p1:Notes>
    </d2p1:NotesLog>
    <d2p1:NotesLog>
      <d2p1:CreatedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:CreatedBy>
      <d2p1:Notes>sample string 1</d2p1:Notes>
    </d2p1:NotesLog>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfNotesLog3KdDVibf>