# Add Bar

Raise a ticket to add a bar to a service.

# Parameters

These are in addition to the standard parameters.

Params Type Required
barCode string true

# Example “Add Bar” Request

# POST /v1/addBar

{
  "user": {
    "username": "MarioG",
    "password": "Stuttgart"
  },
  "service":{
    "cli": "07831123456"
  },
  "barCode": "M"
}

# Example “Add Bar” Response (Success)

{
  "ok": true,
  "ticket": {
    "id": "1224",
    "status": "Processing"
  }
}

# Example “Add Bar” Response (Error)

{
  "code": "102",
  "message": "You do not have permission to update this Bar (BF_002)",
  "ok": false
}