Topics: |
Use the following REST call to update metadata for a source system.
Topics: |
Parameters (body): Source Metadata Entity
Content type: application/json
For the start and end date months, enter 0 for January and 11 for December. Do not use leading zeroes for the day, month, or year.
PUT https://localhost:9500/api/v1/sourcesystem/metadata/update
Content-Type: application/json
{ "id": "f9c9af9d-a6f9-4822-b9bf-9d0245e5ba4c", "omniSourceId": "4e5b765f-b807-483b-8c56-1fcc683b0b98", "specVersion": "1.0.0", "category": "Vendor", "subCategory": "Iron Anvils", "startDate": { "day": 1, "month": 0, "year": 2020 }, "endDate": { "day": 2, "month": 0, "year": 2020 } }
-- response --
{ "status": "OK", "code": 0, "message": null, "developerMessage": null, "responseType": "com.ibi.omni.controller.services.sourcesystem.SourceMetadataDto", "response": { "id": "f9c9af9d-a6f9-4822-b9bf-9d0245e5ba4c", "omniSourceId": "4e5b765f-b807-483b-8c56-1fcc683b0b98", "codeReference": null, "category": "Vendor", "subCategory": "Iron Anvils", "specVersion": "1.0.0", "startDate": { "year": 2020, "month": 0, "day": 1 }, "endDate": { "year": 2020, "month": 0, "day": 2 } }, "exception": null }