PUT api/Risks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Risk
NameDescriptionTypeAdditional information
RISK_ID

integer

None.

DIV_ID

integer

None.

RISK_NAME

string

None.

PROGRAM_ID

integer

None.

ACTIVE

boolean

None.

SHOW

boolean

None.

RISK_CALC_METHOD

string

None.

TYPE

integer

None.

OLD

integer

None.

Program

DivisionProgram

None.

Request Formats

application/json, text/json

Sample:
{
  "RISK_ID": 1,
  "DIV_ID": 2,
  "RISK_NAME": "sample string 3",
  "PROGRAM_ID": 1,
  "ACTIVE": true,
  "SHOW": true,
  "RISK_CALC_METHOD": "sample string 6",
  "TYPE": 7,
  "OLD": 1,
  "Program": {
    "PROGRAM_ID": 1,
    "DIV_ID": 2,
    "PROGRAM": "sample string 3",
    "IS_TCM": true,
    "CPT_CODE": "sample string 5",
    "BILLING_TIME": 1,
    "FLAG_ON": 1,
    "ACTIVE": true,
    "DURATION": 1,
    "SECOND_ID": true,
    "FEE": 1.0,
    "OLD": 1,
    "IS_RPM": true,
    "Flag": {
      "ID": 1,
      "DIV_ID": 2,
      "FLAG": "sample string 3",
      "IMG": "sample string 4",
      "IMG_S": "sample string 5",
      "SHOW": true,
      "OLD": 1,
      "Program": [],
      "RiskLevel": [
        {
          "RISK_LEVEL_ID": 1,
          "RISK_ID": 2,
          "DIV_ID": 3,
          "SCORE_LOW": 1.0,
          "SCORE_HIGH": 1.0,
          "RISK_LEVEL": "sample string 4",
          "SEQ": 5,
          "FLAG_ON": 1,
          "OLD": 1
        },
        {
          "RISK_LEVEL_ID": 1,
          "RISK_ID": 2,
          "DIV_ID": 3,
          "SCORE_LOW": 1.0,
          "SCORE_HIGH": 1.0,
          "RISK_LEVEL": "sample string 4",
          "SEQ": 5,
          "FLAG_ON": 1,
          "OLD": 1
        }
      ]
    },
    "CPTCodes": [
      {
        "Id": 1,
        "Code": "sample string 2",
        "Description": "sample string 3",
        "ProgramId": 1
      },
      {
        "Id": 1,
        "Code": "sample string 2",
        "Description": "sample string 3",
        "ProgramId": 1
      }
    ]
  }
}

application/octet-stream

Sample:
{"RISK_ID":1,"DIV_ID":2,"RISK_NAME":"sample string 3","PROGRAM_ID":1,"ACTIVE":true,"SHOW":true,"RISK_CALC_METHOD":"sample string 6","TYPE":7,"OLD":1,"Program":{"PROGRAM_ID":1,"DIV_ID":2,"PROGRAM":"sample string 3","IS_TCM":true,"CPT_CODE":"sample string 5","BILLING_TIME":1,"FLAG_ON":1,"ACTIVE":true,"DURATION":1,"SECOND_ID":true,"FEE":1.0,"OLD":1,"IS_RPM":true,"Flag":{"ID":1,"DIV_ID":2,"FLAG":"sample string 3","IMG":"sample string 4","IMG_S":"sample string 5","SHOW":true,"OLD":1,"Program":[],"RiskLevel":[{"RISK_LEVEL_ID":1,"RISK_ID":2,"DIV_ID":3,"SCORE_LOW":1.0,"SCORE_HIGH":1.0,"RISK_LEVEL":"sample string 4","SEQ":5,"FLAG_ON":1,"OLD":1},{"RISK_LEVEL_ID":1,"RISK_ID":2,"DIV_ID":3,"SCORE_LOW":1.0,"SCORE_HIGH":1.0,"RISK_LEVEL":"sample string 4","SEQ":5,"FLAG_ON":1,"OLD":1}]},"CPTCodes":[{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1},{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1}]}}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Risk'.

Response Information

Resource Description

None.