//! # Search
//!
//!
use crate::{Request, RequestBuilder, Search, SearchResult};
///Search for you invoice, claims etc through the Search endpoint. All
///properties are allowed to be null and mean that no filtering is made
///on that field. The SearchValue property can only contain the complete
///invoice number or OCR you are searching for (no other values like
///debtor, product name etc). It is possible to omit it.
pub fn search_for_actions(body: &Search) -> Request<SearchResult> {
RequestBuilder::new(http::Method::POST, "/v1/search/actions")
.body(body)
.build()
}