Sample code

This is a sample JavaScript call:
var jsonData = {"FSFORMULA":[
{"DESCRIPTION":"New Description",
"UOM_CODE":"KG",
"COMMENTTXT":"Updated by API"}]
};		
var url = "https://apiserver/PLMPROCESS/OptivaAPi/api/FORMULA/EX-002/0001"; 
$.ajax({
			type: "POST",
			contentType: "application/json",
			dataType: "json",
			url: uri,
			data: jsonData,
			headers: {
					'Authorization': "Bearer XOUOUAUDUPDOUPODUP" 
			},
			success: function (data) {
				processData(data);
			},
			error: function (error) {
handleError(error);
			}
		});