> For the complete documentation index, see [llms.txt](https://framework.ishare.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://framework.ishare.eu/detailed-descriptions/functional/primary-use-cases/1.-m2m-service-provision.md).

# 1. M2M service provision

In use case 1, a service is provided by the Service Provider to the Machine Service Consumer.

### Roles <a href="#id-1.m2mserviceprovision-roles" id="id-1.m2mserviceprovision-roles"></a>

<table data-header-hidden data-full-width="true"><thead><tr><th></th><th></th><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><br><br></td><td><strong>Delegation info PIP</strong></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td><em>No delegation</em></td><td>Service Provider</td><td>Entitled Party</td><td>Authorisation Reg</td><td>VC Variant</td></tr><tr><td>Use case variation</td><td>1. M2M service provision</td><td>1a</td><td><a href="/pages/vXCWUyzd69caNA8xGIb2">1b</a></td><td><a href="/pages/iZLwAtIeCjrV85gjauvn">1c</a></td><td><a href="/pages/h5C4Kk9FhkotubaGoBmY">1d</a></td></tr></tbody></table>

As no delegation takes place, the legal entity fulfilling the Entitled Party role also fulfils the Service Consumer role.

### Depiction <a href="#id-1.m2mserviceprovision-depiction" id="id-1.m2mserviceprovision-depiction"></a>

#### **Legal relations** <a href="#id-1.m2mserviceprovision-legalrelations" id="id-1.m2mserviceprovision-legalrelations"></a>

<figure><img src="/files/mDEmiK2F6RpAn3PMEvYQ" alt=""><figcaption></figcaption></figure>

#### **Use case interaction** <a href="#id-1.m2mserviceprovision-usecaseinteraction" id="id-1.m2mserviceprovision-usecaseinteraction"></a>

<figure><img src="/files/z0QqmMnh7FRNN60vlkBW" alt=""><figcaption></figcaption></figure>

### Description <a href="#id-1.m2mserviceprovision-description" id="id-1.m2mserviceprovision-description"></a>

**It is a prerequisite of this use case that:**

* The Service Provider has and manages its own entitlement information indicating what Entitled Parties are entitled to what (parts of) services\*;
* The Service Consumer can authenticate the Service Provider.
* The Service Provider is able to authenticate the Service Consumer.
* In this use case, the Entitled Party is also the Service Consumer.

\*The Service Provider can outsource this function to a third party

**The use case consists of the following steps:**

1. The Machine Service Consumer requests a service from the Service Provider.
2. The Service Provider authenticates the Machine Service Consumer and validates the iSHARE adherence of the Service Consumer;
3. The Service Provider authorises the Machine Service Consumer of the Service Consumer based on the entitlement information registered with the Service Provider;
4. The Service Provider executes the requested service;
5. The Service Provider provides the service result to the Machine Service Consumer.

### Sequence diagram <a href="#id-1.m2mserviceprovision-sequencediagram" id="id-1.m2mserviceprovision-sequencediagram"></a>

<figure><img src="/files/dw7R80rMoVxVaqG97Q8R" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://framework.ishare.eu/detailed-descriptions/functional/primary-use-cases/1.-m2m-service-provision.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
