pub async fn list_operations(
        &self,
        device_id: &str,
        session_id: &str,
        account_id: &str,
        start: DateTime<Utc>,
        end: DateTime<Utc>,
    ) -> ResponsePayload<Vec<Operation>> {
        let start = start.timestamp_millis().to_string();
        let end = end.timestamp_millis().to_string();

        self.request(
            "/v1/operations",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[("account", account_id), ("start", &start), ("end", &end)],
        )
        .await
        .json()
        .await
        .unwrap()
    }
/// List operations for specified account id.
///
/// Provide 'internal' account id, not account number! Real API doesn't require two dates for
/// filtering, but I will.
List operations for specified account id.
Provide 'internal' account id, not account number. Real API doesn't require two dates for
filtering, but I will.
List operations for specified account id . Provide ' internal ' account id not account number . Real API doesn ' t require two dates for filtering but I will .
pub async fn list_operations(
        &self,
        device_id: &str,
        session_id: &str,
        account_id: &str,
        start: DateTime<Utc>,
        end: DateTime<Utc>,
    ) -> ResponsePayload<Vec<Operation>> {
        let start = start.timestamp_millis().to_string();
        let end = end.timestamp_millis().to_string();
        self.request(
            "/v1/operations",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[("account", account_id), ("start", &start), ("end", &end)],
        )
        .await
        .json()
        .await
        .unwrap()
    }
pub async fn list_operations ( & self , device_id : & str , session_id : & str , account_id : & str , start : DateTime < Utc > , end : DateTime < Utc > , ) -> ResponsePayload < Vec < Operation > > { let start = start . timestamp_millis ( ) . to_string ( ) ; let end = end . timestamp_millis ( ) . to_string ( ) ; self . request ( " " , & [ ( " " , device_id ) , ( " " , session_id ) ] , & [ ( " " , account_id ) , ( " " , & start ) , ( " " , & end ) ] , ) . await . json ( ) . await . unwrap ( ) }
List operations for specified account id.
List operations for specified account id .
&self
device_id
&str
session_id
&str
account_id
&str
start
DateTime<Utc>
end
DateTime<Utc>
&self
device_id
&str
session_id
&str
account_id
&str
start
DateTime<Utc>
end
DateTime<Utc>