This API is used for retrieving all the information related to the Report of Inspection (ROI) objects available in the WQMS database.
Header
Header Name (Key) |
Description |
Value |
---|---|---|
Authorization |
Access token |
Bearer <access_token> |
Body
To fetch the values of all the ROI objects, use the following URL:
Sample URL
URL format: GET http://localhost/wqmsserver/api/v2/WQMS/ROIs
Sample Response
Status: 200 OK
{
"@odata.context": "http://localhost/wqmsserver/api/v2/WQMS/$metadata#ROIs",
"value": [
{
"@odata.etag": "W/\"JzUyNDg4ODk4Mjk2ODg2MDc5MDQn\"",
"Id": "6FKT003A",
"ConcurrencyToken": "5248889829688607904",
"Name": "M89-ROI-PIP-FUP-0001",
"Interfaces": "IObject,ISPFFileComposition,IWQMSFUPROI,IWQMSInspectionItems,IWQMSROI",
"Class": "WQMSFUPROI",
"UID": "FUPROI_ConfigurationTop_M89-ROI-PIP-FUP-0001",
"DomainUID": "WQMS",
"CreationDate": "2020-03-21T09:52:06.122Z",
"CreationUser": "wqmssuperuser",
"LastUpdatedDate": "2020-03-21T09:52:06.122Z",
"TerminationDate": "9999-12-31T23:59:59.999Z",
"UniqueKey": "FUPROI_ConfigurationTop_M89-ROI-PIP-FUP-0001",
"WQMSROI_Discipline": "PIP",
"WQMSROI_Module": "M89",
"WQMSROI_PreparedBy": "WQMSSuperUser"
}
]
}