Operation

post /data/npr/sharedRiskGroups/{srgId}
commandSRG (commandSRG : /data/npr/sharedRiskGroups/{srgId})
commandSRG

Path parameters

Name

IsRequired

Description

Enum

srgId required srgId ---
Request body

Name

IsRequired

Description

Data Type

Enum

body optional request ServletWebRequest ---
body2 optional session HttpSession ---
body3 optional form String ---

Return type
  • NprResponse
  • Responses

    Response Messages

    Schema

    200success NprResponse
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    Example Request Data

    Request: /data/npr/sharedRiskGroups/1 Example to fetch the list of Id's Req: /data/npr/sharedRiskGroups?guiLabel=SRG1 Response for example rest call: [ { "IdClass": 125, "aSite": null, "srgComment": null, "id": 1, "key": "SharedRiskGroup/1", "className": "SharedRiskGroup", "srgProbability": "SrgProb_high", "srgType": "SrgType_phyConn", "guiLabel": "SRG1", "zSite": null } ]

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/json
    Example Response Data
    Response: [ { "IdClass": 125, "aSite": null, "srgComment": null, "id": 1, "key": "SharedRiskGroup/1", "className": "SharedRiskGroup", "srgProbability": "SrgProb_high", "srgType": "SrgType_phyConn", "guiLabel": "SRG1", "zSite": null } ]

    External Docs
    See Also :

    NprResponse

    Name

    Type

    Description

    Enum

    HTTPResponse Integer integer --- ---
    ok Boolean boolean --- ---
    id String string --- ---
    responseMessage String string --- ---
    responseList array[Object] object --- ---