USEPA / e-manifest

API services documentation and reference material for the e-Manifest hazardous waste tracking system
https://www.epa.gov/e-manifest
Creative Commons Zero v1.0 Universal
26 stars 22 forks source link

EM-3227 Add Updated By object to the manifest get service #1620

Open e-manifest opened 1 month ago

e-manifest commented 1 month ago

Add an Updated By object to the get manifest APIs and JSON Schema so that the new object is retrieved via these APIs

In this release

h3. [post|https://rcrainfopreprod.epa.gov/rcrainfo/secured/swagger/#!/%5BIndustry%5D_e-Manifest_Services/retrieveManifestCorrectionVersion] [/api/v1/emanifest/manifest/correction-version|https://rcrainfopreprod.epa.gov/rcrainfo/secured/swagger/#!/%5BIndustry%5D_e-Manifest_Services/retrieveManifestCorrectionVersion]

h3. [post|https://rcrainfopreprod.epa.gov/rcrainfo/secured/swagger/#!/%5BIndustry%5D_e-Manifest_Services/retrieveManifestCorrectionVersion] [/api/v1/emanifest/manifest/correction-version|https://rcrainfopreprod.epa.gov/rcrainfo/secured/swagger/#!/%5BIndustry%5D_e-Manifest_Services/retrieveManifestCorrectionVersion]/attachments

Previously Released on 8/16/2024

get /api/v1/emanifest/manifest/{manifestTrackingNumber}

get /api/v1/emanifest/manifest/{manifestTrackingNumber}/attachments

get /api/v1/state/emanifest/manifest/{manifestTrackingNumber}

get /api/v1/state/emanifest/manifest/{manifestTrackingNumber}/attachments

{color:#ff5630}Update the correction details get calls to include full name and user ID to be consistent with the other calls:{color}

{color:#ff5630}get /api/v1/emanifest/manifest/correction-details/{manifestTrackingNumber} {color}

{color:#ff5630}get /api/v1/state/emanifest/manifest/correction-details/{manifestTrackingNumber}{color}

For example

{noformat} "updatedBy": { "firstName": "Scott", "lastName": "Christian", "userId": "SCOTTDCHRISTIANRCRA4" }, {noformat}

Acceptance Criteria
(x) Updated by object is added to the emanifest.json schema and all services that get full manifest details such as:

Here is the new object:

{noformat} "updatedBy": { "firstName": "string", "lastName": "string", "userId": "string" }, {noformat}

(x) Correction-details for Industry and State updated to include full name and userID to be consistent with the rest of the lastUpdatedBy updates

(x) updatedBy object should follow the same rules for returning BIlling Admin names and PPC user names the certifiedBy uses (the names are masked)