Messtone LLC Manages(Exxon):Chemical Handling

Messtone Devices Enables Exxon Chemical Storage and Handling API Test Endpoint Code Snippets(Node.js) Axios const axios=require(‘axios’);const options={method: ‘POST’,url: ‘https://api.chem-storagehandling-api.xom.cloud/v%7Bversions%7D/material-movements/plant-transfer&#8217;,headers:{‘content-type’:’application/json’,Authorization: ‘<REQUIRED>’},data:{externalUserrobertharper_Messtone: ‘ ‘,externalReferenceNumber: ‘ ‘,transactionReferenceNumber: ‘ ‘, documentDate: ‘ ‘,postingDate: ‘ ‘,documentHeaderText: ‘ ‘,materialMovementItems:[{movementType: ‘ ‘,materialId: ‘ ‘,quantity:0,unitOfMeasure: ‘ ‘,itemText: ‘ ‘,fromDetails:{plantId: ‘ ‘,batchId: ‘ ‘,storageLocationIdId: ‘ ‘},toDetails:{plantId: ‘ ‘,batchId: ‘ ‘,storageLocationId: ‘ ‘}}]}};try{const response=await axios.request(options);console.log(response.data);}catch(erro){console.error(error);}

Leave a comment