POST api/Cars/Update
Request Information
URI Parameters
None.
Body Parameters
CarEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Car_Id | integer |
None. |
|
| 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_Id": 1,
"Car_Name": "sample string 2",
"Car_CategId": 3,
"Car_ModelId": 4,
"Car_CurrentBranchId": 5,
"Car_LevelId": 6,
"Car_CurrentMeter": 7.1,
"Car_Year": 8,
"Car_Gear": 64,
"Car_Color": "sample string 10",
"Car_Chase": "sample string 11"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfCarEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiMessage | ApiMessage |
None. |
|
| Data | CarEditModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ApiMessage": {
"StatusCode": 1,
"StatusMessage": "sample string 2"
},
"Data": {
"Car_Id": 1,
"Car_Name": "sample string 2",
"Car_CategId": 3,
"Car_ModelId": 4,
"Car_CurrentBranchId": 5,
"Car_LevelId": 6,
"Car_CurrentMeter": 7.1,
"Car_Year": 8,
"Car_Gear": 64,
"Car_Color": "sample string 10",
"Car_Chase": "sample string 11"
}
}