---
title: "Resolve a Service Fabric partition."
method: GET
path: "/Services/{serviceId}/$/ResolvePartition"
tags: ["Service"]
---

# Resolve a Service Fabric partition.

`GET /Services/{serviceId}/$/ResolvePartition`

Resolve a Service Fabric service partition to get the endpoints of the service replicas.

## Path parameters

- `serviceId` string, required

## Query parameters

- `api-version` '6.0', required
- `PartitionKeyType` integer
- `PartitionKeyValue` string
- `PreviousRspVersion` string
- `timeout` integer

## Response `200`

A successful operation will return 200 status code.

- ResolvedServicePartition — Information about a service partition and its associated endpoints.
  - `Name` string, required — The full name of the service with 'fabric:' URI scheme.
  - `PartitionInformation` PartitionInformation, required — Information about the partition identity, partitioning scheme and keys supported by it.
    - `ServicePartitionKind` 'Invalid' | 'Singleton' | 'Int64Range' | 'Named', required — The kind of partitioning scheme used to partition the service.
    - `Id` string, uuid — An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
  - `Endpoints` ResolvedServiceEndpoint[], required — List of resolved service endpoints of a service partition.
    - `Kind` 'Invalid' | 'Stateless' | 'StatefulPrimary' | 'StatefulSecondary' — The role of the replica where the endpoint is reported.
    - `Address` string — The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener.
  - `Version` string, required — The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
