Hello @Piotr Kochanowski ,
Hope you are doing well.
I have sharepoint list named "Employee" and Lookup column "Company Details" with 2 items as shown below.
I tried below graph API endpoint,
With my Sharepoint Site Id, List Id I tried below Graph API Endpoint
I could able to get All items field values as shown below
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites('raiinfy.sharepoint.com%2C37e3215c-e146-448d-9703-d885abebd366%2Ce0247e7e-4c0c-4d50-903c-06581b278f9c')/lists('9d67d52a-b7af-474d-8123-cbaaca8b90c2')/items",
"value": [
{
"@odata.etag": "\"4615ef9d-71f8-4a24-9bd8-6a89b3952825,1\"",
"createdDateTime": "2022-07-06T13:50:23Z",
"eTag": "\"4615ef9d-71f8-4a24-9bd8-6a89b3952825,1\"",
"id": "1",
"lastModifiedDateTime": "2022-07-06T13:50:23Z",
"webUrl": "https://raiinfy.sharepoint.com/sites/TestSite2/Lists/Employee/1_.000",
"createdBy": {
"user": {
"email": "******@raiinfy.onmicrosoft.com",
"id": "93feaf8f-b55f-476c-97ed-7817e2f69ca5",
"displayName": "Atul"
}
},
"lastModifiedBy": {
"user": {
"email": "******@raiinfy.onmicrosoft.com",
"id": "93feaf8f-b55f-476c-97ed-7817e2f69ca5",
"displayName": "Atul"
}
},
"parentReference": {
"siteId": "raiinfy.sharepoint.com,37e3215c-e146-448d-9703-d885abebd366,e0247e7e-4c0c-4d50-903c-06581b278f9c"
},
"contentType": {
"id": "0x0100856E8A8C34906344ACBBBEF7C67EFA27",
"name": "Item"
},
"fields@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites('raiinfy.sharepoint.com%2C37e3215c-e146-448d-9703-d885abebd366%2Ce0247e7e-4c0c-4d50-903c-06581b278f9c')/lists('9d67d52a-b7af-474d-8123-cbaaca8b90c2')/items('1')/fields/$entity",
"fields": {
"@odata.etag": "\"4615ef9d-71f8-4a24-9bd8-6a89b3952825,1\"",
"Company_x0020_Details": "mno",
"Company_x0020_DetailsLookupId": "1"
}
},
{
"@odata.etag": "\"c47fa1ef-09f1-4bf7-ad89-070b53498505,1\"",
"createdDateTime": "2022-07-06T14:25:43Z",
"eTag": "\"c47fa1ef-09f1-4bf7-ad89-070b53498505,1\"",
"id": "2",
"lastModifiedDateTime": "2022-07-06T14:25:43Z",
"webUrl": "https://raiinfy.sharepoint.com/sites/TestSite2/Lists/Employee/2_.000",
"createdBy": {
"user": {
"email": "******@raiinfy.onmicrosoft.com",
"id": "93feaf8f-b55f-476c-97ed-7817e2f69ca5",
"displayName": "Atul"
}
},
"lastModifiedBy": {
"user": {
"email": "******@raiinfy.onmicrosoft.com",
"id": "93feaf8f-b55f-476c-97ed-7817e2f69ca5",
"displayName": "Atul"
}
},
"parentReference": {
"siteId": "raiinfy.sharepoint.com,37e3215c-e146-448d-9703-d885abebd366,e0247e7e-4c0c-4d50-903c-06581b278f9c"
},
"contentType": {
"id": "0x0100856E8A8C34906344ACBBBEF7C67EFA27",
"name": "Item"
},
"fields@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites('raiinfy.sharepoint.com%2C37e3215c-e146-448d-9703-d885abebd366%2Ce0247e7e-4c0c-4d50-903c-06581b278f9c')/lists('9d67d52a-b7af-474d-8123-cbaaca8b90c2')/items('2')/fields/$entity",
"fields": {
"@odata.etag": "\"c47fa1ef-09f1-4bf7-ad89-070b53498505,1\"",
"Company_x0020_Details": "xyz",
"Company_x0020_DetailsLookupId": "2"
}
}
]
}
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".