Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty error when processing valid JSON data. "{ }" #52

Open
davidrodrigues98 opened this issue Jul 11, 2023 · 2 comments
Open

Empty error when processing valid JSON data. "{ }" #52

davidrodrigues98 opened this issue Jul 11, 2023 · 2 comments

Comments

@davidrodrigues98
Copy link

Printscreen:

Capture

Data:

`{
"mergeLabelDocOption": "LABELS_AND_DOCS",
"requestedShipment": {
"shipDatestamp": "2019-10-14",
"totalDeclaredValue": {
"amount": 12.45,
"currency": "USD"
},
"shipper": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "91",
"phoneNumber": "XXXX567890",
"companyName": "Fedex"
},
"tins": [{
"number": "XXX567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}]
},
"soldTo": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "91",
"phoneNumber": "1234567890",
"companyName": "Fedex"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}],
"accountNumber": {
"value": "Your account number"
}
},
"recipients": [{
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "XXXX345671",
"companyName": "FedEx"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}],
"deliveryInstructions": "Delivery Instructions"
}],
"recipientLocationNumber": "1234567",
"pickupType": "USE_SCHEDULED_PICKUP",
"serviceType": "PRIORITY_OVERNIGHT",
"packagingType": "YOUR_PACKAGING",
"totalWeight": 20.6,
"origin": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "38127",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "person name",
"emailAddress": "email address",
"phoneNumber": "phone number",
"phoneExtension": "phone extension",
"companyName": "company name",
"faxNumber": "fax number"
}
},
"shippingChargesPayment": {
"paymentType": "SENDER",
"payor": {
"responsibleParty": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneNumber": "XXXX567890",
"phoneExtension": "phone extension",
"companyName": "Fedex",
"faxNumber": "fax number"
},
"accountNumber": {
"value": "Your account number"
}
}
}
},
"shipmentSpecialServices": {
"specialServiceTypes": [
"THIRD_PARTY_CONSIGNEE",
"PROTECTION_FROM_FREEZING"
],
"etdDetail": {
"attributes": [
"POST_SHIPMENT_UPLOAD_REQUESTED"
],
"attachedDocuments": [{
"documentType": "PRO_FORMA_INVOICE",
"documentReference": "DocumentReference",
"description": "PRO FORMA INVOICE",
"documentId": "090927d680038c61"
}],
"requestedDocumentTypes": [
"VICS_BILL_OF_LADING",
"GENERAL_AGENCY_AGREEMENT"
]
},
"returnShipmentDetail": {
"returnEmailDetail": {
"merchantPhoneNumber": "19012635656",
"allowedSpecialService": [
"SATURDAY_DELIVERY"
]
},
"rma": {
"reason": "Wrong Size or Color"
},
"returnAssociationDetail": {
"shipDatestamp": "2019-10-01",
"trackingNumber": "123456789"
},
"returnType": "PRINT_RETURN_LABEL"
},
"deliveryOnInvoiceAcceptanceDetail": {
"recipient": {
"address": {
"streetLines": [
"23, RUE JOSEPH-DE MA",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "1234567890",
"companyName": "Fedex"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}],
"deliveryInstructions": "Delivery Instructions"
}
},
"internationalTrafficInArmsRegulationsDetail": {
"licenseOrExemptionNumber": "9871234"
},
"pendingShipmentDetail": {
"pendingShipmentType": "EMAIL",
"processingOptions": {
"options": [
"ALLOW_MODIFICATIONS"
]
},
"recommendedDocumentSpecification": {
"types": "ANTIQUE_STATEMENT_EUROPEAN_UNION"
},
"emailLabelDetail": {
"recipients": [{
"emailAddress": "neena@fedex.com",
"optionsRequested": {
"options": [
"PRODUCE_PAPERLESS_SHIPPING_FORMAT",
"SUPPRESS_ACCESS_EMAILS"
]
},
"role": "SHIPMENT_COMPLETOR",
"locale": "en_US"
}],
"message": "your optional message"
},
"attachedDocuments": [{
"documentType": "PRO_FORMA_INVOICE",
"documentReference": "DocumentReference",
"description": "PRO FORMA INVOICE",
"documentId": "090927d680038c61"
}],
"expirationTimeStamp": "2020-01-01"
},
"holdAtLocationDetail": {
"locationId": "YBZA",
"locationContactAndAddress": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "38127",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "person name",
"emailAddress": "email address",
"phoneNumber": "phone number",
"phoneExtension": "phone extension",
"companyName": "company name",
"faxNumber": "fax number"
}
},
"locationType": "FEDEX_ONSITE"
},
"shipmentCODDetail": {
"addTransportationChargesDetail": {
"rateType": "ACCOUNT",
"rateLevelType": "BUNDLED_RATE",
"chargeLevelType": "CURRENT_PACKAGE",
"chargeType": "COD_SURCHARGE"
},
"codRecipient": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "XXXX345671",
"companyName": "Fedex"
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}]
},
"remitToName": "remitToName",
"codCollectionType": "ANY",
"financialInstitutionContactAndAddress": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "38127",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "person name",
"emailAddress": "email address",
"phoneNumber": "phone number",
"phoneExtension": "phone extension",
"companyName": "company name",
"faxNumber": "fax number"
}
},
"codCollectionAmount": {
"amount": 12.45,
"currency": "USD"
},
"returnReferenceIndicatorType": "INVOICE",
"shipmentCodAmount": {
"amount": 12.45,
"currency": "USD"
}
},
"shipmentDryIceDetail": {
"totalWeight": {
"units": "LB",
"value": 10
},
"packageCount": 12
},
"internationalControlledExportDetail": {
"licenseOrPermitExpirationDate": "2019-12-03",
"licenseOrPermitNumber": "11",
"entryNumber": "125",
"foreignTradeZoneCode": "US",
"type": "WAREHOUSE_WITHDRAWAL"
},
"homeDeliveryPremiumDetail": {
"phoneNumber": {
"areaCode": "901",
"localNumber": "3575012",
"extension": "200",
"personalIdentificationNumber": "98712345"
},
"deliveryDate": "2019-06-26",
"homedeliveryPremiumType": "APPOINTMENT"
}
},
"emailNotificationDetail": {
"aggregationType": "PER_PACKAGE",
"emailNotificationRecipients": [{
"name": "Joe Smith",
"emailNotificationRecipientType": "SHIPPER",
"emailAddress": "jsmith3@aol.com",
"notificationFormatType": "TEXT",
"notificationType": "EMAIL",
"locale": "en_US",
"notificationEventType": [
"ON_PICKUP_DRIVER_ARRIVED",
"ON_SHIPMENT"
]
}],
"personalMessage": "your personal message here"
},
"expressFreightDetail": {
"bookingConfirmationNumber": "123456789812",
"shippersLoadAndCount": 123,
"packingListEnclosed": true
},
"variableHandlingChargeDetail": {
"rateType": "PREFERRED_CURRENCY",
"percentValue": 12.45,
"rateLevelType": "INDIVIDUAL_PACKAGE_RATE",
"fixedValue": {
"amount": 24.45,
"currency": "USD"
},
"rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES"
},
"customsClearanceDetail": {
"regulatoryControls": "NOT_IN_FREE_CIRCULATION",
"brokers": [{
"broker": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneNumber": "1234567890",
"phoneExtension": 91,
"companyName": "Fedex",
"faxNumber": 1234567
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "number",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}],
"deliveryInstructions": "deliveryInstructions"
},
"type": "IMPORT"
}],
"commercialInvoice": {
"originatorName": "originator Name",
"comments": [
"optional comments for the commercial invoice"
],
"customerReferences": [{
"customerReferenceType": "INVOICE_NUMBER",
"value": "3686"
}],
"taxesOrMiscellaneousCharge": {
"amount": 12.45,
"currency": "USD"
},
"taxesOrMiscellaneousChargeType": "COMMISSIONS",
"freightCharge": {
"amount": 12.45,
"currency": "USD"
},
"packingCosts": {
"amount": 12.45,
"currency": "USD"
},
"handlingCosts": {
"amount": 12.45,
"currency": "USD"
},
"declarationStatement": "declarationStatement",
"termsOfSale": "FCA",
"specialInstructions": "specialInstructions"",
"shipmentPurpose": "REPAIR_AND_RETURN",
"emailNotificationDetail": {
"emailAddress": "neena@fedex.com",
"type": "EMAILED",
"recipientType": "SHIPPER"
}
},
"freightOnValue": "OWN_RISK",
"dutiesPayment": {
"payor": {
"responsibleParty": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "38127",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneNumber": "1234567890",
"phoneExtension": "phone extension",
"companyName": "Fedex",
"faxNumber": "fax number"
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "number",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
},
{
"number": "number",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}
]
}
},
"billingDetails": {
"billingCode": "billingCode",
"billingType": "billingType",
"aliasId": "aliasId",
"accountNickname": "accountNickname",
"accountNumber": "Your account number",
"accountNumberCountryCode": "US"
},
"paymentType": "SENDER"
},
"commodities": [{
"unitPrice": {
"amount": 12.45,
"currency": "USD"
},
"additionalMeasures": [{
"quantity": 12.45,
"units": "KG"
}],
"numberOfPieces": 12,
"quantity": 125,
"quantityUnits": "Ea",
"customsValue": {
"amount": "1556.25",
"currency": "USD"
},
"countryOfManufacture": "US",
"cIMarksAndNumbers": "87123",
"harmonizedCode": "0613",
"description": "description",
"name": "non-threaded rivets",
"weight": {
"units": "KG",
"value": 68
},
"exportLicenseNumber": "26456",
"exportLicenseExpirationDate": "2023-07-11T09:26:34Z",
"partNumber": "167",
"purpose": "BUSINESS",
"usmcaDetail": {
"originCriterion": "A"
}
}],
"isDocumentOnly": true,
"recipientCustomsId": {
"type": "PASSPORT",
"value": "123"
},
"customsOption": {
"description": "Description",
"type": "COURTESY_RETURN_LABEL"
},
"importerOfRecord": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "XXXX345671",
"companyName": "Fedex"
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}]
},
"generatedDocumentLocale": "en_US",
"exportDetail": {
"destinationControlDetail": {
"endUser": "dest country user",
"statementTypes": "DEPARTMENT_OF_COMMERCE",
"destinationCountries": [
"USA",
"India"
]
},
"b13AFilingOption": "NOT_REQUIRED",
"exportComplianceStatement": "12345678901234567",
"permitNumber": "12345"
},
"totalCustomsValue": {
"amount": 12.45,
"currency": "USD"
},
"partiesToTransactionAreRelated": true,
"declarationStatementDetail": {
"usmcaLowValueStatementDetail": {
"countryOfOriginLowValueDocumentRequested": true,
"customsRole": "EXPORTER"
}
},
"insuranceCharge": {
"amount": 12.45,
"currency": "USD"
}
},
"smartPostInfoDetail": {
"ancillaryEndorsement": "RETURN_SERVICE",
"hubId": "5015",
"indicia": "PRESORTED_STANDARD",
"specialServices": "USPS_DELIVERY_CONFIRMATION"
},
"blockInsightVisibility": true,
"labelSpecification": {
"labelFormatType": "COMMON2D",
"labelOrder": "SHIPPING_LABEL_FIRST",
"customerSpecifiedDetail": {
"maskedData": [
"CUSTOMS_VALUE",
"TOTAL_WEIGHT"
],
"regulatoryLabels": [{
"generationOptions": "CONTENT_ON_SHIPPING_LABEL_ONLY",
"type": "ALCOHOL_SHIPMENT_LABEL"
}],
"additionalLabels": [{
"type": "CONSIGNEE",
"count": 1
}],
"docTabContent": {
"docTabContentType": "BARCODED",
"zone001": {
"docTabZoneSpecifications": [{
"zoneNumber": 0,
"header": "string",
"dataField": "string",
"literalValue": "string",
"justification": "RIGHT"
}]
},
"barcoded": {
"symbology": "UCC128",
"specification": {
"zoneNumber": 0,
"header": "string",
"dataField": "string",
"literalValue": "string",
"justification": "RIGHT"
}
}
}
},
"printedLabelOrigin": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "38127",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "person name",
"emailAddress": "email address",
"phoneNumber": "phone number",
"phoneExtension": "phone extension",
"companyName": "company name",
"faxNumber": "fax number"
}
},
"labelStockType": "PAPER_85X11_TOP_HALF_LABEL",
"labelRotation": "UPSIDE_DOWN",
"imageType": "PDF",
"labelPrintingOrientation": "TOP_EDGE_OF_TEXT_FIRST",
"returnedDispositionDetail": true
},
"shippingDocumentSpecification": {
"generalAgencyAgreementDetail": {
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
}
},
"returnInstructionsDetail": {
"customText": "This is additional text printed on Return instr",
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US"",
"docType": "PNG"
}
},
"op900Detail": {
"customerImageUsages": [{
"id": "IMAGE_5",
"type": "SIGNATURE",
"providedImageType": "SIGNATURE"
}],
"signatureName": "Signature Name",
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
}
},
"usmcaCertificationOfOriginDetail": {
"customerImageUsages": [{
"id": "IMAGE_5",
"type": "SIGNATURE",
"providedImageType": "SIGNATURE"
}],
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
},
"certifierSpecification": "EXPORTER",
"importerSpecification": "UNKNOWN",
"producerSpecification": "SAME_AS_EXPORTER",
"producer": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "XXXX345671",
"companyName": "Fedex"
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}]
},
"blanketPeriod": {
"begins": "22-01-2020",
"ends": "2-01-2020"
},
"certifierJobTitle": "Manager"
},
"usmcaCommercialInvoiceCertificationOfOriginDetail": {
"customerImageUsages": [{
"id": "IMAGE_5",
"type": "SIGNATURE",
"providedImageType": "SIGNATURE"
}],
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
},
"certifierSpecification": "EXPORTER",
"importerSpecification": "UNKNOWN",
"producerSpecification": "SAME_AS_EXPORTER",
"producer": {
"address": {
"streetLines": [
"10 FedEx Parkway",
"Suite 302"
],
"city": "Beverly Hills",
"stateOrProvinceCode": "CA",
"postalCode": "90210",
"countryCode": "US",
"residential": false
},
"contact": {
"personName": "John Taylor",
"emailAddress": "sample@company.com",
"phoneExtension": "000",
"phoneNumber": "XXXX345671",
"companyName": "Fedex"
},
"accountNumber": {
"value": "Your account number"
},
"tins": [{
"number": "123567",
"tinType": "FEDERAL",
"usage": "usage",
"effectiveDate": "2000-01-23T04:56:07.000+00:00",
"expirationDate": "2000-01-23T04:56:07.000+00:00"
}]
},
"certifierJobTitle": "Manager"
},
"shippingDocumentTypes": [
"RETURN_INSTRUCTIONS"
],
"certificateOfOrigin": {
"customerImageUsages": [{
"id": "IMAGE_5",
"type": "SIGNATURE",
"providedImageType": "SIGNATURE"
}],
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
}
},
"commercialInvoiceDetail": {
"customerImageUsages": [{
"id": "IMAGE_5",
"type": "SIGNATURE",
"providedImageType": "SIGNATURE"
}],
"documentFormat": {
"provideInstructions": true,
"optionsRequested": {
"options": [
"SUPPRESS_ADDITIONAL_LANGUAGES",
"SHIPPING_LABEL_LAST"
]
},
"stockType": "PAPER_LETTER",
"dispositions": [{
"eMailDetail": {
"eMailRecipients": [{
"emailAddress": "email@fedex.com",
"recipientType": "THIRD_PARTY"
}],
"locale": "en_US",
"grouping": "NONE"
},
"dispositionType": "CONFIRMED"
}],
"locale": "en_US",
"docType": "PDF"
}
}
},
"rateRequestType": [
"LIST",
"PREFERRED"
],
"preferredCurrency": "USD",
"totalPackageCount": 25,
"masterTrackingId": {
"formId": "0201",
"trackingIdType": "EXPRESS",
"uspsApplicationId": "92",
"trackingNumber": "49092000070120032835"
},
"requestedPackageLineItems": [{
"sequenceNumber": "1",
"subPackagingType": "BUCKET",
"customerReferences": [{
"customerReferenceType": "INVOICE_NUMBER",
"value": "3686"
}],
"declaredValue": {
"amount": 12.45,
"currency": "USD"
},
"weight": {
"units": "KG",
"value": 68
},
"dimensions": {
"length": 100,
"width": 50,
"height": 30,
"units": "CM"
},
"groupPackageCount": 2,
"itemDescriptionForClearance": "description",
"contentRecord": [{
"itemNumber": "2876",
"receivedQuantity": 256,
"description": "Description",
"partNumber": "456"
}],
"itemDescription": "item description for the package",
"variableHandlingChargeDetail": {
"rateType": "PREFERRED_CURRENCY",
"percentValue": 12.45,
"rateLevelType": "INDIVIDUAL_PACKAGE_RATE",
"fixedValue": {
"amount": 24.45,
"currency": "USD"
},
"rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES"
},
"packageSpecialServices": {
"specialServiceTypes": [
"ALCOHOL",
"NON_STANDARD_CONTAINER"
],
"signatureOptionType": "ADULT",
"priorityAlertDetail": {
"enhancementTypes": [
"PRIORITY_ALERT_PLUS"
],
"content": [
"string"
]
},
"signatureOptionDetail": {
"signatureReleaseNumber": "23456"
},
"alcoholDetail": {
"alcoholRecipientType": "LICENSEE",
"shipperAgreementType": "Retailer"
},
"dangerousGoodsDetail": {
"cargoAircraftOnly": false,
"accessibility": "INACCESSIBLE",
"options": [
"LIMITED_QUANTITIES_COMMODITIES",
"ORM_D"
]
},
"packageCODDetail": {
"codCollectionAmount": {
"amount": 12.45,
"currency": "USD"
}
},
"pieceCountVerificationBoxCount": 0,
"batteryDetails": [{

                "batteryPackingType": "CONTAINED_IN_EQUIPMENT",
                "batteryRegulatoryType": "IATA_SECTION_II",
                "batteryMaterialType": "LITHIUM_METAL"
            }],
            "dryIceWeight": {
                "units": "KG",
                "value": 68
            }
        },
        "trackingNumber": "756477399"
    }]
},
"labelResponseOptions": "LABEL",
"accountNumber": {
    "value": "Your account number"
},
"shipAction": "CONFIRM",
"processingOptionType": "ALLOW_ASYNCHRONOUS",
"oneLabelAtATime": true

}`

@dmytro-korzhov-rg
Copy link

The same problem
image

My json:
{
"data":[
{
"id":"9412ac86-9d58-4270-a46c-79cfcbf50ca6",
"type":"calendar-event",
"relationships":{
"source":{
"data":{
"id":"1",
"type":"booking"
}
}
}
},
{
"id":"014fa59f-839e-4e26-b718-c242c752c4c7",
"type":"calendar-event",
"relationships":{
"source":{
"data":{
"id":"2",
"type":"booking"
}
}
}
},
{
"id":"lC19kfJmx6O",
"type":"calendar-event",
"relationships":{
"source":{
"data":{
"id":"1",
"type":"external-calendar-event"
}
}
}
},
{
"id":"1AUGlwOOqzup",
"type":"calendar-event",
"relationships":{
"source":{
"data":{
"id":"2",
"type":"external-calendar-event"
}
}
}
}
],
"included":[
{
"id":"2",
"type":"user-profile",
"attributes":{
"first-name":"Elizabeth",
"last-name":"Nader",
"position":"General Consultant",
"avatar-urls":null,
"about":"Mlkshk etsy keytar tofu artisan American Apparel brunch."
}
},
{
"id":"1",
"type":"service",
"attributes":{
"name":"1",
"description":"Atque quam libero vitae enim quod provident molestiae tempora",
"custom":false
}
},
{
"id":"1",
"type":"client-profile",
"attributes":{
"first-name":"Edgardo",
"last-name":"Rohan",
"email":"alverta_hamill@fay.biz",
"avatar-urls":null
}
},
{
"id":"1",
"type":"service-category",
"attributes":{
"name":"Classical1",
"color":"#ffffff"
}
},
{
"id":"1",
"type":"reschedule",
"attributes":{
"old-start-time":"2022-05-07T05:40:00",
"old-end-time":"2023-08-06T18:15:00",
"performed-by":"user",
"reschedule-reason":"Adipisci quis fugiat inventore est mollitia."
}
},
{
"id":"1",
"type":"video-record",
"attributes":{
"created-at":"2023-08-01T09:36:14.941Z",
"chat-user-id":2,
"filename":"example.mp4",
"size":1053651,
"mime-type":"video/mp4",
"url":"memory://videorecord/1/file/75672370ea1636648820490041361a72.mp4"
}
},
{
"id":"1",
"type":"booking-recurrence",
"attributes":{
"start-date":"2023-08-01T09:36:14.494Z",
"frequency":"Weekly",
"days":"Monday, Wednesday",
"times":2,
"till":null,
"last-booking-id":2
}
},
{
"id":"2",
"type":"transaction",
"attributes":{
"amount":"-9.99",
"status":"success",
"payment-type":"refund",
"card-brand":null,
"last-digits":null,
"transaction-number":"#2"
}
},
{
"id":"1",
"type":"transaction",
"attributes":{
"amount":"9.99",
"status":"success",
"payment-type":"payment_for_appointment",
"card-brand":null,
"last-digits":null,
"transaction-number":"#1"
}
},
{
"id":"1",
"type":"location",
"attributes":{
"name":"Grady-Spinka",
"status":"active",
"address-line":"249 Sporer Cliff",
"coordinate":{
"x":36.0150030591,
"y":73.9693478828185
}
}
},
{
"id":"1",
"type":"booking",
"attributes":{
"price":"9.99",
"status":"scheduled",
"cancellation-reason":null,
"cancelled-by-type":null,
"uniq-code":"9412ac86-9d58-4270-a46c-79cfcbf50ca6",
"refund-amount":"-9.99",
"video-conference-code":"tcqZy8g9JK6BCuGpZMYtSE9V-expbox",
"video-room-type":"group",
"calendar-links":{
"google_calendar_link":"https://calendar.google.com/calendar/u/0/r/eventedit",
"icalendar_link":"http://localhost:3000/api/v1/calendar_file"
},
"intake-forms-count":0,
"submitted-intake-forms-count":0,
"agreement-forms-count":0,
"submitted-agreement-forms-count":0,
"start-time":"2019-01-01T22:00:00",
"end-time":"2019-01-29T22:00:00"
},
"relationships":{
"workspace":{
"data":{
"id":"1",
"type":"workspace"
}
},
"service":{
"data":{
"id":"1",
"type":"service"
}
},
"client-profile":{
"data":{
"id":"1",
"type":"client-profile"
}
},
"user-profile":{
"data":{
"id":"2",
"type":"user-profile"
}
},
"service-category":{
"data":{
"id":"1",
"type":"service-category"
}
},
"booking-setting":{
"data":null
},
"reschedule":{
"data":{
"id":"1",
"type":"reschedule"
}
},
"video-records":{
"data":[
{
"id":"1",
"type":"video-record"
}
]
},
"transactions":{
"data":[
{
"id":"2",
"type":"transaction"
},
{
"id":"1",
"type":"transaction"
}
]
},
"booking-recurrence":{
"data":{
"id":"1",
"type":"booking-recurrence"
}
},
"location":{
"data":{
"id":"1",
"type":"location"
}
}
}
},
{
"id":"6",
"type":"user-profile",
"attributes":{
"first-name":"Lady",
"last-name":"Medhurst",
"position":"General Sales Consultant",
"avatar-urls":null,
"about":"+1 quinoa artisan yr scenester art."
}
},
{
"id":"3",
"type":"service",
"attributes":{
"name":"2",
"description":"Ducimus suscipit deserunt repudiandae magnam neque iure dolorum",
"custom":false
}
},
{
"id":"3",
"type":"client-profile",
"attributes":{
"first-name":"Jermaine",
"last-name":"Tillman",
"email":"tobie@bruenklein.co.uk",
"avatar-urls":null
}
},
{
"id":"3",
"type":"service-category",
"attributes":{
"name":"Religious3",
"color":"#ffffff"
}
},
{
"id":"2",
"type":"reschedule",
"attributes":{
"old-start-time":"2021-02-23T18:23:00",
"old-end-time":"2020-02-04T23:21:00",
"performed-by":"user",
"reschedule-reason":"Est adipisci animi laborum dolore."
}
},
{
"id":"2",
"type":"video-record",
"attributes":{
"created-at":"2023-08-01T09:36:15.057Z",
"chat-user-id":4,
"filename":"example.mp4",
"size":1053651,
"mime-type":"video/mp4",
"url":"memory://videorecord/2/file/d28076b2e07e74e22bbceddce78ff4c3.mp4"
}
},
{
"id":"4",
"type":"transaction",
"attributes":{
"amount":"-9.99",
"status":"success",
"payment-type":"refund",
"card-brand":null,
"last-digits":null,
"transaction-number":"#4"
}
},
{
"id":"3",
"type":"transaction",
"attributes":{
"amount":"9.99",
"status":"success",
"payment-type":"payment_for_appointment",
"card-brand":null,
"last-digits":null,
"transaction-number":"#3"
}
},
{
"id":"2",
"type":"booking",
"attributes":{
"price":"9.99",
"status":"scheduled",
"cancellation-reason":null,
"cancelled-by-type":null,
"uniq-code":"014fa59f-839e-4e26-b718-c242c752c4c7",
"refund-amount":"-9.99",
"video-conference-code":"CMLHwoqDzSPEyVnUUUpGLGZc-expbox",
"video-room-type":"group",
"calendar-links":{
"google_calendar_link":"https://calendar.google.com/calendar/u/0/r/eventedit",
"icalendar_link":"http://localhost:3000/api/v1/calendar_file"
},
"intake-forms-count":0,
"submitted-intake-forms-count":0,
"agreement-forms-count":0,
"submitted-agreement-forms-count":0,
"start-time":"2019-01-02T22:00:00",
"end-time":"2019-01-29T22:00:00"
},
"relationships":{
"workspace":{
"data":{
"id":"1",
"type":"workspace"
}
},
"service":{
"data":{
"id":"3",
"type":"service"
}
},
"client-profile":{
"data":{
"id":"3",
"type":"client-profile"
}
},
"user-profile":{
"data":{
"id":"6",
"type":"user-profile"
}
},
"service-category":{
"data":{
"id":"3",
"type":"service-category"
}
},
"booking-setting":{
"data":null
},
"reschedule":{
"data":{
"id":"2",
"type":"reschedule"
}
},
"video-records":{
"data":[
{
"id":"2",
"type":"video-record"
}
]
},
"transactions":{
"data":[
{
"id":"4",
"type":"transaction"
},
{
"id":"3",
"type":"transaction"
}
]
},
"booking-recurrence":{
"data":{
"id":"1",
"type":"booking-recurrence"
}
},
"location":{
"data":null
}
}
},
{
"id":"1",
"type":"user-profile",
"attributes":{
"first-name":"Carletta",
"last-name":"Trantow",
"avatar-urls":null
}
},
{
"id":"1",
"type":"external-calendar-event",
"attributes":{
"name":"Dolor ratione eum quisquam ea illum.",
"all-day-event":false,
"calendar-name":"Nostrum alias quae sequi ipsum vitae.",
"calendar-busy":false,
"attendees":[
{
"email":"shante@jakubowski.info",
"display_name":"Nelly Hahn",
"responseStatus":"accepted"
},
{
"email":"remona.keeling@williamson.co.uk",
"display_name":"Bruna Klein",
"responseStatus":"declined"
}
],
"attachments":[
{
"title":"Test uploaded file",
"file_url":"/tmp/example20230801-19046-fg2vt2.jpeg",
"mimeType":"picture/jpeg"
}
],
"locations":[
{
"name":"Location 1",
"coordinate":{
"x":56.9989,
"y":1.1632
},
"address_line":"36 Road, London, Texas, USA, 45454"
},
{
"name":"LocationTest 2",
"address_line":"S Pranavanandji Marg, Sector 30, Vashi, Navi Mumbai, Maharashtra, India, 677667"
}
],
"calendar-list-item-type":"GoogleCalendarListItem",
"join-url":"http://aufderharnienow.ca",
"rrule":null,
"start-time":"2019-01-03T22:00:00",
"end-time":"2019-01-29T22:00:00"
},
"relationships":{
"user-profile":{
"data":{
"id":"1",
"type":"user-profile"
}
}
}
},
{
"id":"2",
"type":"external-calendar-event",
"attributes":{
"name":"Voluptatum exercitationem ducimus voluptate doloremque autem perspiciatis perferendis.",
"all-day-event":false,
"calendar-name":"Ipsam accusantium nesciunt nulla quas debitis voluptate voluptas atque.",
"calendar-busy":false,
"attendees":[
{
"email":"anya@weissnat.info",
"display_name":"Olympia Predovic",
"responseStatus":"accepted"
},
{
"email":"mammie@kuhicoconner.ca",
"display_name":"Carmine Schaefer",
"responseStatus":"declined"
}
],
"attachments":[
{
"title":"Test uploaded file",
"file_url":"/tmp/example20230801-19046-jllbzp.jpeg",
"mimeType":"picture/jpeg"
}
],
"locations":[
{
"name":"Location 1",
"coordinate":{
"x":56.9989,
"y":1.1632
},
"address_line":"36 Road, London, Texas, USA, 45454"
},
{
"name":"LocationTest 2",
"address_line":"S Pranavanandji Marg, Sector 30, Vashi, Navi Mumbai, Maharashtra, India, 677667"
}
],
"calendar-list-item-type":"GoogleCalendarListItem",
"join-url":"http://williamson.info",
"rrule":null,
"start-time":"2019-01-04T22:00:00",
"end-time":"2019-01-29T22:00:00"
},
"relationships":{
"user-profile":{
"data":{
"id":"1",
"type":"user-profile"
}
}
}
}
]
}

@diroussel
Copy link

This isn't really useful as a bug report. Is this a bug report? If you want to report a bug, maybe make a more minimal test case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants