# Claims (single claim) \[OPTIONS]

The `OPTIONS` request to the `/parties/{partyId}/claims/{claimId}` endpoint returns a list of supported HTTP methods that can be used with the `/parties/{partyId}/claims/{claimId}` resource. This allows clients to determine which operations are permitted by the server for this endpoint.

## OPTIONS /parties/{partyId}/claims/{claimId}

>

```json
{"openapi":"3.0.0","info":{"title":"iSHARE API specifications","version":"3.0"},"tags":[{"name":"Participant Registry (Optional)","description":"Optional endpoints for the iSHARE Participant Registry API."}],"servers":[{"description":"iSHARE test network base domain","url":"https://isharetest.net"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 authorization based on bearer token. MUST contain “Bearer “ + access token value. Must be provided if restricted endpoints are needed."}},"headers":{"optionsAllowHeader":{"description":"List of allowed HTTP methods","schema":{"type":"string"}}}},"paths":{"/parties/{partyId}/claims/{claimId}":{"options":{"tags":["Participant Registry (Optional)"],"parameters":[{"style":"simple","name":"partyId","description":"The id of the party for which the allowed HTTP methods must be fetched","schema":{"type":"string"},"in":"path","required":true},{"style":"simple","name":"claimId","description":"The id of the claim for which the allowed HTTP methods must be fetched","schema":{"type":"string"},"in":"path","required":true}],"responses":{"204":{"headers":{"Allow":{"$ref":"#/components/headers/optionsAllowHeader"}},"description":"List the allowed HTTP methods for this endpoint"}}}}}}
```

### Request model

The following URL parameters must be used.

* `partyId` {url}/parties/{**partyId**} <mark style="color:red;">(Required)</mark>\
  **String**. The id of the party whose claims must be fetched. Can be anyone of the party id from id or alsoKnownAs attributes of that participant. Since all participants are automatically allocated the derived ishare did, that id is always an option to search for a participant.
* `claimId` {url}/parties/{partyId}/claims/{**claimId**} <mark style="color:red;">(Required)</mark>\
  **String**. The id of the claims that must be fetched.

### Example request

```
> Authorization: Bearer IIeDIrdnYo2ngwDQYJKoZIhvcNAQELBQAwSDEZMBcGA1UEAwwQaVNIQ

OPTIONS /parties/did%3Aishare%3AEU.NL.NTRLNL-10000001/claims/724ef843-68c3-4a9a-a244-8b17bcae33e1
```

### Example response

The server provides the response with status code 204.

The response contains the following HTTP header:

| Header | Example value       |
| ------ | ------------------- |
| Allow  | GET, PATCH, OPTIONS |
