GET v1/purchase-orders/{id}/notes?pageIndex={pageIndex}&pageSize={pageSize}
Gets all notes for a purchase order.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
POID 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
Collection of NotesLogName | Description | Type | Additional information |
---|---|---|---|
Notes | string |
None. |
|
CreatedBy | IdNamePair |
None. |
Response Formats
application/json, text/json
Sample:
[ { "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:
<ArrayOfNotesLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <NotesLog> <CreatedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d3p1:_x003C_Id_x003E_k__BackingField>1</d3p1:_x003C_Id_x003E_k__BackingField> <d3p1:_x003C_Name_x003E_k__BackingField>sample string 2</d3p1:_x003C_Name_x003E_k__BackingField> </CreatedBy> <Notes>sample string 1</Notes> </NotesLog> <NotesLog> <CreatedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d3p1:_x003C_Id_x003E_k__BackingField>1</d3p1:_x003C_Id_x003E_k__BackingField> <d3p1:_x003C_Name_x003E_k__BackingField>sample string 2</d3p1:_x003C_Name_x003E_k__BackingField> </CreatedBy> <Notes>sample string 1</Notes> </NotesLog> </ArrayOfNotesLog>