POST api/evaluateratio/save
保存设置信息
Request Information
URI Parameters
None.
Body Parameters
EvaluateDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
string |
None. |
EvaluateName |
当前批次统计命名 |
string |
None. |
Remark |
备注 |
string |
None. |
CreatedTime |
创建时间 |
date |
None. |
DetailList |
设置信息的集合 |
Collection of EvaluateDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "EvaluateName": "sample string 2", "Remark": "sample string 3", "CreatedTime": "2024-09-25T00:12:12.1269377+08:00", "DetailList": [ { "Id": 1, "PId": "sample string 2", "ItemId": 3, "ItemName": "sample string 4", "ContainIds": "sample string 5", "Ratio": 6.0 }, { "Id": 1, "PId": "sample string 2", "ItemId": 3, "ItemName": "sample string 4", "ContainIds": "sample string 5", "Ratio": 6.0 } ] }
text/html
Sample:
{"Id":"sample string 1","EvaluateName":"sample string 2","Remark":"sample string 3","CreatedTime":"2024-09-25T00:12:12.1269377+08:00","DetailList":[{"Id":1,"PId":"sample string 2","ItemId":3,"ItemName":"sample string 4","ContainIds":"sample string 5","Ratio":6.0},{"Id":1,"PId":"sample string 2","ItemId":3,"ItemName":"sample string 4","ContainIds":"sample string 5","Ratio":6.0}]}
application/xml, text/xml
Sample:
<EvaluateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <CreatedTime>2024-09-25T00:12:12.1269377+08:00</CreatedTime> <DetailList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:EvaluateDetail> <d2p1:ContainIds>sample string 5</d2p1:ContainIds> <d2p1:Id>1</d2p1:Id> <d2p1:ItemId>3</d2p1:ItemId> <d2p1:ItemName>sample string 4</d2p1:ItemName> <d2p1:PId>sample string 2</d2p1:PId> <d2p1:Ratio>6</d2p1:Ratio> </d2p1:EvaluateDetail> <d2p1:EvaluateDetail> <d2p1:ContainIds>sample string 5</d2p1:ContainIds> <d2p1:Id>1</d2p1:Id> <d2p1:ItemId>3</d2p1:ItemId> <d2p1:ItemName>sample string 4</d2p1:ItemName> <d2p1:PId>sample string 2</d2p1:PId> <d2p1:Ratio>6</d2p1:Ratio> </d2p1:EvaluateDetail> </DetailList> <EvaluateName>sample string 2</EvaluateName> <Id>sample string 1</Id> <Remark>sample string 3</Remark> </EvaluateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存设置信息
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});