function _doWrite(mPropertyBag) {
		var mParameters = {};
		if (mPropertyBag.parentVersion !== undefined) {
			mParameters.parentVersion = mPropertyBag.parentVersion;
		}
		if (this.isLanguageInfoRequired) {
			InitialUtils.addLanguageInfo(mParameters);
		}
		var sWriteUrl = InitialUtils.getUrl(this.ROUTES.CHANGES, mPropertyBag, mParameters);
		delete mPropertyBag.fileName;
		delete mParameters["sap-language"];
		var sTokenUrl = InitialUtils.getUrl(this.ROUTES.TOKEN, mPropertyBag, mParameters);

		var oRequestOption = WriteUtils.getRequestOptions(
			this.initialConnector,
			sTokenUrl,
			mPropertyBag.flexObjects || mPropertyBag.flexObject,
			"application/json; charset=utf-8",
			"json"
		);
		return WriteUtils.sendRequest(sWriteUrl, mPropertyBag.method, oRequestOption);
	}
Send request to a back end to write or update flex data.

@param {object} mPropertyBag - Property bag
@param {string} mPropertyBag.method - POST for writing new data and PUT for update an existing data
@param {object[]} [mPropertyBag.flexObjects] - Objects to be written (i.e. change definitions, variant definitions etc.)
@param {object} [mPropertyBag.flexObject] - Object to be updated
@param {string} mPropertyBag.url Configured - url for the connector
@param {string} [mPropertyBag.parentVersion] - Indicates if changes should be written as a draft and on which version the changes should be based on
@returns {Promise} Promise resolves as soon as the writing was completed