POST api/OnTest/DeviceExtendTest
Request Information
URI Parameters
None.
Body Parameters
ExtendTestRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteNum | integer |
None. |
|
| TestNum | integer |
None. |
|
| EffectiveDate | date |
None. |
|
| ExpireDate | date |
None. |
|
| ExpireTime | string |
None. |
|
| Comment | string |
None. |
|
| DevNum | integer |
None. |
|
| SiteFlag | boolean |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SiteNum": 1,
"TestNum": 1,
"EffectiveDate": "2025-12-14T17:36:47.7721165-05:00",
"ExpireDate": "2025-12-14T17:36:47.7721165-05:00",
"ExpireTime": "sample string 1",
"Comment": "sample string 2",
"DevNum": 1,
"SiteFlag": true,
"SessionNum": 3,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 4",
"StagesURL": "sample string 5"
}
application/xml, text/xml
Sample:
<ExtendTestRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <StagesURL>sample string 5</StagesURL> <ApplicationCode>sample string 4</ApplicationCode> <SessionNum>3</SessionNum> <SessionPassword>QEA=</SessionPassword> <DevNum>1</DevNum> <SiteFlag>true</SiteFlag> <Comment>sample string 2</Comment> <EffectiveDate>2025-12-14T17:36:47.7721165-05:00</EffectiveDate> <ExpireDate>2025-12-14T17:36:47.7721165-05:00</ExpireDate> <ExpireTime>sample string 1</ExpireTime> <SiteNum>1</SiteNum> <TestNum>1</TestNum> </ExtendTestRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeviceExtendTestQueryResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| UserErrorMessage | string |
None. |
|
| ErrorTypeNum | integer |
None. |
|
| SqlConnectionLost | boolean |
None. |
|
| ClientVersion | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"UserErrorMessage": "sample string 2",
"ErrorTypeNum": 3,
"SqlConnectionLost": true,
"ClientVersion": "sample string 5"
}
application/xml, text/xml
Sample:
<DeviceExtendTestQueryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stages"> <ClientVersion>sample string 5</ClientVersion> <ErrorTypeNum>3</ErrorTypeNum> <SqlConnectionLost>true</SqlConnectionLost> <Success>true</Success> <UserErrorMessage>sample string 2</UserErrorMessage> </DeviceExtendTestQueryResult>