{"id":30,"date":"2024-05-29T23:15:41","date_gmt":"2024-05-29T23:15:41","guid":{"rendered":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/?p=30"},"modified":"2024-05-29T23:15:41","modified_gmt":"2024-05-29T23:15:41","slug":"fedex-confirm-open-ship","status":"publish","type":"post","link":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/?p=30","title":{"rendered":"FedEX &#8211; Confirm open ship"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>namespace WooCommerceWeb.Models\n{\n    \n\n    \/\/ Root myDeserializedClass = JsonConvert.DeserializeObject&lt;Root>(myJsonResponse);\n    public class AccountNumbers\n    {\n        public string value { get; set; }\n    }\n\n    public class AdditionalLabel\n    {\n        public string type { get; set; }\n        public int count { get; set; }\n    }\n\n    public class Addresss\n    {\n        public List&lt;string> streetLines { get; set; }\n        public string city { get; set; }\n        public string stateOrProvinceCode { get; set; }\n        public string postalCode { get; set; }\n        public string countryCode { get; set; }\n        public bool residential { get; set; }\n    }\n\n    public class Barcoded\n    {\n        public string symbology { get; set; }\n        public Specification specification { get; set; }\n    }\n\n    public class BlanketPeriod\n    {\n        public string begins { get; set; }\n        public string ends { get; set; }\n    }\n\n    public class CertificateOfOrigin\n    {\n        public List&lt;CustomerImageUsage> customerImageUsages { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n    }\n\n    public class CommercialInvoiceDetail\n    {\n        public List&lt;CustomerImageUsage> customerImageUsages { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n    }\n\n    public class Contacts\n    {\n        public string personName { get; set; }\n        public string emailAddress { get; set; }\n        public string phoneNumber { get; set; }\n        public string phoneExtension { get; set; }\n        public string companyName { get; set; }\n        public string faxNumber { get; set; }\n    }\n\n    public class CustomerImageUsage\n    {\n        public string id { get; set; }\n        public string type { get; set; }\n        public string providedImageType { get; set; }\n    }\n\n    public class CustomerSpecifiedDetail\n    {\n        public List&lt;string> maskedData { get; set; }\n        public List&lt;RegulatoryLabel> regulatoryLabels { get; set; }\n        public List&lt;AdditionalLabel> additionalLabels { get; set; }\n        public DocTabContent docTabContent { get; set; }\n    }\n\n    public class Disposition\n    {\n        public EMailDetail eMailDetail { get; set; }\n        public string dispositionType { get; set; }\n    }\n\n    public class DocTabContent\n    {\n        public string docTabContentType { get; set; }\n        public Zone001 zone001 { get; set; }\n        public Barcoded barcoded { get; set; }\n    }\n\n    public class DocTabZoneSpecification\n    {\n        public int zoneNumber { get; set; }\n        public string header { get; set; }\n        public string dataField { get; set; }\n        public string literalValue { get; set; }\n        public string justification { get; set; }\n    }\n\n    public class DocumentFormat\n    {\n        public bool provideInstructions { get; set; }\n        public OptionsRequested optionsRequested { get; set; }\n        public string stockType { get; set; }\n        public List&lt;Disposition> dispositions { get; set; }\n        public string locale { get; set; }\n        public string docType { get; set; }\n    }\n\n    public class EMailDetail\n    {\n        public List&lt;EMailRecipient> eMailRecipients { get; set; }\n        public string locale { get; set; }\n        public string grouping { get; set; }\n    }\n\n    public class EMailRecipient\n    {\n        public string emailAddress { get; set; }\n        public string recipientType { get; set; }\n    }\n\n    public class GeneralAgencyAgreementDetail\n    {\n        public DocumentFormat documentFormat { get; set; }\n    }\n\n    public class LabelSpecification\n    {\n        public string labelFormatType { get; set; }\n        public string labelOrder { get; set; }\n        public CustomerSpecifiedDetail customerSpecifiedDetail { get; set; }\n        public PrintedLabelOrigin printedLabelOrigin { get; set; }\n        public string labelStockType { get; set; }\n        public string labelRotation { get; set; }\n        public string imageType { get; set; }\n        public string labelPrintingOrientation { get; set; }\n        public bool returnedDispositionDetail { get; set; }\n    }\n\n    public class Op900Detail\n    {\n        public List&lt;CustomerImageUsage> customerImageUsages { get; set; }\n        public string signatureName { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n    }\n\n    public class OptionsRequested\n    {\n        public List&lt;string> options { get; set; }\n    }\n\n    public class PrintedLabelOrigin\n    {\n        public Addresss address { get; set; }\n        public Contacts contact { get; set; }\n    }\n\n    public class Producer\n    {\n        public Addresss address { get; set; }\n        public Contacts contact { get; set; }\n        public AccountNumber accountNumber { get; set; }\n        public List&lt;Tins> tins { get; set; }\n    }\n\n    public class RegulatoryLabel\n    {\n        public string generationOptions { get; set; }\n        public string type { get; set; }\n    }\n\n    public class ReturnInstructionsDetail\n    {\n        public string customText { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n    }\n\n    public class ConfirmOpenApiRequestModel\n    {\n        public string labelResponseOptions { get; set; }\n        public string edtRequestType { get; set; }\n        public LabelSpecification labelSpecification { get; set; }\n        public string index { get; set; }\n        public ShippingDocumentSpecification shippingDocumentSpecification { get; set; }\n        public AccountNumber accountNumber { get; set; }\n    }\n\n    public class ShippingDocumentSpecification\n    {\n        public GeneralAgencyAgreementDetail generalAgencyAgreementDetail { get; set; }\n        public ReturnInstructionsDetail returnInstructionsDetail { get; set; }\n        public Op900Detail op900Detail { get; set; }\n        public UsmcaCertificationOfOriginDetail usmcaCertificationOfOriginDetail { get; set; }\n        public UsmcaCommercialInvoiceCertificationOfOriginDetail usmcaCommercialInvoiceCertificationOfOriginDetail { get; set; }\n        public List&lt;string> shippingDocumentTypes { get; set; }\n        public CertificateOfOrigin certificateOfOrigin { get; set; }\n        public CommercialInvoiceDetail commercialInvoiceDetail { get; set; }\n    }\n\n    public class Specification\n    {\n        public int zoneNumber { get; set; }\n        public string header { get; set; }\n        public string dataField { get; set; }\n        public string literalValue { get; set; }\n        public string justification { get; set; }\n    }\n\n    public class Tins\n    {\n        public string number { get; set; }\n        public string tinType { get; set; }\n        public string usage { get; set; }\n        public DateTime effectiveDate { get; set; }\n        public DateTime expirationDate { get; set; }\n    }\n\n    public class UsmcaCertificationOfOriginDetail\n    {\n        public List&lt;CustomerImageUsage> customerImageUsages { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n        public string certifierSpecification { get; set; }\n        public string importerSpecification { get; set; }\n        public string producerSpecification { get; set; }\n        public Producer producer { get; set; }\n        public BlanketPeriod blanketPeriod { get; set; }\n        public string certifierJobTitle { get; set; }\n    }\n\n    public class UsmcaCommercialInvoiceCertificationOfOriginDetail\n    {\n        public List&lt;CustomerImageUsage> customerImageUsages { get; set; }\n        public DocumentFormat documentFormat { get; set; }\n        public string certifierSpecification { get; set; }\n        public string importerSpecification { get; set; }\n        public string producerSpecification { get; set; }\n        public Producer producer { get; set; }\n        public string certifierJobTitle { get; set; }\n    }\n\n    public class Zone001\n    {\n        public List&lt;DocTabZoneSpecification> docTabZoneSpecifications { get; set; }\n    }\n\n\n}<\/code><\/pre>\n\n\n\n<p>Schema &#8211; Fedex <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Schema &#8211; Fedex<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":1,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mystifying-liskov.77-68-127-141.plesk.page\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}