@staticmethod<EOL><INDENT>def create_vacation(body):<DEDENT>
arequest = requests.post(VACATIONS_URL, headers=HEADERS, data=json.dumps(body))<EOL>status_code = str(arequest.status_code)<EOL>if status_code != '<STR_LIT>':<EOL><INDENT>_LOGGER.error("<STR_LIT>" + status_code)<EOL>_LOGGER.error(arequest.json())<EOL>return False<EOL><DEDENT>return arequest.json()<EOL>
Create a vacation.