POST api/Case?customerId={customerId}&disAmount={disAmount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

disAmount

decimal number

Required

Body Parameters

Collection of CaseProductViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

CategoryName

string

None.

CategoryId

integer

None.

SubCtegoryName

string

None.

SubCategoryId

integer

None.

ProductName

string

None.

ProductId

integer

None.

ShadeGuideName

string

None.

ShadeGuideId

integer

None.

StumpShadeGuideName

string

None.

StumpShadeGuideId

integer

None.

StumpShade

string

None.

Other

string

None.

StumpShadeId

integer

None.

ShadeCount

string

None.

ShadeCountId

integer

None.

SelectedTeeth

string

None.

Price

decimal number

None.

CaseProductShades

Collection of CaseProductShadeViewModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CategoryName": "sample string 2",
    "CategoryId": 3,
    "SubCtegoryName": "sample string 4",
    "SubCategoryId": 5,
    "ProductName": "sample string 6",
    "ProductId": 7,
    "ShadeGuideName": "sample string 8",
    "ShadeGuideId": 9,
    "StumpShadeGuideName": "sample string 10",
    "StumpShadeGuideId": 11,
    "StumpShade": "sample string 12",
    "Other": "sample string 13",
    "StumpShadeId": 14,
    "ShadeCount": "sample string 15",
    "ShadeCountId": 16,
    "SelectedTeeth": "sample string 17",
    "Price": 18.0,
    "CaseProductShades": [
      {
        "ID": 1,
        "CaseProductId": 2,
        "Shade": "sample string 3",
        "ShadeId": 4,
        "Other": "sample string 5"
      },
      {
        "ID": 1,
        "CaseProductId": 2,
        "Shade": "sample string 3",
        "ShadeId": 4,
        "Other": "sample string 5"
      }
    ]
  },
  {
    "ID": 1,
    "CategoryName": "sample string 2",
    "CategoryId": 3,
    "SubCtegoryName": "sample string 4",
    "SubCategoryId": 5,
    "ProductName": "sample string 6",
    "ProductId": 7,
    "ShadeGuideName": "sample string 8",
    "ShadeGuideId": 9,
    "StumpShadeGuideName": "sample string 10",
    "StumpShadeGuideId": 11,
    "StumpShade": "sample string 12",
    "Other": "sample string 13",
    "StumpShadeId": 14,
    "ShadeCount": "sample string 15",
    "ShadeCountId": 16,
    "SelectedTeeth": "sample string 17",
    "Price": 18.0,
    "CaseProductShades": [
      {
        "ID": 1,
        "CaseProductId": 2,
        "Shade": "sample string 3",
        "ShadeId": 4,
        "Other": "sample string 5"
      },
      {
        "ID": 1,
        "CaseProductId": 2,
        "Shade": "sample string 3",
        "ShadeId": 4,
        "Other": "sample string 5"
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true