POST api/Calculator/Calculate
“Calculate”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"InputDate": "2026-08-20T04:47:53.4594537+08:00",
"Pno": "sample string 2",
"Yeyptid": 3
}
application/xml, text/xml
Sample:
<Calculator.InPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models"> <InputDate>2026-08-20T04:47:53.4594537+08:00</InputDate> <Pno>sample string 2</Pno> <Yeyptid>3</Yeyptid> </Calculator.InPrame>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Model": {},
"ErrorMessage": "sample string 2",
"ErroCode": -1
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models"> <_x003C_ErrorMessage_x003E_k__BackingField>sample string 2</_x003C_ErrorMessage_x003E_k__BackingField> <_x003C_Model_x003E_k__BackingField /> </ResultModel>