def post_track(session, user_id, project_id, latitude, longitude):
tracking_data = {<EOL>'<STR_LIT>': user_id,<EOL>'<STR_LIT>': project_id,<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': latitude,<EOL>'<STR_LIT>': longitude<EOL>}<EOL>}<EOL>response = make_post_request(session, '<STR_LIT>',<EOL>json_data=tracking_data)<EOL>json_data = response.json()<EOL>if response.status_code == <NUM_LIT:200>:<EOL><INDENT>return json_data['<STR_LIT:result>']<EOL><DEDENT>else:<EOL><INDENT>raise TrackNotCreatedException(message=json_data['<STR_LIT:message>'],<EOL>error_code=json_data['<STR_LIT>'],<EOL>request_id=json_data['<STR_LIT>'])<EOL><DEDENT>
Start tracking a project by creating a track