getCarriersResponse.json 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148
  1. {
  2. "data":[
  3. {
  4. "id":"carrier-integration-ups-ws-v3-test",
  5. "type":"carrier-integration",
  6. "attributes":{
  7. "name":"United Parcel Services (UPS)",
  8. "description":"Founded in 1907 as a messenger company in the United States, UPS has grown into a multi-billion-dollar corporation by clearly focusing on the goal of enabling commerce around the globe.",
  9. "logo":"https://temando-carrier-service-dmidwaffle-eu-west-1-storage.s3-eu-west-1.amazonaws.com/carrier-integration-ups-ws-v3-test.svg",
  10. "services":[
  11. {
  12. "routes":[
  13. {
  14. "origin":{
  15. "include":[
  16. "AU",
  17. "US",
  18. "GB"
  19. ]
  20. },
  21. "destination":{
  22. "exclude":[
  23. ]
  24. }
  25. }
  26. ],
  27. "capabilities":{
  28. "authorityToLeave":false,
  29. "homeCollection":false,
  30. "deliveryTimeFrame":false,
  31. "signature":true,
  32. "paperlessTrade":true,
  33. "cashOnDelivery":false,
  34. "homeDelivery":false,
  35. "return":false
  36. },
  37. "name":"UPS Next Day Air",
  38. "id":"01"
  39. },
  40. {
  41. "routes":[
  42. {
  43. "origin":{
  44. "include":[
  45. "AU",
  46. "US",
  47. "GB"
  48. ]
  49. },
  50. "destination":{
  51. "exclude":[
  52. ]
  53. }
  54. }
  55. ],
  56. "capabilities":{
  57. "authorityToLeave":false,
  58. "homeCollection":false,
  59. "deliveryTimeFrame":false,
  60. "signature":true,
  61. "paperlessTrade":true,
  62. "cashOnDelivery":false,
  63. "homeDelivery":false,
  64. "return":false
  65. },
  66. "name":"UPS Second Day Air",
  67. "id":"02"
  68. },
  69. {
  70. "routes":[
  71. {
  72. "origin":{
  73. "include":[
  74. "AU",
  75. "GB"
  76. ]
  77. },
  78. "destination":{
  79. "exclude":[
  80. ]
  81. }
  82. },
  83. {
  84. "origin":{
  85. "include":[
  86. "US"
  87. ]
  88. },
  89. "destination":{
  90. "exclude":[
  91. "PT",
  92. "GB",
  93. "GQ",
  94. "LY"
  95. ]
  96. }
  97. }
  98. ],
  99. "capabilities":{
  100. "authorityToLeave":false,
  101. "homeCollection":false,
  102. "deliveryTimeFrame":false,
  103. "signature":true,
  104. "paperlessTrade":true,
  105. "cashOnDelivery":false,
  106. "homeDelivery":false,
  107. "return":false
  108. },
  109. "name":"UPS Ground",
  110. "id":"03"
  111. },
  112. {
  113. "routes":[
  114. {
  115. "origin":{
  116. "include":[
  117. "AU"
  118. ]
  119. },
  120. "destination":{
  121. "exclude":[
  122. "BM",
  123. "DK",
  124. "NU"
  125. ]
  126. }
  127. },
  128. {
  129. "origin":{
  130. "include":[
  131. "US"
  132. ]
  133. },
  134. "destination":{
  135. "exclude":[
  136. "NI",
  137. "SO",
  138. "ST"
  139. ]
  140. }
  141. },
  142. {
  143. "origin":{
  144. "include":[
  145. "GB"
  146. ]
  147. },
  148. "destination":{
  149. "exclude":[
  150. ]
  151. }
  152. }
  153. ],
  154. "capabilities":{
  155. "authorityToLeave":false,
  156. "homeCollection":false,
  157. "deliveryTimeFrame":false,
  158. "signature":true,
  159. "paperlessTrade":true,
  160. "cashOnDelivery":false,
  161. "homeDelivery":false,
  162. "return":false
  163. },
  164. "name":"UPS Worldwide Express",
  165. "id":"07"
  166. },
  167. {
  168. "routes":[
  169. {
  170. "origin":{
  171. "include":[
  172. "AU"
  173. ]
  174. },
  175. "destination":{
  176. "exclude":[
  177. "GQ"
  178. ]
  179. }
  180. },
  181. {
  182. "origin":{
  183. "include":[
  184. "US",
  185. "GB"
  186. ]
  187. },
  188. "destination":{
  189. "exclude":[
  190. ]
  191. }
  192. }
  193. ],
  194. "capabilities":{
  195. "authorityToLeave":false,
  196. "homeCollection":false,
  197. "deliveryTimeFrame":false,
  198. "signature":true,
  199. "paperlessTrade":true,
  200. "cashOnDelivery":false,
  201. "homeDelivery":false,
  202. "return":false
  203. },
  204. "name":"UPS Worldwide Expedited",
  205. "id":"08"
  206. },
  207. {
  208. "routes":[
  209. {
  210. "origin":{
  211. "include":[
  212. "AU"
  213. ]
  214. },
  215. "destination":{
  216. "exclude":[
  217. "EH",
  218. "SO"
  219. ]
  220. }
  221. },
  222. {
  223. "origin":{
  224. "include":[
  225. "US"
  226. ]
  227. },
  228. "destination":{
  229. "exclude":[
  230. ]
  231. }
  232. },
  233. {
  234. "origin":{
  235. "include":[
  236. "GB"
  237. ]
  238. },
  239. "destination":{
  240. "exclude":[
  241. "LY"
  242. ]
  243. }
  244. }
  245. ],
  246. "capabilities":{
  247. "authorityToLeave":false,
  248. "homeCollection":false,
  249. "deliveryTimeFrame":false,
  250. "signature":true,
  251. "paperlessTrade":true,
  252. "cashOnDelivery":false,
  253. "homeDelivery":false,
  254. "return":false
  255. },
  256. "name":"UPS Standard",
  257. "id":"11"
  258. },
  259. {
  260. "routes":[
  261. {
  262. "origin":{
  263. "include":[
  264. "AU",
  265. "US",
  266. "GB"
  267. ]
  268. },
  269. "destination":{
  270. "exclude":[
  271. ]
  272. }
  273. }
  274. ],
  275. "capabilities":{
  276. "authorityToLeave":false,
  277. "homeCollection":false,
  278. "deliveryTimeFrame":false,
  279. "signature":true,
  280. "paperlessTrade":true,
  281. "cashOnDelivery":false,
  282. "homeDelivery":false,
  283. "return":false
  284. },
  285. "name":"UPS Three-Day Select",
  286. "id":"12"
  287. },
  288. {
  289. "routes":[
  290. {
  291. "origin":{
  292. "include":[
  293. "AU",
  294. "US",
  295. "GB"
  296. ]
  297. },
  298. "destination":{
  299. "exclude":[
  300. ]
  301. }
  302. }
  303. ],
  304. "capabilities":{
  305. "authorityToLeave":false,
  306. "homeCollection":false,
  307. "deliveryTimeFrame":false,
  308. "signature":true,
  309. "paperlessTrade":true,
  310. "cashOnDelivery":false,
  311. "homeDelivery":false,
  312. "return":false
  313. },
  314. "name":"UPS Next Day Air Saver",
  315. "id":"13"
  316. },
  317. {
  318. "routes":[
  319. {
  320. "origin":{
  321. "include":[
  322. "AU"
  323. ]
  324. },
  325. "destination":{
  326. "exclude":[
  327. "MD"
  328. ]
  329. }
  330. },
  331. {
  332. "origin":{
  333. "include":[
  334. "US"
  335. ]
  336. },
  337. "destination":{
  338. "exclude":[
  339. "JE",
  340. "MT"
  341. ]
  342. }
  343. },
  344. {
  345. "origin":{
  346. "include":[
  347. "GB"
  348. ]
  349. },
  350. "destination":{
  351. "exclude":[
  352. "AU",
  353. "JP"
  354. ]
  355. }
  356. }
  357. ],
  358. "capabilities":{
  359. "authorityToLeave":false,
  360. "homeCollection":false,
  361. "deliveryTimeFrame":false,
  362. "signature":true,
  363. "paperlessTrade":true,
  364. "cashOnDelivery":false,
  365. "homeDelivery":false,
  366. "return":false
  367. },
  368. "name":"UPS Worldwide Express Plus",
  369. "id":"54"
  370. },
  371. {
  372. "routes":[
  373. {
  374. "origin":{
  375. "include":[
  376. "AU",
  377. "US",
  378. "GB"
  379. ]
  380. },
  381. "destination":{
  382. "exclude":[
  383. ]
  384. }
  385. }
  386. ],
  387. "capabilities":{
  388. "authorityToLeave":false,
  389. "homeCollection":false,
  390. "deliveryTimeFrame":false,
  391. "signature":true,
  392. "paperlessTrade":true,
  393. "cashOnDelivery":false,
  394. "homeDelivery":false,
  395. "return":false
  396. },
  397. "name":"UPS Second Day Air A.M.",
  398. "id":"59"
  399. },
  400. {
  401. "routes":[
  402. {
  403. "origin":{
  404. "include":[
  405. "AU"
  406. ]
  407. },
  408. "destination":{
  409. "exclude":[
  410. "SD",
  411. "YE"
  412. ]
  413. }
  414. },
  415. {
  416. "origin":{
  417. "include":[
  418. "US",
  419. "GB"
  420. ]
  421. },
  422. "destination":{
  423. "exclude":[
  424. ]
  425. }
  426. }
  427. ],
  428. "capabilities":{
  429. "authorityToLeave":false,
  430. "homeCollection":false,
  431. "deliveryTimeFrame":false,
  432. "signature":true,
  433. "paperlessTrade":true,
  434. "cashOnDelivery":false,
  435. "homeDelivery":false,
  436. "return":false
  437. },
  438. "name":"UPS Saver",
  439. "id":"65"
  440. }
  441. ],
  442. "configuration":{
  443. "description":"The credentials schema of the UPS integration",
  444. "id":"http://carrier-gateway.temando.com/schema/ups/configuration#",
  445. "type":"object",
  446. "properties":{
  447. "configuration":{
  448. "allOf":[
  449. {
  450. "$ref":"http://carrier-gateway.temando.com/schema/generic/configuration+v1#"
  451. }
  452. ],
  453. "properties":{
  454. "carrier":{
  455. "properties":{
  456. "developerLicenseNumber":{
  457. "minLength":16,
  458. "description":"The developer license number",
  459. "type":"string",
  460. "maxLength":16
  461. }
  462. }
  463. },
  464. "client":{
  465. "allOf":[
  466. {
  467. "$ref":"http://carrier-gateway.temando.com/schema/ups/credentials#"
  468. }
  469. ]
  470. }
  471. }
  472. },
  473. "client":{
  474. "description":"The credentials schema of the UPS integration",
  475. "id":"http://carrier-gateway.temando.com/schema/ups/credentials#",
  476. "type":"object",
  477. "properties":{
  478. "accountHolder":{
  479. "allOf":[
  480. {
  481. "$ref":"http://carrier-gateway.temando.com/schema/generic/address+v4#"
  482. }
  483. ],
  484. "description":"The account holder address and contact details",
  485. "required":[
  486. "addressLines",
  487. "countryCode",
  488. "postalCode",
  489. "contact"
  490. ]
  491. },
  492. "endpoints":{
  493. "description":"Configuration of UPS endpoints to use",
  494. "type":"object",
  495. "properties":{
  496. "license":{
  497. "default":"https://wwwcie.ups.com/webservices/License",
  498. "format":"uri",
  499. "type":"string"
  500. },
  501. "void":{
  502. "default":"https://wwwcie.ups.com/webservices/Void",
  503. "format":"uri",
  504. "type":"string"
  505. },
  506. "rate":{
  507. "default":"https://wwwcie.ups.com/webservices/Rate",
  508. "format":"uri",
  509. "type":"string"
  510. },
  511. "pickup":{
  512. "default":"https://wwwcie.ups.com/webservices/Pickup",
  513. "format":"uri",
  514. "type":"string"
  515. },
  516. "ship":{
  517. "default":"https://wwwcie.ups.com/webservices/Ship",
  518. "format":"uri",
  519. "type":"string"
  520. },
  521. "paperless":{
  522. "default":"https://wwwcie.ups.com/webservices/PaperlessDocumentAPI",
  523. "format":"uri",
  524. "type":"string"
  525. },
  526. "registration":{
  527. "default":"https://wwwcie.ups.com/webservices/Registration",
  528. "format":"uri",
  529. "type":"string"
  530. },
  531. "track":{
  532. "default":"https://wwwcie.ups.com/webservices/Track",
  533. "format":"uri",
  534. "type":"string"
  535. }
  536. }
  537. },
  538. "password":{
  539. "type":"string"
  540. },
  541. "accountNumber":{
  542. "description":"A client UPS account number",
  543. "type":"string"
  544. },
  545. "accessLicenseNumber":{
  546. "type":"string"
  547. },
  548. "username":{
  549. "type":"string"
  550. }
  551. },
  552. "required":[
  553. "username",
  554. "password",
  555. "endpoints",
  556. "accessLicenseNumber",
  557. "accountNumber",
  558. "accountHolder"
  559. ]
  560. }
  561. }
  562. }
  563. }
  564. },
  565. {
  566. "id":"carrier-integration-ups-ws-v3",
  567. "type":"carrier-integration",
  568. "attributes":{
  569. "name":"United Parcel Services (UPS)",
  570. "description":"Founded in 1907 as a messenger company in the United States, UPS has grown into a multi-billion-dollar corporation by clearly focusing on the goal of enabling commerce around the globe.",
  571. "logo":"https://temando-carrier-service-dmidwaffle-eu-west-1-storage.s3-eu-west-1.amazonaws.com/carrier-integration-ups-ws-v3.svg",
  572. "services":[
  573. {
  574. "routes":[
  575. {
  576. "origin":{
  577. "include":[
  578. "AU",
  579. "US",
  580. "GB"
  581. ]
  582. },
  583. "destination":{
  584. "exclude":[
  585. ]
  586. }
  587. }
  588. ],
  589. "capabilities":{
  590. "authorityToLeave":false,
  591. "homeCollection":false,
  592. "deliveryTimeFrame":false,
  593. "signature":true,
  594. "paperlessTrade":true,
  595. "cashOnDelivery":false,
  596. "homeDelivery":false,
  597. "return":false
  598. },
  599. "name":"UPS Next Day Air",
  600. "id":"01"
  601. },
  602. {
  603. "routes":[
  604. {
  605. "origin":{
  606. "include":[
  607. "AU",
  608. "US",
  609. "GB"
  610. ]
  611. },
  612. "destination":{
  613. "exclude":[
  614. ]
  615. }
  616. }
  617. ],
  618. "capabilities":{
  619. "authorityToLeave":false,
  620. "homeCollection":false,
  621. "deliveryTimeFrame":false,
  622. "signature":true,
  623. "paperlessTrade":true,
  624. "cashOnDelivery":false,
  625. "homeDelivery":false,
  626. "return":false
  627. },
  628. "name":"UPS Second Day Air",
  629. "id":"02"
  630. },
  631. {
  632. "routes":[
  633. {
  634. "origin":{
  635. "include":[
  636. "AU",
  637. "GB"
  638. ]
  639. },
  640. "destination":{
  641. "exclude":[
  642. ]
  643. }
  644. },
  645. {
  646. "origin":{
  647. "include":[
  648. "US"
  649. ]
  650. },
  651. "destination":{
  652. "exclude":[
  653. "PT",
  654. "GB",
  655. "GQ",
  656. "LY"
  657. ]
  658. }
  659. }
  660. ],
  661. "capabilities":{
  662. "authorityToLeave":false,
  663. "homeCollection":false,
  664. "deliveryTimeFrame":false,
  665. "signature":true,
  666. "paperlessTrade":true,
  667. "cashOnDelivery":false,
  668. "homeDelivery":false,
  669. "return":false
  670. },
  671. "name":"UPS Ground",
  672. "id":"03"
  673. },
  674. {
  675. "routes":[
  676. {
  677. "origin":{
  678. "include":[
  679. "AU"
  680. ]
  681. },
  682. "destination":{
  683. "exclude":[
  684. "BM",
  685. "DK",
  686. "NU"
  687. ]
  688. }
  689. },
  690. {
  691. "origin":{
  692. "include":[
  693. "US"
  694. ]
  695. },
  696. "destination":{
  697. "exclude":[
  698. "NI",
  699. "SO",
  700. "ST"
  701. ]
  702. }
  703. },
  704. {
  705. "origin":{
  706. "include":[
  707. "GB"
  708. ]
  709. },
  710. "destination":{
  711. "exclude":[
  712. ]
  713. }
  714. }
  715. ],
  716. "capabilities":{
  717. "authorityToLeave":false,
  718. "homeCollection":false,
  719. "deliveryTimeFrame":false,
  720. "signature":true,
  721. "paperlessTrade":true,
  722. "cashOnDelivery":false,
  723. "homeDelivery":false,
  724. "return":false
  725. },
  726. "name":"UPS Worldwide Express",
  727. "id":"07"
  728. },
  729. {
  730. "routes":[
  731. {
  732. "origin":{
  733. "include":[
  734. "AU"
  735. ]
  736. },
  737. "destination":{
  738. "exclude":[
  739. "GQ"
  740. ]
  741. }
  742. },
  743. {
  744. "origin":{
  745. "include":[
  746. "US",
  747. "GB"
  748. ]
  749. },
  750. "destination":{
  751. "exclude":[
  752. ]
  753. }
  754. }
  755. ],
  756. "capabilities":{
  757. "authorityToLeave":false,
  758. "homeCollection":false,
  759. "deliveryTimeFrame":false,
  760. "signature":true,
  761. "paperlessTrade":true,
  762. "cashOnDelivery":false,
  763. "homeDelivery":false,
  764. "return":false
  765. },
  766. "name":"UPS Worldwide Expedited",
  767. "id":"08"
  768. },
  769. {
  770. "routes":[
  771. {
  772. "origin":{
  773. "include":[
  774. "AU"
  775. ]
  776. },
  777. "destination":{
  778. "exclude":[
  779. "EH",
  780. "SO"
  781. ]
  782. }
  783. },
  784. {
  785. "origin":{
  786. "include":[
  787. "US"
  788. ]
  789. },
  790. "destination":{
  791. "exclude":[
  792. ]
  793. }
  794. },
  795. {
  796. "origin":{
  797. "include":[
  798. "GB"
  799. ]
  800. },
  801. "destination":{
  802. "exclude":[
  803. "LY"
  804. ]
  805. }
  806. }
  807. ],
  808. "capabilities":{
  809. "authorityToLeave":false,
  810. "homeCollection":false,
  811. "deliveryTimeFrame":false,
  812. "signature":true,
  813. "paperlessTrade":true,
  814. "cashOnDelivery":false,
  815. "homeDelivery":false,
  816. "return":false
  817. },
  818. "name":"UPS Standard",
  819. "id":"11"
  820. },
  821. {
  822. "routes":[
  823. {
  824. "origin":{
  825. "include":[
  826. "AU",
  827. "US",
  828. "GB"
  829. ]
  830. },
  831. "destination":{
  832. "exclude":[
  833. ]
  834. }
  835. }
  836. ],
  837. "capabilities":{
  838. "authorityToLeave":false,
  839. "homeCollection":false,
  840. "deliveryTimeFrame":false,
  841. "signature":true,
  842. "paperlessTrade":true,
  843. "cashOnDelivery":false,
  844. "homeDelivery":false,
  845. "return":false
  846. },
  847. "name":"UPS Three-Day Select",
  848. "id":"12"
  849. },
  850. {
  851. "routes":[
  852. {
  853. "origin":{
  854. "include":[
  855. "AU",
  856. "US",
  857. "GB"
  858. ]
  859. },
  860. "destination":{
  861. "exclude":[
  862. ]
  863. }
  864. }
  865. ],
  866. "capabilities":{
  867. "authorityToLeave":false,
  868. "homeCollection":false,
  869. "deliveryTimeFrame":false,
  870. "signature":true,
  871. "paperlessTrade":true,
  872. "cashOnDelivery":false,
  873. "homeDelivery":false,
  874. "return":false
  875. },
  876. "name":"UPS Next Day Air Saver",
  877. "id":"13"
  878. },
  879. {
  880. "routes":[
  881. {
  882. "origin":{
  883. "include":[
  884. "AU"
  885. ]
  886. },
  887. "destination":{
  888. "exclude":[
  889. "MD"
  890. ]
  891. }
  892. },
  893. {
  894. "origin":{
  895. "include":[
  896. "US"
  897. ]
  898. },
  899. "destination":{
  900. "exclude":[
  901. "JE",
  902. "MT"
  903. ]
  904. }
  905. },
  906. {
  907. "origin":{
  908. "include":[
  909. "GB"
  910. ]
  911. },
  912. "destination":{
  913. "exclude":[
  914. "AU",
  915. "JP"
  916. ]
  917. }
  918. }
  919. ],
  920. "capabilities":{
  921. "authorityToLeave":false,
  922. "homeCollection":false,
  923. "deliveryTimeFrame":false,
  924. "signature":true,
  925. "paperlessTrade":true,
  926. "cashOnDelivery":false,
  927. "homeDelivery":false,
  928. "return":false
  929. },
  930. "name":"UPS Worldwide Express Plus",
  931. "id":"54"
  932. },
  933. {
  934. "routes":[
  935. {
  936. "origin":{
  937. "include":[
  938. "AU",
  939. "US",
  940. "GB"
  941. ]
  942. },
  943. "destination":{
  944. "exclude":[
  945. ]
  946. }
  947. }
  948. ],
  949. "capabilities":{
  950. "authorityToLeave":false,
  951. "homeCollection":false,
  952. "deliveryTimeFrame":false,
  953. "signature":true,
  954. "paperlessTrade":true,
  955. "cashOnDelivery":false,
  956. "homeDelivery":false,
  957. "return":false
  958. },
  959. "name":"UPS Second Day Air A.M.",
  960. "id":"59"
  961. },
  962. {
  963. "routes":[
  964. {
  965. "origin":{
  966. "include":[
  967. "AU"
  968. ]
  969. },
  970. "destination":{
  971. "exclude":[
  972. "SD",
  973. "YE"
  974. ]
  975. }
  976. },
  977. {
  978. "origin":{
  979. "include":[
  980. "US",
  981. "GB"
  982. ]
  983. },
  984. "destination":{
  985. "exclude":[
  986. ]
  987. }
  988. }
  989. ],
  990. "capabilities":{
  991. "authorityToLeave":false,
  992. "homeCollection":false,
  993. "deliveryTimeFrame":false,
  994. "signature":true,
  995. "paperlessTrade":true,
  996. "cashOnDelivery":false,
  997. "homeDelivery":false,
  998. "return":false
  999. },
  1000. "name":"UPS Saver",
  1001. "id":"65"
  1002. }
  1003. ],
  1004. "configuration":{
  1005. "description":"The credentials schema of the UPS integration",
  1006. "id":"http://carrier-gateway.temando.com/schema/ups/configuration#",
  1007. "type":"object",
  1008. "properties":{
  1009. "configuration":{
  1010. "allOf":[
  1011. {
  1012. "$ref":"http://carrier-gateway.temando.com/schema/generic/configuration+v1#"
  1013. }
  1014. ],
  1015. "properties":{
  1016. "carrier":{
  1017. "properties":{
  1018. "developerLicenseNumber":{
  1019. "minLength":16,
  1020. "description":"The developer license number",
  1021. "type":"string",
  1022. "maxLength":16
  1023. }
  1024. }
  1025. },
  1026. "client":{
  1027. "allOf":[
  1028. {
  1029. "$ref":"http://carrier-gateway.temando.com/schema/ups/credentials#"
  1030. }
  1031. ]
  1032. }
  1033. }
  1034. },
  1035. "client":{
  1036. "description":"The credentials schema of the UPS integration",
  1037. "id":"http://carrier-gateway.temando.com/schema/ups/credentials#",
  1038. "type":"object",
  1039. "properties":{
  1040. "accountHolder":{
  1041. "allOf":[
  1042. {
  1043. "$ref":"http://carrier-gateway.temando.com/schema/generic/address+v4#"
  1044. }
  1045. ],
  1046. "description":"The account holder address and contact details",
  1047. "required":[
  1048. "addressLines",
  1049. "countryCode",
  1050. "postalCode",
  1051. "contact"
  1052. ]
  1053. },
  1054. "endpoints":{
  1055. "description":"Configuration of UPS endpoints to use",
  1056. "type":"object",
  1057. "properties":{
  1058. "license":{
  1059. "default":"https://wwwcie.ups.com/webservices/License",
  1060. "format":"uri",
  1061. "type":"string"
  1062. },
  1063. "void":{
  1064. "default":"https://wwwcie.ups.com/webservices/Void",
  1065. "format":"uri",
  1066. "type":"string"
  1067. },
  1068. "rate":{
  1069. "default":"https://wwwcie.ups.com/webservices/Rate",
  1070. "format":"uri",
  1071. "type":"string"
  1072. },
  1073. "pickup":{
  1074. "default":"https://wwwcie.ups.com/webservices/Pickup",
  1075. "format":"uri",
  1076. "type":"string"
  1077. },
  1078. "ship":{
  1079. "default":"https://wwwcie.ups.com/webservices/Ship",
  1080. "format":"uri",
  1081. "type":"string"
  1082. },
  1083. "paperless":{
  1084. "default":"https://wwwcie.ups.com/webservices/PaperlessDocumentAPI",
  1085. "format":"uri",
  1086. "type":"string"
  1087. },
  1088. "registration":{
  1089. "default":"https://wwwcie.ups.com/webservices/Registration",
  1090. "format":"uri",
  1091. "type":"string"
  1092. },
  1093. "track":{
  1094. "default":"https://wwwcie.ups.com/webservices/Track",
  1095. "format":"uri",
  1096. "type":"string"
  1097. }
  1098. }
  1099. },
  1100. "password":{
  1101. "type":"string"
  1102. },
  1103. "accountNumber":{
  1104. "description":"A client UPS account number",
  1105. "type":"string"
  1106. },
  1107. "accessLicenseNumber":{
  1108. "type":"string"
  1109. },
  1110. "username":{
  1111. "type":"string"
  1112. }
  1113. },
  1114. "required":[
  1115. "username",
  1116. "password",
  1117. "endpoints",
  1118. "accessLicenseNumber",
  1119. "accountNumber",
  1120. "accountHolder"
  1121. ]
  1122. }
  1123. }
  1124. }
  1125. }
  1126. }
  1127. ]
  1128. }