Search Request

The following tests are undertaken after the client application has logged on with access to view/modify the data mentioned in the tests. CAST API access must be enabled.

Search User Request by User Name Limited by Top Value

1.  Send search_request with user_search_request with one SearchOption in search_options where provide text parameter value that matches exactly three user names and has an empty criteria value. Specify top parameter = 2.

2.  Receive search_result with operation_status = 1 (SUCCESS) and exactly two user_record and is_complete = false.

 

Search User Request by User ID

1.  Send search_request  with user_search_request with one SearchOption in search_options where provide valid user id as text parameter value and criteria = 1 [USER_ID].

2.  Receive search_result with operation_status = 1 (SUCCESS) and exactly one user_record.

 

Search Customer Request By Name Limited By Top Value

1.  Send search customer request providing text parameter value which matches exactly three customer names and empty search_criteria value.  Specify top parameter = 2.

2.  Receive search_result with operation_status =1 (SUCCESS) and exactly 2 customer records and is_complete = false.

 

Search Customer Request By Id

1.  Send search customer request with valid customer_id and search_criteria = [ID].

2.  Receive search_result with operation_status =1 (SUCCESS) and exactly one customer record.

 

Search Sales Series Request By Id

1.  Send search sales series request with valid sales series_id and search_criteria = [ID].

2.  Receive search_result with operation_status =1 (SUCCESS) and exactly one sales series record.