{"info":{"_postman_id":"bd1b0379-fab8-491d-991c-fe1207e14ab9","name":"Ground End of Day Close API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"name":"Reprint ","item":[{"name":"Minimum payload Ground EOD Re-Print","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n  \"accountNumber\": {\n    \"value\": \"123456789\"\n  },\n  \"closeReqType\": \"RGCDR\",\n  \"reprintOption\": \"BY_SHIP_DATE\",\n  \"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Ground Reprint request for an account by BY_SHIP_DATE","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n    \"accountNumber\": {\n        \"value\": 604007038\n    },\n    \"closeDate\": \"2023-09-29\",\n    \"closeReqType\": \"RGCDR\",\n    \"reprintOption\": \"BY_SHIP_DATE\",\n    \"groundServiceCategory\": \"GROUND\",\n    \"closeDocumentSpecification\": {\n        \"closeDocumentTypes\": [\n            \"MANIFEST\"\n        ]\n    }\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Ground Reprint request for an account by BY_TRACKING_NUMBER","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n    \"accountNumber\": {\n        \"value\": 604007038\n    },\n    \"closeDate\": \"2023-09-29\",\n    \"closeReqType\": \"RGCDR\",\n    \"reprintOption\": \"BY_TRACKING_NUMBER\",\n    \"trackingNumber\": \"794902169040\",\n    \"groundServiceCategory\": \"GROUND\",\n    \"closeDocumentSpecification\": {\n        \"closeDocumentTypes\": [\n            \"MANIFEST\"\n        ]\n    }\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: Ground Reprint  - No ground closure in past 3 days","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": 709948393\n\t},\n\t\"closeDate\": \"2023-09-29\",\n\t\"closeReqType\": \"RGCDR\",\n\t\"reprintOption\": \"BY_SHIP_DATE\",\n\t\"groundServiceCategory\": \"GROUND\",\n\t\"closeDocumentSpecification\": {\n\t\t\"closeDocumentTypes\": [\n\t\t\t\"MANIFEST\"\n\t\t]\n\t}\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: Ground Reprint when no shipments associated  to reprint","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": 604007038\n\t},\n\t\"closeDate\": \"2023-09-29\",\n\t\"closeReqType\": \"RGCDR\",\n\t\"reprintOption\": \"BY_TRACKING_NUMBER\",\n\t\"trackingNumber\": \"7949021612345\",\n\t\"groundServiceCategory\": \"GROUND\",\n\t\"closeDocumentSpecification\": {\n\t\t\"closeDocumentTypes\": [\n\t\t\t\"MANIFEST\"\n\t\t]\n\t}\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When account number value parameter is missing","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t},\n\t\"closeReqType\": \"RGCDR\",\n\t\"reprintOption\": \"BY_SHIP_DATE\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When there is no closeReqType parameter","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"reprintOption\": \"BY_SHIP_DATE\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When there is no groundServiceCategory parameter","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"closeReqType\": \"RGCDR\",\n\t\"reprintOption\": \"BY_SHIP_DATE\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When passing empty value in reprintOption","request":{"description":"","method":"POST","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"closeReqType\": \"RGCDR\",\n\t\"reprintOption\": \"\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]}]},{"name":"Close","item":[{"name":"Minimum payload Ground EOD close","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"closeReqType\": \"GCDR\",\n\t\"closeDate\": \"2023-07-13\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Ground close request for an account","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": 604007038\n\t},\n\t\"closeDate\": \"2023-09-29\",\n\t\"closeReqType\": \"GCDR\",\n\t\"groundServiceCategory\": \"GROUND\",\n\t\"closeDocumentSpecification\": {\n\t\t\"closeDocumentTypes\": [\n\t\t\t\"MANIFEST\"\n\t\t]\n\t}\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: There are no shipments with associated account to close","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": 123456789\n\t},\n\t\"closeDate\": \"2023-09-29\",\n\t\"closeReqType\": \"GCDR\",\n\t\"groundServiceCategory\": \"GROUND\",\n\t\"closeDocumentSpecification\": {\n\t\t\"closeDocumentTypes\": [\n\t\t\t\"MANIFEST\"\n\t\t]\n\t}\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When account number value parameter is missing","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t},\n\t\"closeReqType\": \"GCDR\",\n\t\"closeDate\": \"2023-07-13\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When there is no close date parameter","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"closeReqType\": \"GCDR\",\n\t\"groundServiceCategory\": \"GROUND\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]},{"name":"Negative test: When there is no groundServiceCategory parameter","request":{"description":"","method":"PUT","header":[{"key":"X-locale","value":"en_US"},{"key":"Content-Type","value":"application/json"},{"key":"authorization","value":""}],"body":{"mode":"raw","raw":"{\n\t\"accountNumber\": {\n\t\t\"value\": \"123456789\"\n\t},\n\t\"closeReqType\": \"GCDR\",\n\t\"closeDate\": \"2023-07-13\"\n}"},"url":{"raw":"https://apis-sandbox.fedex.com/ship/v1/endofday/","protocol":"https","host":["apis-sandbox","fedex","com"],"path":["ship","v1","endofday",""]},"auth":{}},"response":[]}]}]}