Get Terms of Service with User
GET{{API_BASE_URL}}/shop/v1/discovery/events/:eventIdentifier/terms-of-service/users/:userId
Endpoint Description
This endpoint retrieves the terms of service for a specific event associated with a user. It allows clients to access the relevant consent policies and approval status for the user in relation to the event identified by eventIdentifier.
Request
Method: GET
URL: {{API_BASE_URL}}/shop/v1/discovery/events/:eventIdentifier/terms-of-service/users/:userId
URL Parameters
eventIdentifier(string): The unique identifier for the event whose terms of service are being requested.userId(string): The unique identifier for the user whose terms of service are being retrieved.
Response
Status Code: 200
Content-Type: application/vnd.aditus.v1+json
Response Body Structure
The response body contains the following structure:
{
"data": {
"userId": "string",
"eventId": "string",
"items": [
0: {
"uniqueId": "string",
"displayOrder": "integer",
"version": "string",
"content": "string",
"consentPolicy": "string",
"isApproved": "boolean"
}
]
}
}
Response Fields
data: An object containing the details of the terms of service.userId: The unique identifier for the user.eventId: The unique identifier for the event.items: An array of terms of service items.uniqueId: A unique identifier for the terms of service item.displayOrder: The order in which the item should be displayed.version: The version of the terms of service.content: The actual content of the terms of service.consentPolicy: The policy related to user consent.isApproved: A boolean indicating whether the terms have been approved by the user.
This endpoint is essential for ensuring that users are aware of and have consented to the terms associated with specific events they are participating in.
Authentication#auth
This endpoint does not require authentication.
Responses#responses
200OKGet Terms of Service with User