> For the complete documentation index, see [llms.txt](https://engineering-ing-inf-rd.gitbook.io/true-connector/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://engineering-ing-inf-rd.gitbook.io/true-connector/contract-negotiation/get_offered_resource_granted.md).

# Get offered resource after access is granted

When you have finished negotiation, you can query for resource again to see if we get artifact data.

Postman collection will preset required fields from previous request.

<details>

<summary>Multipart Form - Artifact Request Message</summary>

```
curl --location -k --request POST 'http://localhost:8184/proxy' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic aWRzVXNlcjpwYXNzd29yZA==' \
--data-raw '{
    "multipart": "form",
    "Forward-To": "http://ecc-provider:8889/data",
    "messageType":"ArtifactRequestMessage",
    "requestedArtifact": "{{contract_artifact}}",
    "transferContract": "{{transfer_contract}}",
    "payload" : ""
}'
```

</details>

If you have done everything correctly, you should get response with requested artifact, like in our example. Expected response is json document containing information about requested resource.

<details>

<summary>Artifact Request Message - Example response</summary>

```

{"firstName":"John","lastName":"Doe","address":"591  Franklin Street, Pennsylvania","checksum":"ABC123 2023/06/27 12:26:08","dateOfBirth":"2023/06/27 12:26:08"}
```

</details>

The appeariance of "John Doe" signifies the successful exchange with this contract.


---

# 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://engineering-ing-inf-rd.gitbook.io/true-connector/contract-negotiation/get_offered_resource_granted.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.
