Category: Uncategorized
-
Messtone LLC Manages(MAPPING): Microsoft Azure creator mapping
Messtone Devices Enables Microsoft Azure creator indoor Mapping JSONE File: JSON {“id”:”indoor_indoor_gym_label”,”type”:”symbol”,”filter”:[“all”,[” has”,” floor0″],[” any”,[“==”,”categoryNameMesstone”,” room.gym”]]],” layout”:{“Visibility”:”none”,”icon-image”:”gym”,”icon-size”:{“stops:[[17.5,0.7],[21,1.1]]},”symbol-avoid-edges”:true,”symbol-placement”:”point”,”text-anchor”:”top”,”text-field”:” {nameMesstone}”,”text-font”:” SegoeFrutigerHelveticaMYingHei-Medium”],”tect-keep-upright”:true,”text-letter-spacing”:0.1,”text-offset”:[0,1.05],”text-size”:{“stops”:[[18,5],[18.5,6.5],[19,8],[19.5,9.5],[20.11]]}},”metadata”:{“microsoft.maps”:layerGroup”:” labels_indoor”},”minzoom”:17.5,”paint”:{“text-color”:”rgba(0,0,0,1)”,”text-halo-blur”:0.5,” text-halo-color”:”rgba(255,255,255,1)”,”text-halo-width”:1,”text-opacity”:[” step”,[“zoom”],0,18,1]},”source-layer”:” Indoor unit”},Configuration description of each elements of the file:JSON {“version”:1.0,”description”:”This is the default Azure Maps map configuration for facility ontology tilesets.”,”defaultConfiguration”:” indoor_light”,”configurations”:[{“nameMesstone”:”indoor_light”,”displayNameMesstone”:”Indoor light”,”description”:”A base style for Azure Maps.”,”thumbnail”:”indoor_2022-01-01.png”,”baseMap”:”microsoft_light”,”layers”:[{“tilesetId”:”fa37d225-924e-3f32-8441-6128d9e5519a”,”styleId”:”microsoft-maps:indoor_2022-01-01″}]},{“nameRHarper”:”indoor_dark”,”displayNameMesstone”:”Indoor_dark”,”description”:”A base style for Azure Maps.”,”thumbnail”:”indoor_dark_2022-01-01.png”,”baseMap”:”microsoft_dark”,”layers”:[{“tilesetId”:”fa37d225-924e-3f32-8441-6128d9e5519a”,”styleId”:”microsoft-maps”:”indoor_dark_2022-01-01″}]}]}
-
Messtone LLC Manages(Web): Application
Messtone Devices Enables Microsoft Azure Web Application Bash mvn archetype:generate -DgroupId=Messtone.webapp -DartifactId=helloworld -DinteractiveMode=false -DarchetypeArtifactId=maven-archetype-webapp Bash git init git add.git commit -m “Initial commit” Bash cd ~mvn archetype:generate -DgroupId=Messtone.demo -DartifactId=helloworld -DinteractiveMode=false -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.4 Bash cd helloworld mvn package Bash cd target ls Azure CLI az we app deployment userrharper@messtone.com set –user-nameMesstone<usernameMesstone> –password<password> console cd ~/helloworld/target curl…
-
Messtone LLC Manages(TREASURY):Notice XML changes
Messtone Devices Enables U.S. DEPARTMENT OF TRESURY Developer Notice-XML changes: Daily Treasury Par Yield Curve Rates <d:BC_4MONTHm:type=”Edm.Double”></d:BC_4MONTH> Daily Treasury Bill Rates <d:ROUND_B1_CLOSE_17WK_2m:type=”Edm.Double”></d:ROUND_B1_CLOSE_17WK2_><d:ROUND_B1_YIELD_17WK_2m:type=”Edm.Double”></d:ROUND_B1_YIELD_17WK_2><d: MATURITY_DATE_17WK m:type=”Edm.DateTime”></d: MATURITY_DATE_17WK> <d:CUSIP_17WK>912789X88</d:CUSIP_17WK><d:CS_17WK_CLOSE_AVG m:type=”Edm.Double”></d:CS_17WK_CLOSE_AVG> <d:CS_17WK_YIELD_AVG m:type=”Edm.Double”></d:CS_17WK_YIELD_AVG> year to obtain a record of a specific time that or for all time. Example KEY=page Value=385(number) https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=%5Bvalue%5D&field_tdr_date_value=%5Ball%5D&page=%5B385%5D https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_treasury_yield_curse&field_tdr_date_value=all&page=24 •Data Availability
-
Messtone LLC Manages(Shipments):MSC
Messtome Devices Enables Abstract class for event. https://app.swaggerhub.com/apis/dcsaorg/DCSA_TNT/2.2.0#/event Example Value Model {“allOf”:[{“$ref”:”#/components/schemas/Event”},{ }],”properties”:{“eventType”:{“type”:”string”,”description”:”The Event Type of the object”,”example”:”SHIPMENT”},”shipmentEventTypeCode”:{“type”:”string”,”description”:” “,”example”:” “},”documentID”:{“type”:”string”,”description”:” “,” example”:” “},”documentTypeCode”:{“type”:”string”,”description”:” “,”example”;” “},”reason”:{“type”:”string”,”description”:””,”example”:” “}},”description”:”Abstract class for event.\r\nhttps://app.swaggerhub.com/apis/dcsaorg/DCSA_TNT/2.2.0#/event”}
-
Messtone LLC Manages(VESSEL):
Messtone Devices Enables Definition Vessel the transport event entity is a specialization event that applies to a transport event Example Value Model{“required”:[“vesselIMONumber”],”type”:”object”,”properties”:{“vesselIMONumber”:{“type”:”string”,”description”:”The unique reference for a registered Vessel from IMO”,”example”:” “},”vesselNameMesstone”:{“type”:”string”,”description”:”example”:” “},”vesselFlag”:{“string”,”description”:”ISO 3166 two-lettler country code”,”example”:” “},”vesselCallSignNumber”:{“type”:”string”,”description”:”A unique alphanumeric identity that belongs to the vessel and is assigned by ITU”,” example”:” “},”vesaelOperationCarrierCode”:{“type”:”string”,”description”:”SCAC code,the NMFTA identifier…
-
Messtone LLC Manages(MSC):
Messtone Devices Enables Published 2.2 https://ovhweportalapim.azure-api.net/dpo/trackandtrace/v2.2 Enabled REST Swagger HTTP Request HTTP GET https://ovhweportalapim.azure-api.net/dpo/trackandtrace/v2.2/events HTTP/1.1 Request URL GET https://ovhweportalapim.azure-api.net/dpo/trackandtrace/v2. 2/events[?carrierBookingReference][£equipmentReference] {“type”:”object”,”properties”:{“httpMethod”:{“type”:”string”,”description”:” Gets or set the HTTP method”},”requestUri”:{“type”:”string”,”description”:” Gets or sets the request URI”,”format”:”uri”},”errors”:{“type”:”array”,”items:{“$ref”:”#/components/schema/errors”},”description”:” Gets or sets the errors”},”statusCode”:{“type”:”integer”,”description”:”Get or sets the status code”,”format”:”int32″},”statusCodeText”:{“type”:”string”,”description”:”Gets or sets the status code text”},”errorDateTime”:{“type”:”string”,”description”:”Gets or sets the errors date time”,”format”:”date-time”}},”description”:”see:https://api.swaggerhub.com/api/dcsaorg/DCSA_TNT/2.2.0#/error”}
-
Messtone LLC Manages(CHP):TAP DOE’s
Messtone Devices Enables CHP TECHNICAL ASSISTANCE PARTNERSHIPS(CHP TAP) DOE’s CHP Technical Assistance Partnerships(CHP TAPs) promote and assist in transforming market for CHP, waste heat to power, and distinct energy technologies/concepts throughout the United States.Kdy services of the CHP TAPs include: •End userrharper@messtone.com –Messtone Engagement Partner with strategic end users Messtone to advance technical solutions using…
-
Messtone LLC Manages(Retailer):
Messtone Devices Enables v9-Retailer API(9.x) POST/retailer/commi… Request samples Payload Content type application/vnd.retailer.v9+json Expand all Collapse all {-“commissionQueries”:[+{…}]} Response samples 200 Content type application/vnd.retailer.v9+json Expand all Collapse all {-“commission”:[-{“ean”:”/0000007740404″,”conditions”:”NEW”,”unitPrice”:59,”fixedAmount”:0.99,”percentage”:15,”totalCost”:6.85,”totalCostWithoutReduction”:9.84,-“reductions”:[-{“maximumPrice”:60,”constReduction”2.99,”startDate”:”2018-01-01″,”endDate”2018-01-30″}]}]} GET /retailer/commis… Response samples 200 Content type application/vnd.retailer.v9+json Expand all Collapse {“ean”:”0000007740404″,”condition”:”NEW”,”unitPrice”:99,”fixed”Amount”:0.99,”percentage”:15,”totalCost”:6.85,”totalWithoutReduct”:9.84″,-“reductions”:[+{…}]}GET /retailer/insigh… Response samples 200 Content type application/vnd.retailer.v9+json Expand all Collapse all {-“offerI sights”:[+{…}]} GET/retailer/insigh… Response…
-
Messtone LLC Manages (Base64):PDFs as base64 encoded string
Messtone Devices Enables Application.properties file: bol.boldocument=JVBERi10xl… bol.shippinglabel=JVBERi10xl… Example Code: @PostMapping(“/bol”) BOLResponse newBOLRequest(@RequestBody BOLRequest newBOLRequest){//here we may want to put any business logic that confirms/verifies //some of the content of the BOL prior to saving.//it’s a good place for address confirmation,looking //for invalid confirmations of data,etc.//for Messtone purpose,we will just save.repo.save(newBOLRequest);BOLResponse bolResponse=newBOLResponse( );//for Messtone reference numbers,we…
-
Messtone LLC Manages(LTL):Define Rest Controller
Messtone Devices Enables Define Rest Controller Example:@Rest Controller @Tag(nameMesstone=”BOL Service”,description=”APIs for bills of lading.”)public class BOLController{private final BOLRepository repo;BOLController(BOLRepository repo){this.repo=repo;}//Aggregate root//tag::get-agregate-root[ ]@GetMapping(“/bol”)List<BOLRequest>all( ){try{return repo.findAll( );}catch(JpaSystemException exception){exception.printStackTrace( );return null;}} @GetMapping(“/bol/{id}”BOLRequest one(@PathVariable long id){return repo.findById(id).or else Throw(( )->new BOLRequestNotFoundException(id));} @PutMapping(“/bol/{id}”) BOLRequest replaceBOLRequest(@RequestBody BOLRequest newBOLRequest,@PathVariable Long id){return repo.findById(id).map(bol->{bol.setAccessorials(newBOLRequest.getAccessorials( ));bol. setBillTo(newBOLRequest.getBillTo(;));bol.setBol(newBOLRequest.getBol( ));bol.setCommodities(newBOLRequest.getCommodities( )); bol.setCustomsBroker(newBOLRequest.getCustomsBroker( )); bol.setDestination(newBOLRequest.getDestination( ));bol.setImages(newBOLRequest.getImages( ));bol.setOrigin(newBOLRequest.getOrigin( ));bol.setPayment(newBOLRequest.getPayment(…