cancel
Showing results for 
Search instead for 
Did you mean: 
suzanne.harbin
Level 3
Status: Reviewed

Implement parameter passing for MAX_SELECTED_ITEMS and MAX_WORK_ITEMS in the POST New Chorus Assignment REST Service, restoring the functionality previously available in SRVGetNewAssign.

The Rest service currently uses the defined MAX_SELECTED_ITEMS and MAX_WORK_ITEMS values from the console configurations, which limits solutions to retrieving the same number of items when using the Rest service. This impacts our Customer Serivice solutions which used the SRVGetNewAssign to pass from 1 to 15 as the number of work items to be selected and worked depending on client requirements. While the current REST service will enable us to eliminate the XML Port, it will be a loss of client-side functionality.

 

POST New Chorus Assignments

Creates a set of work selected items for the current user or for a given user ID. Every request will attempt a new work select. Every request can return additional work selected instances up to MAX_SELECTED_ITEMS.

Authorizations:
basicAuthjwt
query Parameters
page
string

The response will start at page number N. Defaults to 1 if a value is not given.

pagesize
string

The number of items that will be work selected for the user. Defaults to 10 if a value is not given. Maximum allowed value is 25.

 

 

Java based socket call to a job SRVGetNewAssign where we can pass the input parameters using the XML port: 

<AWD>   <xsl:copy-of select="userID"/>

                <xsl:copy-of select="password"/>

                <xsl:copy-of select="maxSelectedItems" />

                <xsl:copy-of select="maxWorkItems" />

</AWD>

2 Comments
doran.george
Staff
Staff

Health Care has multiple solutions.  some require of max of 1, other require a higher than 1.

With a system level filter of 1 and current rest API tied to system level, there is no flexibility on work select. 

Status changed to: Reviewed
namarnani
Staff
Staff

Discussing the enhancement internally.