{"id":874,"date":"2024-10-01T12:20:07","date_gmt":"2024-10-01T12:20:07","guid":{"rendered":"https:\/\/api-users.4over.com\/?page_id=874"},"modified":"2024-11-04T12:45:58","modified_gmt":"2024-11-04T12:45:58","slug":"presort","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=874","title":{"rendered":"Presort"},"content":{"rendered":"\n<p>Presort Route return the Postage Price, post_office_drop_date, number_of_items_mailed and other Presort information.<\/p>\n\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\nPOST \/presorts\n<\/pre>\n<h3>Input Parameters<\/h3>\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n@param validation_type {string} Address validation_type \/\/Provided in the address validation API response\n@param original_address_list_csv {string} original address CSV file url \/\/Provided in the Direct Mail Address Validation API response\n@param precleanlist_csv {string} clean list CSV file url \/\/Provided in the Direct Mail Address Validation API response\n@param validation_report_pdf {string} validation report pdf file url \/\/Provided in the Direct Mail Address Validation API response\n@param statement_id {string} statement_id \/\/Provided in the Direct Mail Address Validation API response\n@param crid {integer} crid \/\/ any random number (3-12 digits range), required in case of Postage Class - Non-Profit\n@param resource_uuids {array} option_uuids of a product\n\n\nNote: validation_type, original_address_list_csv, precleanlist_csv, validation_report_pdf, statement_id provided in the response from the \/files route response after the Direct Mail Address Validation is done.\n\noriginal_address_list_csv: This likely refers to a CSV file that contains a list of addresses in their original format.\nprecleanlist_csv: It contains addresses that have been \"pre-cleaned\" or processed to remove errors, duplicates. \nstatement_id: This is likely an identifier for a specific statement or record.\n\n<\/pre>\n\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n    \"validation_type\": \"NONE\",\n    \"original_address_list_csv\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/OriginalMailingAddress-yUyFl86Ls0vkn6CgJpDuglkyrO3Werf.csv\",\n    \"precleanlist_csv\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/precleanlist_csv-gQQN52hEh2RrcA42lrBfYndsdrtrgd.csv\",\n    \"validation_report_pdf\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/validation_report_pdf-yUyFl86Ls0vkn6CgJpDuglkyrO3Werf.pdf\",\n    \"resource_uuids\": [\n        \"6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a\",\n        \"121bb7b5-3b4d-429f-bd8d-bbf80e953313\",\n        \"4d0c12ba-13c5-4851-ac98-d5908a8da60b\",\n        \"2fd6ad29-756c-4927-a66f-b0c0116e31f9\",\n        \"3359c49b-ecae-4694-8901-edec09a31a0d\",\n        \"ddaf65eb-d2a3-4542-874d-03a289d9d07b\",\n        \"ac3f81af-b99a-489d-b2e3-b192e9eaa96a\",\n        \"9f85d0c4-d344-4088-a719-86f8f84d504d\",\n        \"52e3d710-0e8f-4d4d-8560-7d4d8655be69\",\n        \"f169e8b1-5d3f-408a-81fd-c857f7b9c37b\"\n    ],\n    \"statement_id\": \"6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw\",\n    \"crid\":\"123456\"\n}\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n    \"clean_mailing_address_list_csv\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.amazonaws.com\/cleanlist-6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw.csv\",\n    \"crid\": \"\",\n    \"drop_zip_code\": \"33152-9996\",\n    \"eligibility_discount\": \"\",\n    \"mail_piece_type\": \"postcard\",\n    \"maildat_zip\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.amazonaws.com\/maildat-6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw.zip\",\n    \"mailing_usps_status_report_pdf\": \"\",\n    \"number_of_items_mailed\": 998,\n    \"original_mailing_list_csv\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/OriginalMailingAddress-yUyFl86Ls0vkn6CgJpDuglkyrO3Werf.csv\",\n    \"permit_number\": \"3666\",\n    \"piece_height\": \"3.5\",\n    \"piece_multiplier\": \"1\",\n    \"piece_size\": \"\",\n    \"piece_stock\": null,\n    \"piece_thickness\": 0.016,\n    \"piece_turnaround\": 4,\n    \"piece_weight\": 0.229075,\n    \"piece_width\": \"8.5\",\n    \"post_office_drop_date\": \"2024-08-28\",\n    \"postage_price\": 397.5480000000032,\n    \"preclean_mailing_list_csv\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/precleanlist_csv-gQQN52hEh2RrcA42lrBfYndsdrtrgd.csv\",\n    \"presort_class\": \"firstClass\",\n    \"presort_location\": \"fl\",\n    \"presort_mail_summary_report\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.amazonaws.com\/storePdfPresortingMailSummaryReport_pdf-6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw.\",\n    \"presort_pdf\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.amazonaws.com\/presort_report_AWS-6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw.pdf\",\n    \"presort_tray_labels_pdf\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.amazonaws.com\/presort_tray_labels_report_AWS-6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw.pdf\",\n    \"project_id\": \"becc9d2c-be5d-40cd-8386-bc386140a3e9\",\n    \"runsize\": \"1000\",\n    \"satori_template_class\": \"firstClass-postcard\",\n    \"satori_validation_pdf\": \"https:\/\/8b887e04-4eb5-46f4-b35f-e466e7723fbe.s3.us-west-1.amazonaws.com\/validation_report_pdf-yUyFl86Ls0vkn6CgJpDuglkyrO3Werf.pdf\",\n    \"sqfootage\": 29.75,\n    \"statement_id\": \"6Lfy0olDwH7vvOsciNcPoDW7P9Eho9Xw\",\n    \"statement_usps_job_id\": \"ASIIXMV\",\n    \"validation_type\": \"NONE\"\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Presort Route return the Postage Price, post_office_drop_date, number_of_items_mailed and other Presort information. Resource URI Input Parameters JSON Sample Response JSON<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":935,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-874","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=874"}],"version-history":[{"count":28,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/874\/revisions"}],"predecessor-version":[{"id":941,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/874\/revisions\/941"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/935"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}