Uses the user-provided information to create a compliance report.
The criteria
property in the request body must be populated using the fields returned by the GET /criteria/{type}
endpoint.
Ensure you first retrieve the criteria for the desired report type using the GET /criteria/{type}
endpoint before making this request.
Request body containing the report type, file name, and criteria details for creating a compliance report.
The criteria
field must adhere to the schema provided by the GET /criteria/{type}
endpoint.
Success
Bad Request
Unauthorized
Forbidden
Conflict
Server Error
{- "type": "string",
- "fileName": "string",
- "criteria": {
- "additionalProperties": { }
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fileName": "string",
- "status": "submitted",
- "type": "amlAlert",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdById": 0,
- "createdByUser": "string",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "criteria": {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24",
- "property1": { },
- "property2": { }
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "correlationId": "string"
}