POST api/Test/HelloWorld

测试是否连接成功

Request Information

URI Parameters

None.

Body Parameters

测试参数

TestApiArgEntity
NameDescriptionTypeAdditional information
Id

ID

integer

None.

Code

特征码 A-区域001 B-区域002

string

None.

StarTime

开始时间

date

None.

t

校验值,一般为时间戳

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "StarTime": "2025-04-29T22:50:48.4665646+08:00",
  "t": "sample string 4"
}

application/xml, text/xml

Sample:
<TestApiArgEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Berry.SOA.API.ParameterModel">
  <t>sample string 4</t>
  <Code>sample string 2</Code>
  <Id>1</Id>
  <StarTime>2025-04-29T22:50:48.4665646+08:00</StarTime>
</TestApiArgEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

测试是否连接成功

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.