-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathQuantumView.yaml
More file actions
3007 lines (2964 loc) · 108 KB
/
QuantumView.yaml
File metadata and controls
3007 lines (2964 loc) · 108 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
title: Quantum View
version: ''
description: |
UPS Quantum View is a suite of services that gives you and your customers details regarding UPS shipments.
# Reference
- <a href="https://developer.ups.com/api/reference/quantumview/business-rules" target="_blank" rel="noopener">Business Rules</a>
- <a href="https://developer.ups.com/api/reference/quantumview/appendix" target="_blank" rel="noopener">Appendix</a>
- <a href="https://developer.ups.com/api/reference/quantumview/errors" target="_blank" rel="noopener">Errors</a>
- <a href="https://developer.ups.com/api/reference/quantumview/faq" target="_blank" rel="noopener">FAQ</a>
<br/><p>Try out UPS APIs with example requests using Postman and learn more about the UPS Postman Collection by visiting our <a href="https://developer.ups.com/api/reference/postman/guide"
target="_blank" rel="noopener">Postman Guide</a>. Explore API documentation and sample applications through GitHub.</p>
<a href="https://god.gw.postman.com/run-collection/29542085-84cbd22f-67ec-4c9c-b500-620b266922c9?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D29542085-84cbd22f-67ec-4c9c-b500-620b266922c9%26entityType%3Dcollection%26workspaceId%3D7e7595f0-4829-4f9a-aee1-75c126b9d417" target="_blank" rel="noopener noreferrer">
<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;"></a>
<a href="https://github.com/UPS-API" target="_blank" rel="noopener noreferrer">
<img src="https://www.ups.com/assets/resources/webcontent/images/gitHubButton.svg" alt="Open in GitHub " style="width: 128px; height: 32px;">
</a>
servers:
- url: https://wwwcie.ups.com/api
description: Customer Integration Environment
- url: https://onlinetools.ups.com/api
description: Production
paths:
"/quantumview/{version}/events":
post:
summary: Quantum View
tags:
- Quantum View
security:
- OAuth2: []
description: Get Quantum View Response
operationId: QuantumView
parameters:
- in: path
name: version
schema:
type: string
default: v3
description: |
Version of API.
Valid values:
- v3
required: true
requestBody:
description: Generate sample code for popular API requests by selecting an
example below. To view a full sample request and response, first click "Authorize"
and enter your application credentials, then populate the required parameters
above and click "Try it out".
required: true
content:
application/json:
schema:
"$ref": "#/components/schemas/QUANTUMVIEWRequestWrapper"
examples:
json:
summary: A sample JSON request (Standard Example)
value:
QuantumViewRequest:
Request:
TransactionReference:
CustomerContext: ''
XpciVersion: '1.0007'
RequestAction: QVEvents
SubscriptionRequest:
FileName: '220104_140019001'
Name: OutboundXML
Bookmark: WE9MVFFBMQ==
responses:
'200':
description: successful operation
content:
application/json:
schema:
"$ref": "#/components/schemas/QUANTUMVIEWResponseWrapper"
'400':
description: Invalid Request
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'401':
description: Unauthorized Request
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'403':
description: Blocked Merchant
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'429':
description: Rate Limit Exceeded
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
"/quantumview/{deprecatedVersion}/events":
post:
deprecated: true
summary: Quantum View
tags:
- Quantum View
security:
- OAuth2: []
description: Get Quantum View Response
operationId: Deprecated QuantumView
parameters:
- in: path
name: deprecatedVersion
schema:
type: string
default: v1
description: |
Version of API.
Valid values:
- v1
required: true
requestBody:
description: Generate sample code for popular API requests by selecting an
example below. To view a full sample request and response, first click "Authorize"
and enter your application credentials, then populate the required parameters
above and click "Try it out".
required: true
content:
application/json:
schema:
"$ref": "#/components/schemas/QUANTUMVIEWRequestWrapper"
examples:
json:
summary: A sample JSON request (Standard Example)
value:
QuantumViewRequest:
Request:
TransactionReference:
CustomerContext: ''
XpciVersion: '1.0007'
RequestAction: QVEvents
SubscriptionRequest:
FileName: '220104_140019001'
Name: OutboundXML
Bookmark: WE9MVFFBMQ==
responses:
'200':
description: successful operation
content:
application/json:
schema:
"$ref": "#/components/schemas/QUANTUMVIEWResponseWrapper"
'400':
description: Invalid Request
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'401':
description: Unauthorized Request
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'403':
description: Blocked Merchant
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
'429':
description: Rate Limit Exceeded
content:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
components:
securitySchemes:
OAuth2:
type: oauth2
description: |
Find your Client ID and Secret on your app info page.
1. Select \"Try It\"
2. In the Security section enter your Client ID and Secret.
3. Select \"Request Token\"
4. Enter any additional information in the Body and Parameters sections.
5. Select \"Send\" to execute your API request
flows:
clientCredentials:
x-tokenEndpointAuthMethod: client_secret_basic
tokenUrl: https://wwwcie.ups.com/security/v1/oauth/token
scopes: {}
schemas:
QUANTUMVIEWRequestWrapper:
xml:
name: QuantumViewRequest
description: 'N/A '
maximum: 1
type: object
required:
- QuantumViewRequest
properties:
QuantumViewRequest:
"$ref": "#/components/schemas/QuantumViewRequest"
QUANTUMVIEWResponseWrapper:
xml:
name: QuantumViewResponse
description: 'N/A '
maximum: 1
type: object
required:
- QuantumViewResponse
properties:
QuantumViewResponse:
"$ref": "#/components/schemas/QuantumViewResponse"
QuantumViewRequest:
type: object
required:
- Request
properties:
Request:
"$ref": "#/components/schemas/QuantumViewRequest_Request"
SubscriptionRequest:
type: array
items:
"$ref": "#/components/schemas/QuantumViewRequest_SubscriptionRequest"
Bookmark:
description: "Bookmarks the file for next retrieval. It is a base64Encoded
String. \nIt contains the combination of SubscriberID + SubscriptionName
+ File Name if the request is for all data. \nIt contains SubscriberID
\ if the request is for unread data. When a response comes back with a
bookmark it indicates that there is more data. To fetch the remaining
data, the requester should come back with the bookmark added to the original
request."
maximum: 1
type: string
xml:
name: QuantumViewRequest
maximum: 1
description: Container for QuantumView request information.
QuantumViewRequest_Request:
type: object
properties:
TransactionReference:
"$ref": "#/components/schemas/Request_TransactionReference"
RequestAction:
description: Indicates the action to be taken by the XML service. The only
valid value is 'QVEvents'
maximum: 1
type: string
minLength: 11
maxLength: 11
xml:
name: Request
maximum: 1
required:
- RequestAction
description: Contains QuantumView request criteria components.
Request_TransactionReference:
type: object
maximum: 1
properties:
CustomerContext:
description: The CustomerContext Information which will be echoed during response.
maximum: 1
type: string
maxLength: 512
xml:
name: TransactionReference
description: TransactionReference identifies transactions between client and
server.
QuantumViewRequest_SubscriptionRequest:
type: object
properties:
Name:
description: Name of subscription requested by user, as one type of request
criteria. Required when the customer wants to request data for a specific
subscription name. Subscription name consists of up to 21 alphanumerics.
type: string
maxLength: 21
DateTimeRange:
"$ref": "#/components/schemas/SubscriptionRequest_DateTimeRange"
FileName:
description: 'File name of specific subscription requested by user. Format:
YYMMDD_HHmmssnnn. (nnn - sequence number: usually = 001)'
type: array
items:
type: string
minLength: 16
maxLength: 16
xml:
name: SubscriptionRequest
description: Subscription requested by user to retrieve Inbound or/and Outbound
XML formed subscription information.
SubscriptionRequest_DateTimeRange:
type: object
maximum: 1
properties:
BeginDateTime:
description: 'Beginning date time for the retrieval criteria of the subscriptions.
It is required for date time request criteria. Format: YYYYMMDDHHmmss.'
maximum: 1
type: string
minLength: 14
maxLength: 14
EndDateTime:
description: 'Ending date time for the retrieval criteria of the subscriptions.
Format: YYYYMMDDHHmmss. When a null or empty EndDateTime is passed in
the request, it is defaulted to 7 days from the given begin date.'
maximum: 1
type: string
minLength: 14
maxLength: 14
xml:
name: DateTimeRange
description: The range of date time of subscription requested by user, as one
type of request criteria, valid up to but not exceeding 7 days into the past,
starting from current day.
QuantumViewResponse:
type: object
required:
- Response
- QuantumViewEvents
properties:
Response:
"$ref": "#/components/schemas/QuantumViewResponse_Response"
QuantumViewEvents:
"$ref": "#/components/schemas/QuantumViewResponse_QuantumViewEvents"
Bookmark:
description: Bookmarks the file for next retrieval, It is a base64Encoded
String. It contains the combination of SubscriberID + SubscriptionName
+ File Name if the request is for all data. It contains SubscriberID if
the request is for unread data. When a response comes back with a bookmark
it indicates that there is more data. To fetch the remaining data, the
requester should come back with the bookmark added to the original request.
type: string
xml:
name: QuantumViewResponse
maximum: 1
description: Container for QuantumView response information.
QuantumViewResponse_Response:
type: object
required:
- TransactionReference
- ResponseStatusCode
properties:
TransactionReference:
"$ref": "#/components/schemas/Response_TransactionReference"
ResponseStatusCode:
description: "Identifies the success or failure of the interchange. \n1
= Success, 0 = Failure"
maximum: 1
type: string
minLength: 1
maxLength: 1
ResponseStatusDescription:
description: "'Success' or 'Failure'"
maximum: 1
type: string
minLength: 1
maxLength: 15
Error:
description: |
If an error is encountered during the interchange, the Response contains an error. If the error is present, then the ErrorSeverity and ErrorCodes are required.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/Response_Error"
xml:
name: Response
maximum: 1
description: Contains Errors information tags along with the success/fail status
of the QuantumView request.
Response_TransactionReference:
type: object
maximum: 1
properties:
CustomerContext:
description: The CustomerContext Information which will be echoed during response.
type: string
XpciVersion:
description: "XPCI version. Current version: 1.0007"
maximum: 1
type: string
minLength: 6
maxLength: 6
ToolVersion:
description: "Current tool version. \nValid value: 1.0"
maximum: 1
type: string
minLength: 3
maxLength: 3
xml:
name: TransactionReference
description: Container for customer provided data and the XPCI Version.
Response_Error:
type: object
maximum: 1
properties:
ErrorSeverity:
description: Describes the severity of the error. Required if the error is present.
maximum: 1
type: string
minLength: 1
maxLength: 15
ErrorCode:
description: A numeric value that describes the error. Each tool defines a range of error codes. Required if the error is present.
maximum: 1
type: string
minLength: 1
maxLength: 15
ErrorDescription:
description: Describes the error code.
maximum: 1
type: string
minLength: 1
maxLength: 50
MinimumRetrySeconds:
description: Number of seconds to wait until retry. This field is populated on special conditions of the Transient Error only, as defined by the service. A number between 1 and 86400 (24 hours)
maximum: 1
type: string
minLength: 1
maxLength: 5
ErrorLocation:
description: |
Identifies the element in error.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/Error_ErrorLocation"
ErrorDigest:
description: |
The contents of the element in error.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
type: string
xml:
name: Error
required:
- ErrorLocation
Error_ErrorLocation:
type: object
maximum: 1
properties:
ErrorLocationElementName:
description: The Xpath name of the element in error. This is a valid Xpath pointing to an element in the request document.
maximum: 1
type: string
minLength: 1
maxLength: 512
ErrorLocationAttributeName:
description: The name of the attribute in error. This is the name of the attribute contained by the Error Location element.
maximum: 1
type: string
minLength: 1
maxLength: 50
xml:
name: ErrorLocation
Error_ErrorDigest:
description: The contents of the element in error.
type: string
QuantumViewResponse_QuantumViewEvents:
type: object
maximum: 1
required:
- SubscriptionEvents
- SubscriberID
properties:
SubscriberID:
description: QV XOLT subscribers ID. It is the same as the User ID.
maximum: 1
type: string
minLength: 1
maxLength: 16
SubscriptionEvents:
description: |
The event that a user receives a subset of Tracking information specific to either packages coming or packages going, after subscription request is made.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/QuantumViewEvents_SubscriptionEvents"
xml:
name: QuantumViewEvents
description: The event that a user receives echoing Subscriber ID and information
for subscription event, which is a subset of Tracking information specific
to either packages coming or packages going, after subscription request is
made, if the user requests for XML format.
QuantumViewEvents_SubscriptionEvents:
type: object
maximum: 1
properties:
Name:
description: A name uniquely defined associated to the Subscription ID, for each subscription. Required if the SubscriptionEvents container is present.
maximum: 1
type: string
minLength: 1
maxLength: 21
Number:
description: A number uniquely defined associated to the Subscriber ID, for each subscription. Required if the SubscriptionEvents container is present.
maximum: 1
type: string
minLength: 1
maxLength: 16
SubscriptionStatus:
"$ref": "#/components/schemas/SubscriptionEvents_SubscriptionStatus"
DateRange:
"$ref": "#/components/schemas/SubscriptionEvents_DateRange"
SubscriptionFile:
description: |
Container holds all of the unread files associated with the subscription.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionEvents_SubscriptionFile"
xml:
name: SubscriptionEvents
required:
- SubscriptionStatus
SubscriptionEvents_SubscriptionStatus:
type: object
maximum: 1
required:
- Code
properties:
Code:
description: |
Status types of subscription. Valid values:
- UN – Unknown
- AT – Activate
- P – Pending
- A –Active
- I – Inactive
- S - Suspended
maximum: 1
type: string
minLength: 1
maxLength: 2
Description:
description: "Description of a subscription. \nValid values: \n- Unknown
(Unknown subscription status)\n- Activate (Ready for the user to activate
the subscription)\n- Pending (In the process of waiting for privilege
requests authorization)\n- Active (The subscription is in good standing
and is active.)\n- Inactive (The subscriber puts the subscription on hold.)\n-
Suspended (UPS disables the subscription.)"
maximum: 1
type: string
minLength: 1
maxLength: 9
xml:
name: SubscriptionStatus
description: Container for whether the subscription is active or not.
SubscriptionEvents_DateRange:
type: object
maximum: 1
required:
- BeginDate
properties:
BeginDate:
description: |-
Beginning date time of subscription requested by user.
Format: MM-DD-YYYY-HH-MM
maximum: 1
type: string
minLength: 16
maxLength: 16
EndDate:
description: |-
Ending date time of subscription requested by user.
Format: MM-DD-YYYY-HH-MM
maximum: 1
type: string
minLength: 16
maxLength: 16
xml:
name: DateRange
description: The range of date time of subscription requested by user, as one
type of request criteria, valid up to but not exceeding 7 days into the past,
starting from current day.
SubscriptionEvents_SubscriptionFile:
type: object
maximum: 1
required:
- StatusType
- FileName
properties:
FileName:
description: |-
File name belonging to specific subscription requested by user.
Format: YYMMDD_HHmmssnnn
maximum: 1
type: string
minLength: 16
maxLength: 16
StatusType:
"$ref": "#/components/schemas/SubscriptionFile_StatusType"
Manifest:
description: |
Container represents all data that is relevant for the shipment, such as origin, destination, shipper, payment method etc. It will be returned when available.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionFile_Manifest"
Origin:
description: |
Information about shipment's origin.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionFile_Origin"
Exception:
description: |
Shipment exception data.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionFile_Exception"
Delivery:
description: |
Container for delivery information.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionFile_Delivery"
Generic:
description: |
Container for generic record information.
**NOTE:** For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/SubscriptionFile_Generic"
xml:
name: SubscriptionFile
SubscriptionFile_StatusType:
type: object
maximum: 1
required:
- Description
- Code
properties:
Code:
description: |
Status types of subscription file. Valid values:
- R – Read
- U - Unread
maximum: 1
type: string
minLength: 1
maxLength: 1
Description:
description: Description of a subscription file.
maximum: 1
type: string
minLength: 1
maxLength: 6
xml:
name: StatusType
description: Container that displays whether the file is read or unread.
SubscriptionFile_Manifest:
type: object
required:
- Shipper
- ConsigneeBillIndicator
- ShipTo
- CollectBillIndicator
properties:
Shipper:
"$ref": "#/components/schemas/Manifest_Shipper"
ShipTo:
"$ref": "#/components/schemas/Manifest_ShipTo"
ReferenceNumber:
description: |
Shipment-level reference numbers.
**NOTE:** For versions >= v3, this element will always be returned as an array. For requests using version = v1 and v2, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/Manifest_ReferenceNumber"
Service:
"$ref": "#/components/schemas/Manifest_Service"
PickupDate:
description: Should be set equal to the date on while the packages were
picked up (may be prior days date if the transmission occurs after midnight).
Formatted as YYYYMMDD.
maximum: 1
type: string
minLength: 8
maxLength: 8
ScheduledDeliveryDate:
description: The date the shipment originally was scheduled for delivery.
Formatted as YYYYMMDD.
maximum: 1
type: string
minLength: 8
maxLength: 8
ScheduledDeliveryTime:
description: Schedule delivery time. Time format is HHMMSS
maximum: 1
type: string
minLength: 6
maxLength: 6
DocumentsOnly:
description: |
If the tag is present then the shipment is a document, otherwise the shipment is a non-document. Valid values:
- 1 = Letter
- 2 = Document (Non-Letter Document)
- 3 = Non-Document
- 4 = Pallet
maximum: 1
type: string
minLength: 1
maxLength: 1
Package:
description: |
Defines a package.
**NOTE:** For versions >= v3, this element will always be returned as an array. For requests using version = v1 and v2, this element will be returned as an array if there is more than one object and a single object if there is only 1.
type: array
items:
"$ref": "#/components/schemas/Manifest_Package"
ShipmentServiceOptions:
"$ref": "#/components/schemas/Manifest_ShipmentServiceOptions"
ManufactureCountry:
description: Country or Territory of Manufacture of the contents of the
package.
maximum: 1
type: string
minLength: 1
maxLength: 3
HarmonizedCode:
description: Harmonized code of the package.
maximum: 1
type: string
minLength: 1
maxLength: 35
CustomsValue:
"$ref": "#/components/schemas/Manifest_CustomsValue"
SpecialInstructions:
description: User-defined special instructions for delivery.
maximum: 1
type: string
minLength: 1
maxLength: 35
ShipmentChargeType:
description: |-
Shipment charge type.
Valid values:
C/F - Cost and Freight
C/B - Consignee Billed Package
F/C - Freight Collect
DDP - Delivered Duty Paid
VAT Unpaid
FOB - Free On Board
P/P - Prepaid
F/D - Free Domicile
T/P - Third Party Billing
maximum: 1
type: string
minLength: 3
maxLength: 3
BillToAccount:
"$ref": "#/components/schemas/Manifest_BillToAccount"
ConsigneeBillIndicator:
description: Indicates if consignee will be billed the shipment.
maximum: 1
type: string
CollectBillIndicator:
description: Indicates whether or not to collect bill at time of delivery.
maximum: 1
type: string
LocationAssured:
description: 'Indicates Location Assured Values: Y - Location Assured accessorial
requested'
maximum: 1
type: string
minLength: 1
maxLength: 1
ImportControl:
description: Import Control Indication is used to designate that the shipment
is an Import Control shipment. If the shipment is an import control shipment
then this element will have value. For no import shipment this will not
be appear
maximum: 1
type: string
minLength: 1
maxLength: 1
LabelDeliveryMethod:
description: "Indicates Label Delivery Method, Values are: LDE Electronic Label. LDO One Attempt. LDP Print Label. LDT Three Attempt. LPM Print and Mail Label."
maximum: 1
type: string
minLength: 3
maxLength: 3
CommercialInvoiceRemoval:
description: Commercial Invoice Removal (CIR) is an accessorial or indication
that will allow a shipper to dictate that UPS remove the Commercial Invoice
from the user's shipment before the shipment is delivered to the ultimate
consignee. If shipment is CIR then this element will have value. For no
CIR this element will not be appear
maximum: 1
type: string
minLength: 1
maxLength: 1
PostalServiceTrackingID:
description: Postal Service Tracking ID transport company tracking number.
maximum: 1
type: string
minLength: 35
maxLength: 35
ReturnsFlexibleAccess:
description: "(RFA) UPS returns flexible access. This element will appear
with value only when returns flexible access uploaded. For no returns
flexible access this element will not be appear"
maximum: 1
type: string
minLength: 1
maxLength: 1
UPScarbonneutral:
description: UPS carbon neutral is a term used to reflect a generic term
for the tagging to be included on any document, label, e-mail, etc. used
to identify that the UPS carbon neutral fee is applied. This element will
appear only when shipment is UPS carbon neutral with value. For non UPS
carbon neutral shipping this element appear.
maximum: 1
type: string
minLength: 1
maxLength: 1
Product:
description: This element will have value "PAC" for CAR shipments. For no CAR shipments this element will not be appeared.
maximum: 1
type: string
UPSReturnsExchange:
description: UPS Return and Exchange – This element will appear with value Y only when UPS Return and Exchange was requested. For no UPS Returns and Exchange then this element will not appear
maximum: 1
type: string
LiftGateOnDelivery:
description: Lift Gate On Delivery - This element will appear only when
Lift Gate For Delivery was requested for UPS World Wide Express Freight
Shipments. If no Lift Gate for Delivery was requested, this element will
not appear.
maximum: 1
type: string
minLength: 1
maxLength: 1
LiftGateOnPickUp:
description: Lift Gate On PickUp - This element will appear only when Lift
Gate For PickUp was requested for UPS World Wide Express Freight Shipments.
If no Lift Gate for PickUp was requested, this element will not appear.
maximum: 1
type: string
minLength: 1
maxLength: 1
PickupPreference:
description: Pickup Preference -This element will appear only when Dropoff
At UPS Facility was requested for UPS World Wide Express Freight Shipments.
If no Dropoff At UPS Facility was requested, this element will not appear.
maximum: 1
type: string
minLength: 1
maxLength: 1
DeliveryPreference:
description: Delivery Preference - This element will appear only when Hold
for pick up was requested for UPS World Wide Express Freight Shipments.
If no Hold for pick up was requested, this element will not appear.
maximum: 1
type: string
minLength: 1
maxLength: 1
HoldForPickupAtUPSAccessPoint:
description: '"Y" Indicates Shipment is Direct to Retail.'
maximum: 1
type: string
minLength: 1
maxLength: 1
UAPAddress:
"$ref": "#/components/schemas/Manifest_UAPAddress"
DeliverToAddresseeOnlyIndicator:
description: '"Y" Indicates Shipment is Deliver to Addressee.'
maximum: 1
type: string
minLength: 1
maxLength: 1
UPSAccessPointCODIndicator:
description: '"Y" Indicates Shipment is Cash on Delivery in Direct to Retail'
maximum: 1
type: string
minLength: 1
maxLength: 1
ClinicalTrialIndicator:
description: 'An accessorial Indicator flag: Y = Clinical Trial accessorial
provided in Manifest. Spaces = Clinical Trial accessorial not provided
in Manifest.'
maximum: 1
type: string
minLength: 1
maxLength: 1
ClinicalTrialIndicationNumber:
description: An unique Clinical Trial associated with the shipment provided
in Manifest.
maximum: 1
type: string
maxLength: 20
CategoryAHazardousIndicator:
description: 'An accessorial Indicator flag: Y = Category A Hazardous materials
accessorial provided in Manifest. Spaces = Category A Hazardous materials
accessorial not provided in Manifest.'
maximum: 1
type: string
minLength: 1
maxLength: 1
DirectDeliveryIndicator:
description: 'An accessorial Indicator flag: Y = Direct Delivery accessorisal
provided in Manifest. Spaces = Direct Delivery accessorial not provided
in Manifest.'
maximum: 1
type: string
minLength: 1
maxLength: 1
PackageReleaseCodeIndicator:
description: '"Y" indicates Shipment has PackageReleaseCode Accessorial.'
maximum: 1
type: string
minLength: 1
maxLength: 1
ProactiveResponseIndicator:
description: '"Y" indicates that a UPS Proactive Response Accessorial is
provided.'
maximum: 1
type: string
minLength: 1
maxLength: 1
WhiteGloveDeliveryIndicator:
description: '"Y" indicates that a Heavy Goods White Glove Delivery Accessorial
is provided.'
maximum: 1
type: string
minLength: 1
maxLength: 1
RoomOfChoiceIndicator:
description: '"Y" indicates that a Heavy Goods Room of Choice Accessorial
is provided.'
maximum: 1
type: string
minLength: 1
maxLength: 1
InstallationDeliveryIndicator:
description: '"Y" indicates that a Heavy Goods Installation Delivery Accessorial
is provided.'
maximum: 1
type: string
minLength: 1
maxLength: 1
ItemDisposalIndicator:
description: '"Y" indicates that a Heavy Goods Item Disposal Accessorial
is provided.'
maximum: 1
type: string
minLength: 1
maxLength: 1
LeadShipmentTrackingNumber:
description: Lead Tracking Number in shipment
maximum: 1
type: string
minLength: 1
maxLength: 35
SaturdayNonPremiumCommercialDeliveryIndicator:
description: '"Y" indicates that a SaturdayNonPremiumCommercialDeliveryIndicator
is provided.'
type: string
minLength: 1
maxLength: 1
SundayNonPremiumCommercialDeliveryIndicator:
description: '"Y" indicates that a SundayNonPremiumCommercialDeliveryIndicator
is provided.'
type: string
minLength: 1
maxLength: 1
UPSPremierAccessorialIndicator:
description: "\"Y\" indicates that the UPS Premier accessorial is provided."
type: string
minLength: 1
maxLength: 1
UPSPremierCategoryCode:
description: |
Indicates the UPS Premier category applied to the package Valid values:
- 'PRS' – UPS Premier Silver
- 'PRG' – UPS Premier Gold