docs: def encode_mezzanine_asset(access_token, processor_id, asset_id, output_assetname, json_profile):
      '''Get Media Service Encode Mezanine Asset.
  
      Args:
          access_token (str): A valid Azure authentication token.
          processor_id (str): A Media Service Processor ID.
          asset_id (str): A Media Service Asset ID.
          output_assetname (str): A Media Service Asset Name.
          json_profile (str): A Media Service JSON Profile.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/Jobs'
      endpoint = ''.join([ams_rest_endpoint, path])
      assets_path = ''.join(["/Assets", "('", asset_id, "')"])
      assets_path_encoded = urllib.parse.quote(assets_path, safe='')
      endpoint_assets = ''.join([ams_rest_endpoint, assets_path_encoded])
      body = '{ \
      		"Name":"' + output_assetname + '", \
     		"InputMediaAssets":[{ \
         	  		"__metadata":{ \
         	     			"uri":"' + endpoint_assets + '" \
         	  		} \
       	 	}], \
     		"Tasks":[{ \
         	  		"Configuration":\'' + json_profile + '\', \
         	  		"MediaProcessorId":"' + processor_id + '", \
         	  		"TaskBody":"<?xml version=\\"1.0\\" encoding=\\"utf-16\\"?><taskBody><inputAsset>JobInputAsset(0)</inputAsset><outputAsset assetCreationOptions=\\"0\\" assetName=\\"' + output_assetname + '\\">JobOutputAsset(0)</outputAsset></taskBody>" \
        		}] \
  	}'
      return do_ams_post(endpoint, path, body, access_token)