setStandardFlagsList

setStandardFlagsList This API endpoint allows users to set or clear standard flags on singe or multiple documents. This API call supports applying or removing standard flags on specific documents, identified by their unique documentId.

Method: POST

Resource

  • /api/s1m/v2/submissions/full/setStandardFlagsList

Request Parameters

ElementTypeDescriptionRequiredExample or Default Value
setStandardFlagsListRootYes
usernameStringProfile User Name. This is the user name used by the API, not a ScholarOne Manuscripts user. This is from the Caller’s profile.Yessample_user
passwordStringThe API Key. Encrypted value uniquely identifying and authenticating CallerYesSRU4DQ5WOJ2PX8CA
site_nameStringSite short name. The short name is the abbreviated or truncated name of the journal, society, publisher, or family.Yesweb_svcs
urlStringThe Web Service URL, which identifies the specific service to handle the request.Yesv2/submissions/full/setStandardFlagsList
external_idStringAn id value that can be set by the client for call tracking. Caller supplied Text string to be stored with Audit History information.No123456
locale_idIntegerThe unique identifier for a specific language. The value of the locale_id must match to the specific language as defined in the Caller’s profile.NoOptions are: 1. United States English, 2. Simplified Chinese, 3. French
_typeStringThe data type requested from the Service <xml> or <json>. This defaults to <xml>.Noxml (default if omitted), or json

Request Body Elements

  • The request body must be in JSON format and passed using the raw option.

Request Body Elements example

{
    "input": {
        "standardFlagsList": [
            {
                "documentId": 4830672,
                "flagId": 200,
                "setFl": 1
            },
            {
                "documentId": 4830673,
                "flagName": "MS_FLAG_RED_DOT_NAME",
                "setFl":  0
            }
        ]
    }
}

Request Body Elements Description

Request Body ElementTypeDescriptionRequiredExample or Default Value
InputObjectThis is the root object containing all the data required for setting standard flags on manuscripts.Yes
standardFlagsListArrayAn array of objects, where each object represents an operation to set or clear a standard flag on a specific manuscript. Multiple documents can be processed in a single request.Yes
documentIdIntegerThe unique identifier of the manuscript on which the flag is to be set or cleared.Yes"documentId": 4830672
flagIdIntegerThe unique identifier of the standard flag to be applied or removed. This field is required if flagName is not provided. This ID must correspond to a predefined standard flag in the system.Yes, if flagName is not provided"flagId": 200
flagNameStringThe name of the standard flag to be applied or removed. This field is required if flagId is not provided. The name must match a predefined standard flag in the system.Yes, if flagId is not provided"flagName": "MS_FLAG_RED_DOT_NAME"
setFlIntegerIndicates whether the flag should be set or cleared:
1: Set the flag on the document.
0: Clear the flag from the document.
Yes"setFl": 1

List of available Standard Flags in ScholarOne Manuscripts

flagIdflagName
100MS_FLAG_BLUE_DOT_NAME
200MS_FLAG_RED_DOT_NAME
300MS_FLAG_GREEN_DOT_NAME
400MS_FLAG_PURPLE_DOT_NAME
500MS_FLAG_PINK_X_NAME
510MS_FLAG_BLUE_BOX_NAME
520MS_FLAG_DN_TRIANGLE_NAME
530MS_FLAG_ORANGE_TRIANGLE_NAME
540MS_FLAG_YELLOW_DIAMOND_NAME
550MS_FLAG_GRAY_CHECK_NAME
600MS_FLAG_YELLOW_STAR_NAME
700MS_FLAG_LIGHTBLUE_STAR_NAME
800MS_FLAG_ORANGE_SQUARE_NAME
900MS_FLAG_RED_SQUARE_NAME
1000MS_FLAG_LIGHTGREEN_SQUARE_NAME
1100MS_FLAG_GREEN_LINE_NAME
1110MS_FLAG_GREEN_VERTICAL_NAME
1120MS_FLAG_GREEN_X_NAME