PUT api/DivisionPrograms/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DivisionProgram
NameDescriptionTypeAdditional information
PROGRAM_ID

integer

None.

DIV_ID

integer

None.

PROGRAM

string

None.

IS_TCM

boolean

None.

CPT_CODE

string

None.

BILLING_TIME

integer

None.

FLAG_ON

integer

None.

ACTIVE

boolean

None.

DURATION

integer

None.

SECOND_ID

boolean

None.

FEE

decimal number

None.

OLD

integer

None.

IS_RPM

boolean

None.

Flag

DivisionFlag

None.

CPTCodes

Collection of CPTCode

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
{"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 'DivisionProgram'.

Response Information

Resource Description

None.