Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST http://www.tollpost.no/XMLServer/rest/trackandtrace?jsonp=jQuery12345_67890 > output
- Please enter content (application/x-www-form-urlencoded) to be POSTed:
- q=00370702055100260682&type=AVS,KOID,ISN,SAM,FAK,USR,MOT,OAV
- jQuery12345_67890({
- "TrackingInformationResponse":{
- "shipments":[
- {
- "shipmentId":"70702055412061129",
- "uri":"/XMLServer/rest/trackandtrace/70702055412061129",
- "assessedNumberOfItems":1,
- "deliveryDate":"2013-07-02T16:00:00",
- "estimatedTimeOfArrival":"2013-07-02T16:00:00",
- "service":{
- "code":"19",
- "name":"MyPack",
- "productFlow":"Samlast"
- },
- "consignor":{
- "name":"KOMPLETT.NO",
- "address":{
- "street1":"\u00D8STRE KULLER\u00D8D",
- "city":"SANDEFJORD",
- "countryCode":"NO",
- "country":"NORGE",
- "postCode":"3241"
- },
- "customerNumber":"0159319"
- },
- "consignee":{
- "name":"ANDERS EINAR HILDEN",
- "address":{
- "street1":"R\u00D8YSUMSLINNA 71",
- "city":"BRANDBU",
- "countryCode":"NO",
- "country":"NORGE",
- "postCode":"2760"
- }
- },
- "statusText":{
- "header":"1 av 1 kolli - Sendingen er mottatt terminal og klargj\u00F8res for levering",
- "body":"1 av 1 kolli - Sendingen er mottatt terminal og klargj\u00F8res for levering",
- "dateTime":"2013-07-01T15:21:00",
- "location":{
- "locationId":"03",
- "displayName":"OSLO",
- "name":"OSLO",
- "countryCode":"NO",
- "country":"NORGE",
- "postcode":"0668",
- "city":"OSLO",
- "locationType":"DEPOT"
- }
- },
- "status":"EN_ROUTE",
- "totalWeight":{
- "value":"1",
- "unit":"kg"
- },
- "assessedWeight":{
- "value":"1",
- "unit":"kg"
- },
- "assessedVolume":{
- "value":"17",
- "unit":"dm3"
- },
- "items":[
- {
- "itemId":"00370702055100260682",
- "dropOffDate":"2013-07-01T15:21:00",
- "status":"EN_ROUTE",
- "statusText":{
- "header":"Sendingen er mottatt terminal og klargj\u00F8res for levering",
- "body":"Sendingen er mottatt terminal og klargj\u00F8res for levering",
- "dateTime":"2013-07-01T15:21:00"
- },
- "events":[
- {
- "eventTime":"2013-07-01T15:21:00",
- "eventCode":"4",
- "eventDescription":"Sendingen er mottatt terminal og klargj\u00F8res for levering",
- "location":{
- "locationId":"03",
- "displayName":"OSLO",
- "name":"OSLO",
- "countryCode":"NO",
- "country":"NORGE",
- "postcode":"0668",
- "city":"OSLO",
- "locationType":"DEPOT"
- },
- "eventType":"KP"
- }
- ],
- "references":[
- {
- "value":"00370702055100260682",
- "type":"AVM",
- "name":"Avsenders kollo merke"
- }
- ],
- "acceptors":[
- ],
- "previousItemStates":[
- ]
- }
- ],
- "additionalServices":[
- ],
- "splitStatuses":[
- ],
- "shipmentReferences":[
- {
- "value":"00370702055100260682",
- "type":"AVM",
- "name":"Avsenders kollo merke"
- }
- ],
- "enableAgreedDelivery":false,
- "forwardedByPosten":false,
- "messages":[
- ],
- "servicePartner":{
- "name":"COOP MARKED BRANDBU",
- "customerNumber":"3265576",
- "address":{
- "street1":"TORGV 3",
- "city":"BRANDBU",
- "countryCode":"NO",
- "country":"NORGE",
- "postCode":"2760"
- }
- },
- "price":[
- ],
- "acceptors":[
- ],
- "events":[
- ],
- "qualifier":0
- }
- ]
- }
- })
- POST http://www.tollpost.no/internett1/index.php?t=trackandtrace.json&type=getServicepartner
- Please enter content (application/x-www-form-urlencoded) to be POSTed:
- ExternalID=3265576
- {
- "success":true,
- "WGS84x":"60.421000",
- "WGS84y":"10.506000",
- "OpenMon":"08:00",
- "OpenTue":"08:00",
- "OpenWed":"08:00",
- "OpenThu":"08:00",
- "OpenFri":"08:00",
- "OpenSat":"09:00",
- "OpenSun":"",
- "CloseMon":"20:00",
- "CloseTue":"20:00",
- "CloseWed":"20:00",
- "CloseThu":"20:00",
- "CloseFri":"20:00",
- "CloseSat":"18:00",
- "CloseSun":""
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement