# Post Endpoint - GetSharepointItemByUrl

Resolves a sharepoint item from the given url.

# HTTP Request

One of the following requests should be made:

POST /api/syncjobs/sharepoint/resolveitem

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization
Content-Type required. application/json

# Responses

Code Description Type
200 The result from the resolution process. SharepointItemResponse
400 The given url is invalid.
401 The user is not logged in.

# Example

# Request

The following is an example of how to call the endpoint:

POST /api/syncjobs/sharepoint/resolveitem
https://tenant.sharepoint.com/sites/sitename/Library123/Forms/AllItems.aspx

# Response

The following example shows the response:

Information

The response object is truncated for clarity. Default properties will be returned from the call.

{
  "itemList": [
    {
      "name": "Library123",
      "itemType": "List",
      "hasChilds": false,
      "siteId": "123456.sharepoint.com,12345678-1234-1234-1234-123456789000,00000000-1234-1234-1234-123456789000",
      "listId": "b2f13d23-e8fd-4301-8fa6-48d3db14b509"
    },
  ]
}
Zuletzt aktualisiert: 7. Februar 2025 um 08:35