Skip to content

Searches for reviews using predefined parameters

Request

Searches for reviews using predefined parameters

Security
knox-authorizer
Path
tenantIdstringrequired

The id of the tenant being accessed.

Query
exclusiveStartKeystring

The start key for the search, for paging support

fieldsToReturnstring

The fields that you want to retrieve; if omitted, the entire object is returned

Bodyapplication/jsonrequired

The review that you would like to be saved.

application_idstring(Application)
assigneeobject(Assignee)required
award_idstring(Award)required
dateArray of strings, (date-time), = 2 items(Date)
idstring(ID)
statusstring(Status)
curl -i -X POST \
  'https://docs.api.rhythmsoftware.com/_mock/apis/awards/awards-v1/reviews/{tenantId}/search?exclusiveStartKey=string&fieldsToReturn=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "application_id": "string",
    "assignee": {
      "city": "string",
      "contact_id": "string",
      "country": "string",
      "email_address": "string",
      "first_name": "string",
      "job_title": "string",
      "last_name": "string",
      "name": "string",
      "state": "string"
    },
    "award_id": "string",
    "date": [
      "2019-08-24T14:15:22Z",
      "2019-08-24T14:15:22Z"
    ],
    "id": "string",
    "status": "string"
  }'

Responses

The review search was saved successfully.

Headers
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring
Access-Control-Allow-Originstring
Bodyapplication/json
ItemsArray of objects(ReviewSearchResults)
LastEvaluatedKeystring
Response
{ "Items": [ { … } ], "LastEvaluatedKey": "string" }