Download a raw provider answer of a run (tenant:trade:msp:read)
GET /api/trade/v1/msp/runs/{id}/answers/{name}
Module: Trade · operationId: getMspRawAnswer · Tag: MSP billing · Auth: access token (Authorization: Bearer <accessToken>)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes | |
name |
path | string | yes | One of the run's rawAnswers. |
Responses
- 200 The stored answer as JSON (an answer that was not JSON is a JSON string), sent as an attachment named like the answer (
application/json) - 401 No valid session or bearer token (no body).
- 403 Missing permission, no active tenant in the token, or a missing CSRF token on a cookie write. (
application/json) - 404 Not found in the tenant. (
application/json)
Example 200 answer:
{
"pageNumber": 1,
"pageSize": 100,
"recordsFound": 160,
"subscriptions": [
{
"endCustomerId": "1100430325",
"endCustomerName": "Kanzlei Hofmann \u0026 Partner Rechtsanwälte mbB",
"quantity": 12,
"status": "ACTIVE",
"subscriptionId": "1700012345",
"subscriptionName": "Microsoft 365 Business Standard"
}
]
}
Example request
curl -X GET 'https://api.mbcom.cloud/api/trade/v1/msp/runs/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/answers/string' \
-H "Authorization: Bearer $ACCESS_TOKEN"