Retrieve the notes for a player
GET {{baseUrl}}/v1/playernotes/player/1?visible_to_player_only=1&sorting=desc&limit=5
It returns notes given to a player
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
visible_to_player_only | number | nullable |
This flag acts as a filter to retrieve only the notes that are public |
| sorting
| string | | nullable | string | in:desc, asc | default:desc |
| limit
| number | | nullable | integer | default:50 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Returns the notes for this player.","response":{"current_page":1,"data":[{"playernote_id":118,"user_id":1,"playernote_note":"Improving since last game but still need some work","playernote_score":4,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-09T19:20:22.000000Z","updated_at":"2022-02-09T19:20:22.000000Z","indicator_id":7,"playernote_share_with_player":0,"indicator_name":"Unselfishness","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":113,"user_id":1,"playernote_note":"asdfasdfasdfasd","playernote_score":5,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-05T18:38:19.000000Z","updated_at":"2022-02-05T18:38:19.000000Z","indicator_id":2,"playernote_share_with_player":0,"indicator_name":"Handling","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":112,"user_id":1,"playernote_note":"asdfasd fasdf asd","playernote_score":5,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-05T18:38:11.000000Z","updated_at":"2022-02-05T18:38:11.000000Z","indicator_id":2,"playernote_share_with_player":0,"indicator_name":"Handling","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":111,"user_id":1,"playernote_note":"ver good!!!","playernote_score":5,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-05T18:38:04.000000Z","updated_at":"2022-02-05T18:38:04.000000Z","indicator_id":2,"playernote_share_with_player":0,"indicator_name":"Handling","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":105,"user_id":1,"playernote_note":"","playernote_score":4,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-03T14:23:53.000000Z","updated_at":"2022-02-03T14:23:53.000000Z","indicator_id":6,"playernote_share_with_player":0,"indicator_name":"Accuracy","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":104,"user_id":1,"playernote_note":"asd asdfasdf asdfasdf asdf sa","playernote_score":4,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-02-02T10:46:51.000000Z","updated_at":"2022-02-02T10:46:51.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":100,"user_id":1,"playernote_note":"Improving since last game but still need some work","playernote_score":4,"created_by":1,"updated_by":1,"deleted_at":null,"deleted_by":null,"created_at":"2022-01-25T12:35:38.000000Z","updated_at":"2022-02-09T20:19:23.000000Z","indicator_id":7,"playernote_share_with_player":0,"indicator_name":"Unselfishness","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":56,"user_id":1,"playernote_note":"zsdxcvzxcvzxcv xasdg asd","playernote_score":4,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2022-01-13T12:23:52.000000Z","updated_at":"2022-01-13T12:23:52.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":54,"user_id":1,"playernote_note":"outstanding","playernote_score":5,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-10T11:24:59.000000Z","updated_at":"2021-12-10T11:24:59.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":53,"user_id":1,"playernote_note":"poor didnt talk at all","playernote_score":1,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-09T18:19:18.000000Z","updated_at":"2021-12-09T18:19:18.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":52,"user_id":1,"playernote_note":"not good","playernote_score":1,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-09T17:30:03.000000Z","updated_at":"2021-12-09T17:30:03.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":51,"user_id":1,"playernote_note":"asdfa sdf","playernote_score":4,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-09T16:41:14.000000Z","updated_at":"2021-12-09T16:41:14.000000Z","indicator_id":38,"playernote_share_with_player":0,"indicator_name":"Consistency","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":49,"user_id":1,"playernote_note":"Not very consisten this week. exercises on mon and then stopped","playernote_score":2,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-07T17:46:33.000000Z","updated_at":"2021-12-07T17:46:33.000000Z","indicator_id":38,"playernote_share_with_player":0,"indicator_name":"Consistency","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":48,"user_id":1,"playernote_note":"add a note here.","playernote_score":5,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-07T17:29:35.000000Z","updated_at":"2021-12-07T17:29:35.000000Z","indicator_id":5,"playernote_share_with_player":0,"indicator_name":"Quickness","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"},{"playernote_id":47,"user_id":1,"playernote_note":"needs to work on this","playernote_score":1,"created_by":1,"updated_by":null,"deleted_at":null,"deleted_by":null,"created_at":"2021-12-02T16:13:00.000000Z","updated_at":"2021-12-02T16:13:00.000000Z","indicator_id":1,"playernote_share_with_player":0,"indicator_name":"Communication","team_id":43,"created_by_first_name":"Francisco","created_by_last_name":"Baptista","created_by_avatar":"https://files.teamsportz.app/avatars/1_1636029808.jpeg"}],"first_page_url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=1","from":1,"last_page":2,"last_page_url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=2","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=1","label":"1","active":true},{"url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=2","label":"2","active":false},{"url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=2","label":"pagination.next","active":false}],"next_page_url":"https://api.teamsportz.pro/v1/playernotes/player/1?page=2","path":"https://api.teamsportz.pro/v1/playernotes/player/1","per_page":15,"prev_page_url":null,"to":15,"total":23}}