No authentication/token
|
Returns 401 Unauthorised
|
No permissions to read
|
Returns 403 Forbidden
|
No ID supplied as key and No Filter
|
Either returns all records in the collection, all records with paging or validation error with details of filter required – depends on business requirement
|
Invalid ID (as key)
|
Returns 404 Not Found
|
ID supplied in the Filter where the ID does not exist
|
Returns an empty collection
|
Valid ID (as key)
|
Returns message body matching the structure of the info domain-specific message as a single record
|
$filter – correctly formatted:
- with values – equals and not equals
- with nulls – equals and not equals, on nullable and non-nullable fields
- with date in valid format – equals, gt, lt, within daterange (gt+lt)
- all properties in info domain which can be filtered using supported odata filter constructs
- applying multiple filters should be supported (and/or)
|
Returns message body matching the structure of the info domain specific message, filtered as per the filter options supplied.
Where multiple matches, always returns a collection of results - the collection may be empty
|
$filter:
- with date in invalid format
- with invalid property name
- all properties in info domain which cannot be filtered using supported odata filter constructs
|
Returns 400 Bad Request, with an appropriate error message
|
$select
- with valid property name
- all properties in info domain should be supported
|
Returns message body matching the structure of the info domain-specific message, but with only the properties in the $select list returned.
|
$select
- with invalid property name
|
Returns 400 Bad Request, with an appropriate error message
|
$orderBy
- with valid property name
- all properties in info domain should be supported
|
Returns message body matching the structure of the info domain-specific message, but with only the properties in the $select list returned.
|
$orderBy
- with invalid property name
|
Returns 400 Bad Request, with an appropriate error message
|
- test support for all other ODATA constructs:
o $search
o $count
o $skip
o $top
o $expand
o $format
|
Either - returns message body with content as per the applied construct or informs the caller that the construct is not supported.
|