POST Legal Agreement Acceptances Create

Headers
  • Accept
    Type: string
    required

    Accept header

  • Authorization
    Type: string
    required

    Authorization header

  • Content-Type
    Type: string
    required

    Content-Type header

  • API-VERSION
    Type: string
    required

    API version

  • Application
    Type: string
    required

    Application key

  • X-Request-ID
    Type: string
    required

    Unique request identifier

  • Device-UUID
    Type: string
    required

    Device UUID

  • X-QB-Enabled
    enum
    required

    Header which if sent with value 'true' will allow usage of the query building feature in response (through the request's query params). It is mandatory for this part of the documentation.

    values
    • true
    • false
Body
application/json
Empty object
Responses
  • application/json
Request Example for post/legal-agreement-acceptances
curl https://api-public-demo.menu.app/api/legal-agreement-acceptances \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'Application: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --header 'Device-UUID: e8492c94-7a41-46c9-ab7e-2894693887ff' \
  --header 'X-QB-Enabled: true' \
  --data '{}'
{
  "status": "OK",
  "code": 200,
  "data": {
    "legal_agreement_acceptance": {
      "id": "877162ad-3463-4c01-97a8-ae425edfc790",
      "device_uuid": "e8492c94-7a41-46c9-ab7e-2894693887ff"
    }
  }
}