POST /protocols/nlight-air/pti/logs/start
FROM API REVISION 6.0
This resource need to contain the timeout value.
This function won't work with a content-type application/xml. It has to be sent in JSON.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: PtiLog
Property Name | Type | Description | Method |
---|---|---|---|
Timeout | Integer | This is used to indicate the maximum logging duration. This has to respect the TimeoutMax and TimeoutMin value. |
POST |
URL Example: https://0.0.0.0/api/rest/v1/protocols/nlight-air/pti/logs/start
{
"timeout": 3600
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/nlight-air/pti/logs/start
<?xml version="1.0" encoding="utf-8"?>
<PtiLog>
<Timeout>3600</Timeout>
</PtiLog>