Closed doug-lovett closed 1 week ago
Payload example updating document info and adding/updating scanning information no doc class/doc type: PATCH https://bcregistry-dev.apigee.net/doc/api/v1/documents/DS0000100163 { "consumerDocumentId": "99990001", "consumerFilename": "amalgamation_update.pdf", "consumerIdentifier": "BC0100011", "consumerFilingDate": "2024-10-01", "description": "Update description", "scanningInformation": { "scanDateTime": "2024-08-01", "accessionNumber": "UT-001-0006", "author": "James Johnson", "batchId": "1205", "pageCount": 60 } }
Payload example updating document info including doc type and doc class and updating scanning information: PATCH https://bcregistry-dev.apigee.net/doc/api/v1/documents/DS0000100163 { "consumerDocumentId": "99990001", "documentClass": "MHR", "documentType": "MHR_MISC", "consumerFilename": "amalgamation_update.pdf", "consumerIdentifier": "099000", "consumerFilingDate": "2024-09-01", "description": "Updated again description", "scanningInformation": { "scanDateTime": "2024-08-02", "accessionNumber": "UT-001-0007", "author": "Jack Johnson", "batchId": "1206", "pageCount": 66 } }
Verified in DEV !
Update the PATCH /doc/api/v1/documents/{docServiceId} endpoint to: