POST api/Cars/Insert

Request Information

URI Parameters

None.

Body Parameters

CarInsertModel
NameDescriptionTypeAdditional information
Car_Name

string

None.

Car_CategId

integer

None.

Car_ModelId

integer

None.

Car_CurrentBranchId

integer

None.

Car_LevelId

integer

None.

Car_CurrentMeter

decimal number

None.

Car_Year

integer

None.

Car_Gear

byte

None.

Car_Color

string

None.

Car_Chase

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Car_Name": "sample string 1",
  "Car_CategId": 2,
  "Car_ModelId": 3,
  "Car_CurrentBranchId": 4,
  "Car_LevelId": 5,
  "Car_CurrentMeter": 6.1,
  "Car_Year": 7,
  "Car_Gear": 64,
  "Car_Color": "sample string 9",
  "Car_Chase": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfCarInsertModel
NameDescriptionTypeAdditional information
ApiMessage

ApiMessage

None.

Data

CarInsertModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ApiMessage": {
    "StatusCode": 1,
    "StatusMessage": "sample string 2"
  },
  "Data": {
    "Car_Name": "sample string 1",
    "Car_CategId": 2,
    "Car_ModelId": 3,
    "Car_CurrentBranchId": 4,
    "Car_LevelId": 5,
    "Car_CurrentMeter": 6.1,
    "Car_Year": 7,
    "Car_Gear": 64,
    "Car_Color": "sample string 9",
    "Car_Chase": "sample string 10"
  }
}