This function retrieves the state of a transfer session.
Note:
For more information about how this function works with other functions in the transfer and restore process, read our Guide to Transfer and Restore API Functions documentation.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_transfer_session_state \ transfer_session_id='exampleservercopya20140206192428NtyW'
{- "data": {
- "state_name": "TRANSFER_INPROGRESS"
}, - "metadata": {
- "command": "get_transfer_session_state",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}