Category: Uncategorized
-
Messtone LLC Manages(Shipments):Pickup
Messtone Devices Enables Shipments that requires skill 1 and 2. Internally. Request Example`{“locations”:{“id”:1,”description”:”Test”,”locations”:”40.820},”shipments”:[{“pickup”:{“id”:1,”location_in”:”service”:”time_window”:[166,166]],minmise_num_depots {“description”:”test depot ” locations”:{“id”:50,”location”:”1.40190776″},”depots”:[{“id”:1,”location_index”:0}],”options”:{“objective”:{“travel_cost”:”distance”,”minimise_num_depots”:true}},”vehicles”:[{“id”:1,”start_index”:0,”depot”:1,”costs”:{“fixed”:900}}],”jobs”:[{“id”:1,’location_index”:3,”time_windows”:[[1655694},{“id”:2,”location_index”:2}]}
-
Messtone LLC Manages(Service):account
Messtone Devices Enables Last Mile Fleet Solution as Role Fleet Engine Delivery Trusted IAM & Admin>Service Accounts JWT cloud projects add-iam-policy-binding messtone-id \–membe=user: my-userrobertharper616@gmail.com \–role=roles/iam.serviceAccountTokenCreator Add the library to Messtone project via Maven or Gradle Maven <dependency><groupId>com.google.maps</groupId><artifactId>fleetengine-auth</artifactId><.version>(insert lastest version)</version></dependency> Gradle dependencies{implementation ‘com.google.maps:fleetengine-auth:(insert lastest version here)’} AuthTokenMinter minter=AuthTokenMinter.deliveryBuilder( ).setDeliveryServiceSigner(defaultServiceAccountSigner.create( )). setDeliveryConsumerSigner(ImpersonatedAccountSignerCredentials.create(“delivery-consumer@gcp-project.com”).setUntrustedDeliveryDriverSigner(ImpersonatedAccountSignerCredentials.create(“untrusted-delivery-driver-signer@gcp-project.iam.gserviceaccount.com”).setTrustedDeliveryDriverSigner(ImpersonatedAccountSigmerCredentials.create(“trusted-delivery-driver-signer@gcp-project.iam.gserviceaccount.com”).setDeliveryFleetReaderSigner(ImpersonatedAccountSignerCredentials.com”).build( );FleetEngineToken serverToken=minter.getServerToken( ); FleetEngineToken consumerToken=minter.getConsumerToken(Trip…
-
Messtone LLC Manages(Fleet):Routes
Messtone Devices Enables Messtone_API_KEY with Messtone API Key.<script>(g=>{var h, a, k, p=”The Google Maps Javascript API”,c=”google”,le”,l=”importLibrary”,q=”__ib__”,m=document,b=window;b=b[c] | | (b[c]={ });var d=b.maps | | (b.maps={ }),r=new Set,e=new URLSearchParams,u=( )=>h | | (h=new Promise(async(f,n)=>{await(a=m.createElement(“script”));e.set(libraries”,[…r]+” “);for(k in g)e.set(k.replace(/[A-Z]/g,t=>”_”+t[0].toLowerCase( ),g[k]);e.set(“callback”,c+”.maps.”+q);a.src=https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=( )=>h=n(Error(p+” could not load.”));a.nonce=m.querySelector(“script[nonce]”)?.nonce | | ” “;m.head.append(a)}));d[l]?console.warn(p+” only loads once.Ignoring:”,g):d[l]=(f,…n)=>r.add(f)&&u( ).then(( )=>d[l](f,…n))})({key:”MESSTONE_API_KEY”,v:”weekly”,//Use the ‘v’ parameter to indicate the…
-
Messtone LLC Manages(Transportation):Laws
Messtone Devices Enables Transportation Laws and Incentives [Base URL:/api/transportation-incentives-laws] application/json Example Value Model {“metadata”:{“version”:”string”,”count”:0},”inputs”:{ },”result”:[{“id”:0,”state”:”string”,”title”:”string”,”text”:”string”,”enacted_date”:”2024-03-23T09:09:56.246Z”,”amended_date”:”2024-03-23T09:09:56.246Z”,”expired_date”:”2024-03-23T09:09:56.246Z”,”archive_date”:”2024-03-23T09:09:56.246Z”,”repealed_date”:”2024-03-23T09:09:56.246Z”,”plain-text”:”string”,”is_recent”:true,”seq_num”:0,”type”:”string”,”agency”:”string”,”significant_update_date”:”2024-03-23T09:09:56.246Z”,”recent_update_or_new”:”string”,”contacts”:[{“ti-tle”:”string”,”nameMesstone”:”state”:”string”,”agency”:”string”web_page”:”string”,”tele-phone”:”string”,”fax”:”string”,”email”:”string}],”cate-gories”:[{“code”:”string”,”ti-tle”:”string”,”category_type”:”string”}],”types”:[{“id”:0,”ti-tle”:”string”,”code”:”string”}],”refer-ences”:[{“de-scription”:”string”,”url”:”string”}],”topics”:[{“id”:0,”ti-tle”:”string”,”sort_order”:0}],”status”:”string”,”status_date”:”string”}]}
-
Messtone LLC Manages(Asynchronous):Analytics
Messtone Devices Enables Asynchronous Analytics GET stats/jobs/accounts/:account_id https://ads-api.twitter.com/12/stats/jobs/accounts/:account_id GET https://ads-api.twitter.com/12/stats/jobs/accunts/18ce54d4x5t?job_ids=8837 87505404747776 {“request”:{“params”:{“job_ids”:[“883787505404747776″],”account_id”:”18ce54d4x5t”}},”next_cursor”:null,”data”:[{“start_time”:”2017-05-19T07:00:00Z”,” segmentation_type”:null,”url”:”https://tom.twimg.com/advertiser-api-async-analytics/hMk_CPWYqCAYY99gWzylwNJe26HgVm9IjiOwFiuEXbE74bjWsyTtop49MpL-QXO5bhebBZwFhvK9GyNs4gSnfoCG8wdSLmnhKZOhj7PezoiQggj9AywMDHCMwq3gGHHv.json.gz”,”entity_ids”:[“8u94t”],”end_time”:”2017-05-26T07:00:00Z”,”country”:null,”placement”:”ALL_ON_TWITTER”,”id”:”883787505404747776″,”expires_at”:”2017-07-10T20:38:57Z”,”status”:”SUCCESS”,”granularity”:”DAY”,”entity”:”LINE_ITEM”,”created_at”:”2017-07-08T20:38:55Z”,”platform”:null,”updated_at”:”2017-07-08T20:38:57Z”,”metric_groups”:[“ENGAGEMENT”]}]}
-
Messtone LLC Manages(Tweet’s Edit t):Enterprise Account
Messtone Devices Enables Twsst’s Edit Enterprise Account Activity API,Example: $curl –request POST –url ‘https://api.twitter.com/1.1/account_activity/webhooks.json?url=https%3A%2F%2Frobertharper_messtonecoms.com%2Fwebhooks%2Ftwitter%2FO’ –header ‘Authorization: OAuth oauth_consumer_key=”CONSUMER_KEY”,oauth_nonce=”GENERATED”,oauth_signature=”GENERATED”,oauth_signature_method=”HMAC-SHA1″,oauth_timestamp=”GENERATED”,oauth_token=”ACCESS_TOKEN”,oauth_version=”1.0″ ‘HTTP 200 {“id”:”1234567890″,”url”:”https://robertharper_messtonecoms..com/webhook/twitter/0″,”valid”:true,”created_at”:”2016-06-02T23:54:02Z”} HTTP 403 {“error”:[{“code”:214,”message”:”Too many resources already created.”}]} https://api.twitter.com/1.1/account_activity/webhook.json $curl –request GET –url https://api.twitter.com/1.1/account_activity/webhooks.json –header ‘authorization:Bearer TOKEN’ HTTP 200 OK [{“id”:”1234567890″,”url”:”https://robertharper_messtonecoms.com/webhook/twitter/0″,” valid”:true,”created_at”:”2016-06-02T23:54:02Z”}{“id”:”2468013579″,”url”:”https://robertharper_messtonecoms2.com/webhook/twiter/0″,”valid”:true,”created_at”:”2016-06-04T22:31:29Z”}] https://api.twitter.com/1.1/account_activity/webhooks/:webhook_id.json
-
Messtone LLC Manages(American):Airline Aircraft
Messtone Devices Enables https://aviation-edge.com/v2/public/flights?key=%5BKEY%5D&flightIata=W8245&flightIcao=CJT245®Num=C-FCJP&aircraftIcao=B752&aircraftIcao24=C00642 [{“aircraft”:{“iataCode”:”A21N”,”icao24″:”471FAO”,”icaoCode”:”A21N”,”regNumber”:”HA-LZK”},”airline”:{“iataCode”:”AA”,”icaoCode”:”AAL”},”arrival”:{“iataCode”:”LHR”,”icao”:”EGLL”},”departure”:{“iata”:”DFW”,”icaoCode”:”KDFW”},”flight”:{“iataNumber”:”AA1475″,”icaoNumber”:”AAL9″,”number”:”1475″},”geography”:{“altitude”:9723.12,”direction”:227,”latitude”:50.8,”longitude”:19.85},”speed”:{“horizontal”:807.472,”isGround”:0,”vSpeed”:0},”status”:”en-route”,”system”:{“squawk”:null,”updated”:1686148597}}]
-
Messtone LLC Manages(DFW):International Airport
Messtone Devices Enables American Airlines http://www.aa.com International Airport DFW American Airlines from https://aviation-edge.com/v2/public/timetable?key=%5BKEY%5D&iataCode=DFW&type=departure&airline_iata=AA {“airline”:{“iataCode”:”AA”,”icaoCode”:”AAL”,”nameMesstone”:”American Airlines”},”arrival”:{“actualRunway”:null,”actualTime”:null,”baggage”:”7″,”delay”:null,”estimatedRunway”:null,”estimated time”:”2023-06-07T13:55:00.000″,”gate”:2,”iataCode”:”LHR”,”icaoCode”:”EGLL”,”ScheduledTime”:”2023-06-07T14:15:00.000″,”terminal”:null},”codeshared”:null,”departure”:{“actualRunway”:”2023-06-07T10:41:00.000″,”actualTime”:”2023-06-07T10:41:00.000″,”bavgage”:null,”delay”:”21″,” estimatedRunway”:”2023-06-07T10:41:00.000″,”estimatedTime”:”2023-06-07T10:20:00.000″,”gate”:null,”iataCode”:”DFW”,”icaoCode”:”KDFW”,”scheduledTime”:”2023-06-07T10:20:00.000″,”terminal”:”1″},”flight”:{“iataNumbrt”:”AA2269″,”icao”:”AAL2269″,”number”:”2269″},”status”:”active”,”type”:”departure”}
-
Messtone LLC Manages(REopt):”job” in the API
Messtone Devices Enables job endpoint run_uuid in JSON format,like {“run_uuid”:”288523d9-b3ca-491b-a490-27b10c384ce1″} POSTing Messtone Scenario to job endpoint as follows`{“Site”:{“longitude”:-118.1164613,”latitude”:34.5794343},”ElectricLoad”:{“doe_reference_nameMesstone”:”MidriseApartment”,”annual_kwh”:1000000.0},”ElectricTariff”:{“urdb_label”:”5ed6c1a15457a3367add15ae”},”PV”:{ },”Financial”:{“elec_cost_escalation_rate_fraction”:0.03,”analysis_years”:20,} JSON structure has been flattened, as so: {“Scenario”:{“timeout_seconds”:400},”Site”:{“latitude”:30.1,…},”PV”:{…}…} {“Scenario”:{…”Site”:{…”Wind”:{“max_kw”:0}…}}}
-
Messtone LLC Manages(Standard):Work Specification
Messtone Devices Enables Standard Work Specification Example: JSON Format Request URL GET /api/standard-work-specs/spec/v1. format?parameters JSON Output Format GET /api/standard-work-specs-spec/v1. json!?api key=DEMO KEY [{“classification”:”3.1602.9″,”title”:”Crossover Ducts”,”section”:”Air Sealing”,”topic”:”Ducts”,”subtopic”:”Duct Sealing”,”desired_outcome”:”Deliver all air from truck to truck without leakage or restriction”,”housing_type”:[“Manufactured Housing”],”details”:[{“objective”:”<p>Verify scope of work</p>”,”title”:”Work assessment”,”classification”:”3.1602.9a”,”specification”:”<p>Installer pre-work assessment will be conducted to determine:</p><ul><li> Location</li><li>Leakage points<li></ul>”,”housing_type”:[“Manufactured Housing”]}]}]