POST api/DivisionFlags

Request Information

URI Parameters

None.

Body Parameters

DivisionFlag
NameDescriptionTypeAdditional information
ID

integer

None.

DIV_ID

integer

None.

FLAG

string

None.

IMG

string

None.

IMG_S

string

None.

SHOW

boolean

None.

OLD

integer

None.

Program

Collection of DivisionProgram

None.

RiskLevel

Collection of RiskLevel

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DIV_ID": 2,
  "FLAG": "sample string 3",
  "IMG": "sample string 4",
  "IMG_S": "sample string 5",
  "SHOW": true,
  "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,
      "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
        }
      ]
    },
    {
      "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,
      "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
        }
      ]
    }
  ],
  "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
    }
  ]
}

application/octet-stream

Sample:
{"ID":1,"DIV_ID":2,"FLAG":"sample string 3","IMG":"sample string 4","IMG_S":"sample string 5","SHOW":true,"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,"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}]},{"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,"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}]}],"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}]}

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 'DivisionFlag'.

Response Information

Resource Description

DivisionFlag
NameDescriptionTypeAdditional information
ID

integer

None.

DIV_ID

integer

None.

FLAG

string

None.

IMG

string

None.

IMG_S

string

None.

SHOW

boolean

None.

OLD

integer

None.

Program

Collection of DivisionProgram

None.

RiskLevel

Collection of RiskLevel

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DIV_ID": 2,
  "FLAG": "sample string 3",
  "IMG": "sample string 4",
  "IMG_S": "sample string 5",
  "SHOW": true,
  "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,
      "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
        }
      ]
    },
    {
      "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,
      "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
        }
      ]
    }
  ],
  "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
    }
  ]
}

application/octet-stream

Sample:
{"ID":1,"DIV_ID":2,"FLAG":"sample string 3","IMG":"sample string 4","IMG_S":"sample string 5","SHOW":true,"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,"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}]},{"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,"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}]}],"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}]}