POST api/Product/AddTest
Request Information
URI Parameters
None.
Body Parameters
Test| Name | Description | Type | Additional information |
|---|---|---|---|
| FKey | integer |
None. |
|
| FText | string |
None. |
|
| FDataTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"FKey": 1,
"FText": "sample string 2",
"FDataTime": "2025-12-06 13:37:38"
}
application/xml, text/xml
Sample:
<Test xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.Model"> <FDataTime>2025-12-06T13:37:38.9693812+08:00</FDataTime> <FKey>1</FKey> <FText>sample string 2</FText> </Test>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageModelOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": 4
}
application/xml, text/xml
Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity"> <Msg>sample string 3</Msg> <Response>4</Response> <Status>200</Status> <Success>true</Success> </MessageModelOfint>