POST api/insurance/CreateOrUpdateInsuranceOrderDetail?app_key={app_key}&access_token={access_token}×tamp={timestamp}&sign={sign}
添加或更新定损单明细
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| app_key |
app_key |
string |
None. |
| access_token |
access_token |
string |
None. |
| timestamp |
timestamp |
string |
None. |
| sign |
sign |
string |
None. |
Body Parameters
InsuranceOrderDetailCreateOrUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationType |
操作类型 0保存 1完成 |
integer |
None. |
| Basics |
定损单信息 |
InsuranceOrderDetailBase |
None. |
| Rows |
定损单明细 |
Collection of InsuranceOrderDetailRows |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperationType": 1,
"Basics": {
"Id": 1,
"CarFactoriesId": 2,
"CarFactoriesName": "sample string 3",
"CarBrandId": 4,
"CarBrandName": "sample string 5",
"CarYearId": 6,
"CarYearName": "sample string 7",
"WorkingHourPrice": 8.0,
"PriceTotal": 9.0,
"Demo": "sample string 10"
},
"Rows": [
{
"Id": 1,
"FreeorderId": 2,
"Sku": "sample string 3",
"BmNo": 4,
"PartName": "sample string 5",
"StandardNameId": 6,
"StandardName": "sample string 7",
"ClassName": "sample string 8",
"ClassId": 9,
"Quality": "sample string 10",
"DamagedPrice": 11.0,
"ServicePrice": 12.0,
"BeiMaiPrice": 13.0,
"ConfirmPrice": 14.0,
"LastConfirmPrice": 15.0,
"PartQuantity": 16,
"WorkingHourQuantity": 17.0,
"WorkingHourPriceTotal": 18.0,
"PriceTotal": 19.0,
"ItemType": 20,
"DemoInfo": "sample string 21",
"AddUserId": 22,
"AddUserName": "sample string 23",
"DealerId": 24
},
{
"Id": 1,
"FreeorderId": 2,
"Sku": "sample string 3",
"BmNo": 4,
"PartName": "sample string 5",
"StandardNameId": 6,
"StandardName": "sample string 7",
"ClassName": "sample string 8",
"ClassId": 9,
"Quality": "sample string 10",
"DamagedPrice": 11.0,
"ServicePrice": 12.0,
"BeiMaiPrice": 13.0,
"ConfirmPrice": 14.0,
"LastConfirmPrice": 15.0,
"PartQuantity": 16,
"WorkingHourQuantity": 17.0,
"WorkingHourPriceTotal": 18.0,
"PriceTotal": 19.0,
"ItemType": 20,
"DemoInfo": "sample string 21",
"AddUserId": 22,
"AddUserName": "sample string 23",
"DealerId": 24
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
{ "status": "success", "result": "保存成功"}
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |