import json


def generateKoldieQueryCampaignIDJSONpayload(koldie_query_campaign_id):
  """
  Input: Takes in Kolide query campaign ID
  Output: Returns JSON payload for querying result(s) of query
  """
  koldie_query_campaign_id_payload = {
    "type":"select_campaign",
    "data":{
      "campaign_id": koldie_query_campaign_id
    }
  }
  return json.dumps(koldie_query_campaign_id_payload)