pub struct IFKDictionariesController;Expand description
WebAPI controller FKDictionaries.
Implementations§
Source§impl IFKDictionariesController
impl IFKDictionariesController
Sourcepub async fn Get<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
pub async fn Get<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
GET /api/FKDictionaries
Sourcepub async fn GetRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
pub async fn GetRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
GET /api/FKDictionaries
Sourcepub async fn SetElementPosition<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
pub async fn SetElementPosition<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
PATCH /api/FKDictionaries/SetElementPosition
Parameter id: Inferred from route query template.
Sourcepub async fn SetElementPositionRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
pub async fn SetElementPositionRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
PATCH /api/FKDictionaries/SetElementPosition
Parameter id: Inferred from route query template.
Sourcepub async fn SetContractorPosition<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
pub async fn SetContractorPosition<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<T::Output>, ApiError>where
T: Overload,
PATCH /api/FKDictionaries/SetContractorPosition
Parameter id: Inferred from route query template.
Sourcepub async fn SetContractorPositionRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
pub async fn SetContractorPositionRaw<T>(
api: &ApiClient,
overload: T,
) -> Result<ResponseEnvelope<Value>, ApiError>where
T: Overload,
PATCH /api/FKDictionaries/SetContractorPosition
Parameter id: Inferred from route query template.
Sourcepub async fn AddNew(
api: &ApiClient,
dictionary_id: i32,
element: &DictionaryElement,
) -> Result<ResponseEnvelope<()>, ApiError>
pub async fn AddNew( api: &ApiClient, dictionary_id: i32, element: &DictionaryElement, ) -> Result<ResponseEnvelope<()>, ApiError>
POST /api/FKDictionaries/Create
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do utworzenia.
Sourcepub async fn AddNewRaw(
api: &ApiClient,
dictionary_id: i32,
element: &DictionaryElement,
) -> Result<ResponseEnvelope<Value>, ApiError>
pub async fn AddNewRaw( api: &ApiClient, dictionary_id: i32, element: &DictionaryElement, ) -> Result<ResponseEnvelope<Value>, ApiError>
POST /api/FKDictionaries/Create
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do utworzenia.
Sourcepub async fn Update(
api: &ApiClient,
dictionary_id: i32,
element: &DictionaryElement,
) -> Result<ResponseEnvelope<()>, ApiError>
pub async fn Update( api: &ApiClient, dictionary_id: i32, element: &DictionaryElement, ) -> Result<ResponseEnvelope<()>, ApiError>
PUT /api/FKDictionaries/Update
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do aktualizacji.
Sourcepub async fn UpdateRaw(
api: &ApiClient,
dictionary_id: i32,
element: &DictionaryElement,
) -> Result<ResponseEnvelope<Value>, ApiError>
pub async fn UpdateRaw( api: &ApiClient, dictionary_id: i32, element: &DictionaryElement, ) -> Result<ResponseEnvelope<Value>, ApiError>
PUT /api/FKDictionaries/Update
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do aktualizacji.
Sourcepub async fn GetBusiness(
api: &ApiClient,
id: i32,
) -> Result<ResponseEnvelope<BusinessDictionary>, ApiError>
pub async fn GetBusiness( api: &ApiClient, id: i32, ) -> Result<ResponseEnvelope<BusinessDictionary>, ApiError>
GET /api/FKDictionaries/Business
Parameter id: Inferred from route query template.
Sourcepub async fn GetBusinessRaw(
api: &ApiClient,
id: i32,
) -> Result<ResponseEnvelope<Value>, ApiError>
pub async fn GetBusinessRaw( api: &ApiClient, id: i32, ) -> Result<ResponseEnvelope<Value>, ApiError>
GET /api/FKDictionaries/Business
Parameter id: Inferred from route query template.
Sourcepub async fn AddNewBusiness(
api: &ApiClient,
dictionary_id: i32,
element: &BusinessDictionaryElement,
) -> Result<ResponseEnvelope<()>, ApiError>
pub async fn AddNewBusiness( api: &ApiClient, dictionary_id: i32, element: &BusinessDictionaryElement, ) -> Result<ResponseEnvelope<()>, ApiError>
POST /api/FKDictionaries/CreateBusiness
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do utworzenia.
Sourcepub async fn AddNewBusinessRaw(
api: &ApiClient,
dictionary_id: i32,
element: &BusinessDictionaryElement,
) -> Result<ResponseEnvelope<Value>, ApiError>
pub async fn AddNewBusinessRaw( api: &ApiClient, dictionary_id: i32, element: &BusinessDictionaryElement, ) -> Result<ResponseEnvelope<Value>, ApiError>
POST /api/FKDictionaries/CreateBusiness
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do utworzenia.
Sourcepub async fn UpdateBusiness(
api: &ApiClient,
dictionary_id: i32,
element: &BusinessDictionaryElement,
) -> Result<ResponseEnvelope<()>, ApiError>
pub async fn UpdateBusiness( api: &ApiClient, dictionary_id: i32, element: &BusinessDictionaryElement, ) -> Result<ResponseEnvelope<()>, ApiError>
PUT /api/FKDictionaries/UpdateBusiness
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do aktualizacji.
Sourcepub async fn UpdateBusinessRaw(
api: &ApiClient,
dictionary_id: i32,
element: &BusinessDictionaryElement,
) -> Result<ResponseEnvelope<Value>, ApiError>
pub async fn UpdateBusinessRaw( api: &ApiClient, dictionary_id: i32, element: &BusinessDictionaryElement, ) -> Result<ResponseEnvelope<Value>, ApiError>
PUT /api/FKDictionaries/UpdateBusiness
Parameter dictionary_id: Id słownika.
Body element: Obiekt elementu słownika do aktualizacji.