Skip to content

Latest commit

 

History

History
104 lines (77 loc) · 3.7 KB

File metadata and controls

104 lines (77 loc) · 3.7 KB
title Get webApplicationSegment
description Read the properties and relationships of a webApplicationSegment object.
author dhruvinrshah
ms.localizationpriority medium
ms.subservice entra-applications
doc_type apiPageType
ms.date 12/19/2024

Get webApplicationSegment

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Read the properties and relationships of a webApplicationSegment object.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-app-proxy-read]

HTTP request

GET /applications/{applicationObjectId}/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments/{applicationSegment-id}

Optional query parameters

This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a webApplicationSegment object in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/applications/129d6e80-484f-4d1f-bfca-a6a859d138ac/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/ApplicationSegments/209efffb-0777-42b0-a65c-4e3ddb1ab3c0

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#applications('129d6e80-484f-4d1f-bfca-a6a859d138ac')/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments/$entity",
  "@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET applications('')/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments('')?$select=alternateUrl,externalUrl",
  "externalUrl": "https://channel1.contoso-appproxy.contoso.com/",
  "internalUrl": "https://contoso.com/",
  "alternateUrl": "",
  "id": "209efffb-0777-42b0-a65c-4e3ddb1ab3c0"
}