Closed sumathi-thirumani closed 1 year ago
Use: To get sections at request level.
Pattern: GET http://localhost:15500/api/sections/ministryrequest/
Response: [{"id": 1, "section": "s. 12", "description": "Cabinet and local public body confidences", "count": 0, "sortorder": 1}, {"id": 2, "section": "s. 13", "description": "Policy advice or recommendations", "count": 0, "sortorder": 2}, {"id": 3, "section": "s. 14", "description": "Legal advice", "count": 0, "sortorder": 3}, {"id": 4, "section": "s. 15", "description": "Disclosure harmful to law enforcement", "count": 0, "sortorder": 4}, {"id": 5, "section": "s. 16", "description": "Disclosure harmful to intergovernmental relations or negotiations", "count": 0, "sortorder": 5}, {"id": 6, "section": "s. 17", "description": "Disclosure harmful to the financial or economic interests of a public body", "count": 0, "sortorder": 6}, {"id": 7, "section": "s. 18", "description": "Disclosure harmful to the conservation of heritage sites", "count": 0, "sortorder": 7}, {"id": 8, "section": "s. 18.1", "description": "Disclosure harmful to interests of an Indigenous people", "count": 0, "sortorder": 8}, {"id": 9, "section": "s. 19", "description": "Disclosure harmful to individual or public safety", "count": 0, "sortorder": 9}, {"id": 10, "section": "s. 20", "description": "Information that will be published within 60 days", "count": 0, "sortorder": 10}, {"id": 11, "section": "s. 21", "description": "Disclosure harmful to the business interests of a third party", "count": 0, "sortorder": 11}, {"id": 12, "section": "s. 22", "description": "Disclosure harmful to personal privacy", "count": 0, "sortorder": 12}, {"id": 13, "section": "s. 22.1", "description": "Disclosure of information relating to abortion services", "count": 0, "sortorder": 13}, {"id": 14, "section": "s. 3", "description": "Scope of Act", "count": 0, "sortorder": 14}, {"id": 15, "section": "s. 3 - CFCSA s. 24", "description": "Confidentiality of information under CFCSA", "count": 0, "sortorder": 15}, {"id": 16, "section": "s. 3 - CFCSA s. 77(1)", "description": "Identity of a Reporter under CFCSA", "count": 0, "sortorder": 16}, {"id": 17, "section": "s. 3 - CFCSA s. 77(2)(a)", "description": "Jeopardize an investigation under CFCSA", "count": 0, "sortorder": 17}, {"id": 18, "section": "s. 3 - CFCSA s. 77(2)(b)", "description": "Information collected in confidence under CFCSA Investigation", "count": 0, "sortorder": 18}, {"id": 19, "section": "s. 3 - AA s. 73", "description": "Restriction on use and disclosure of certain information, Adoption Act", "count": 0, "sortorder": 19}, {"id": 20, "section": "s. 3 - AGA s. 46", "description": "Reporting abuse or neglect, Adult Guardianship Act", "count": 0, "sortorder": 20}, {"id": 21, "section": "s. 3 - CA s. 63", "description": "General prohibition against disclosure, Coroner's Act", "count": 0, "sortorder": 21}, {"id": 22, "section": "s. 3 - CA s. 64", "description": "Application of FOIPPA, Coroner's Act", "count": 0, "sortorder": 22}, {"id": 23, "section": "s. 3 - FMEA s. 43", "description": "Confidential Information, Family Maintenance Enforcement Act", "count": 0, "sortorder": 23}, {"id": 24, "section": "s. 3 - PA", "description": "Police Act", "count": 0, "sortorder": 24}, {"id": 25, "section": "s. 14",
Use: To save only annotation
Pattern: POST http://localhost:15500/api/annotation/
{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?><xfdf xmlns=\"http://ns.adobe.com/xfdf/\" xml:space=\"preserve\">
Response: { "annotationid": "cdba05ff-70f5-9a39-07b2-956b9cea9651", "message": "Annotation is saved", "status": true }
Use: To save annotation with sections
Pattern: POST http://localhost:15500/api/annotation/
{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?><xfdf xmlns=\"http://ns.adobe.com/xfdf/\" xml:space=\"preserve\">
Response: { "annotationid": "cdba05ff-70f5-9a39-07b2-956b9cea9651", "message": "Annotation is saved", "status": true }
Use: To update sections only
Pattern: POST http://localhost:15500/api/annotation/section/
Response: { "annotationid": "abcedefdj-70f5-9a39-07b2-956b9cea9651", "message": "Annotation Section is saved", "status": true }
Use: Get Annotations
Pattern: GET http://localhost:15500/api/annotation/
Response: " <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <xfdf xmlns=\"http://ns.adobe.com/xfdf/\" xml:space=\"preserve\">
"
Use: Get Annotation metadata
Pattern: GET http://localhost:15500/api/annotation/
Response: [{"annotationname": "67c423d0-ccc7-e1b8-3cc4-50c40d6fda7a"}, {"annotationname": "72b925a2-d068-46dc-0c77-918b33941fcf"}, {"annotationname": "cdba05ff-70f5-9a39-07b2-956b9cea9651", "sections": {"annotationname": "488fbb0c-cf28-e173-4112-0a1665cc657a"}}, {"annotationname": "8da339d5-d2f9-7ec0-411a-f1c5ef4cc951"}, {"annotationname": "6e38bfea-5922-e241-28ff-0472656b57ab"}]
Use: Delete Annotation only
Pattern: GET http://localhost:15500/api/annotation/
Response: { "annotationid": "488fbb0c-cf28-e173-4112-0a1665cc657a", "message": "Annotation deactivated", "status": true }
Sections Management: Master Data
Annontations - Sections Management: Txn Data
Sections - User Preference Handling
{TO BE WRITTEN}
General