Body
application/json
- Option 1
- Option 2
The number of milliseconds to wait before completing the async result.
Required range:
x > 0
Response
202 - application/json
Default Response
The ID to track the asynchronous sleep operation.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.async_results.sleep(
delay=1,
)
print(response.async_result_id)
{
"asyncResultId": "<string>"
}
Creates an async result that will automatically resolve after a specified delay or at a future time.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.async_results.sleep(
delay=1,
)
print(response.async_result_id)
{
"asyncResultId": "<string>"
}
The number of milliseconds to wait before completing the async result.
x > 0
Default Response
The ID to track the asynchronous sleep operation.