PUT api/UserPermission
Request Information
URI Parameters
None.
Body Parameters
User_Permission| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | integer |
None. |
|
| Form_id | integer |
None. |
|
| IS_New | boolean |
None. |
|
| IS_Save | boolean |
None. |
|
| IS_Delete | boolean |
None. |
|
| IS_Search | boolean |
None. |
|
| IS_Print | boolean |
None. |
|
| Automatic_Insert | boolean |
None. |
|
| PrintAfter_Save | boolean |
None. |
|
| SaleDiscPers | integer |
None. |
|
| SaleDiscValue | integer |
None. |
|
| purchAutomatic_Insert | boolean |
None. |
|
| PurchPrintAfter_Save | boolean |
None. |
|
| purchDiscPers | integer |
None. |
|
| purchDiscValue | integer |
None. |
|
| HidePurchPrice | boolean |
None. |
|
| ShowQtyScreen | boolean |
None. |
|
| SaleInMinus | boolean |
None. |
|
| invtype | integer |
None. |
|
| NoRepeatItem | integer |
None. |
|
| UpdateSalePrice | integer |
None. |
|
| UpdateSaleDate | integer |
None. |
|
| SalePointOnly | integer |
None. |
|
| StockMinus | integer |
None. |
|
| smallPrinter | string |
None. |
|
| largePrinter | string |
None. |
|
| costWithVat | integer |
None. |
|
| saleVatUpdate | integer |
None. |
|
| purchVatUpdate | integer |
None. |
|
| Disc_saleOnItem | integer |
None. |
|
| Disc_saleOnBills | integer |
None. |
|
| update_price_first_stock | integer |
None. |
|
| update_price_pursh_bill | integer |
None. |
|
| show_ItemExpired_Alert | integer |
None. |
|
| allow_salePrice_zero | integer |
None. |
|
| modify_documents_no | integer |
None. |
|
| add_new_after_save | integer |
None. |
|
| rest_show_image | integer |
None. |
|
| smallPrinter_custom | string |
None. |
|
| largePrinter_custom | string |
None. |
|
| custom_detail | integer |
None. |
|
| no_copies | integer |
None. |
|
| IS_Update | boolean |
None. |
|
| Return_whith_bill_no | integer |
None. |
|
| empty_paid | integer |
None. |
|
| inv_post_unlock | integer |
None. |
|
| allow_zero_cost | integer |
None. |
|
| add_new_after_open | integer |
None. |
|
| custom_smallPrinter | integer |
None. |
|
| custom_largePrinter | integer |
None. |
|
| cancel_double_enter | integer |
None. |
|
| cancel_move_barcode | integer |
None. |
|
| IS_Preview | boolean |
None. |
|
| update_price_currencies | integer |
None. |
|
| custom2_smallPrinter | integer |
None. |
|
| smallPrinter_custom2 | string |
None. |
|
| custom2_largePrinter | integer |
None. |
|
| largePrinter_custom2 | string |
None. |
|
| apply_discount | integer |
None. |
|
| allow_discount | integer |
None. |
|
| allow_return_Without_bill | integer |
None. |
|
| allow_replace_Without_bill | integer |
None. |
|
| PurchInMinus | integer |
None. |
|
| update_price_sale_bill | integer |
None. |
|
| UpdatePurchPrice | integer |
None. |
|
| UpdatePurchDate | integer |
None. |
|
| use_price_without_vat | integer |
None. |
|
| usePriceBeforVat | integer |
None. |
|
| show_unit_on_bills | integer |
None. |
|
| show_price_on_bills | integer |
None. |
|
| is_saleprice_less_purch | integer |
None. |
|
| type_sale_price | integer |
None. |
|
| direct_print | integer |
None. |
|
| hide_item_balance | integer |
None. |
|
| disable_type_sale_price | integer |
None. |
|
| search_enter | integer |
None. |
|
| to_unit | integer |
None. |
|
| add_cover_letter | integer |
None. |
|
| sale_no_less_than_purch | integer |
None. |
|
| Purch_than_Less_Purch_Item | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"user_id": 1,
"Form_id": 1,
"IS_New": true,
"IS_Save": true,
"IS_Delete": true,
"IS_Search": true,
"IS_Print": true,
"Automatic_Insert": true,
"PrintAfter_Save": true,
"SaleDiscPers": 1,
"SaleDiscValue": 1,
"purchAutomatic_Insert": true,
"PurchPrintAfter_Save": true,
"purchDiscPers": 1,
"purchDiscValue": 1,
"HidePurchPrice": true,
"ShowQtyScreen": true,
"SaleInMinus": true,
"invtype": 1,
"NoRepeatItem": 1,
"UpdateSalePrice": 1,
"UpdateSaleDate": 1,
"SalePointOnly": 1,
"StockMinus": 1,
"smallPrinter": "sample string 1",
"largePrinter": "sample string 2",
"costWithVat": 1,
"saleVatUpdate": 1,
"purchVatUpdate": 1,
"Disc_saleOnItem": 1,
"Disc_saleOnBills": 1,
"update_price_first_stock": 1,
"update_price_pursh_bill": 1,
"show_ItemExpired_Alert": 1,
"allow_salePrice_zero": 1,
"modify_documents_no": 1,
"add_new_after_save": 1,
"rest_show_image": 1,
"smallPrinter_custom": "sample string 3",
"largePrinter_custom": "sample string 4",
"custom_detail": 1,
"no_copies": 1,
"IS_Update": true,
"Return_whith_bill_no": 1,
"empty_paid": 1,
"inv_post_unlock": 1,
"allow_zero_cost": 1,
"add_new_after_open": 1,
"custom_smallPrinter": 1,
"custom_largePrinter": 1,
"cancel_double_enter": 1,
"cancel_move_barcode": 1,
"IS_Preview": true,
"update_price_currencies": 1,
"custom2_smallPrinter": 1,
"smallPrinter_custom2": "sample string 5",
"custom2_largePrinter": 1,
"largePrinter_custom2": "sample string 6",
"apply_discount": 1,
"allow_discount": 1,
"allow_return_Without_bill": 1,
"allow_replace_Without_bill": 1,
"PurchInMinus": 1,
"update_price_sale_bill": 1,
"UpdatePurchPrice": 1,
"UpdatePurchDate": 1,
"use_price_without_vat": 1,
"usePriceBeforVat": 1,
"show_unit_on_bills": 1,
"show_price_on_bills": 1,
"is_saleprice_less_purch": 1,
"type_sale_price": 1,
"direct_print": 1,
"hide_item_balance": 1,
"disable_type_sale_price": 1,
"search_enter": 1,
"to_unit": 1,
"add_cover_letter": 1,
"sale_no_less_than_purch": 1,
"Purch_than_Less_Purch_Item": 1
}
application/xml, text/xml
Sample:
<User_Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models"> <Automatic_Insert>true</Automatic_Insert> <Disc_saleOnBills>1</Disc_saleOnBills> <Disc_saleOnItem>1</Disc_saleOnItem> <Form_id>1</Form_id> <HidePurchPrice>true</HidePurchPrice> <IS_Delete>true</IS_Delete> <IS_New>true</IS_New> <IS_Preview>true</IS_Preview> <IS_Print>true</IS_Print> <IS_Save>true</IS_Save> <IS_Search>true</IS_Search> <IS_Update>true</IS_Update> <NoRepeatItem>1</NoRepeatItem> <PrintAfter_Save>true</PrintAfter_Save> <PurchInMinus>1</PurchInMinus> <PurchPrintAfter_Save>true</PurchPrintAfter_Save> <Purch_than_Less_Purch_Item>1</Purch_than_Less_Purch_Item> <Return_whith_bill_no>1</Return_whith_bill_no> <SaleDiscPers>1</SaleDiscPers> <SaleDiscValue>1</SaleDiscValue> <SaleInMinus>true</SaleInMinus> <SalePointOnly>1</SalePointOnly> <ShowQtyScreen>true</ShowQtyScreen> <StockMinus>1</StockMinus> <UpdatePurchDate>1</UpdatePurchDate> <UpdatePurchPrice>1</UpdatePurchPrice> <UpdateSaleDate>1</UpdateSaleDate> <UpdateSalePrice>1</UpdateSalePrice> <add_cover_letter>1</add_cover_letter> <add_new_after_open>1</add_new_after_open> <add_new_after_save>1</add_new_after_save> <allow_discount>1</allow_discount> <allow_replace_Without_bill>1</allow_replace_Without_bill> <allow_return_Without_bill>1</allow_return_Without_bill> <allow_salePrice_zero>1</allow_salePrice_zero> <allow_zero_cost>1</allow_zero_cost> <apply_discount>1</apply_discount> <cancel_double_enter>1</cancel_double_enter> <cancel_move_barcode>1</cancel_move_barcode> <costWithVat>1</costWithVat> <custom2_largePrinter>1</custom2_largePrinter> <custom2_smallPrinter>1</custom2_smallPrinter> <custom_detail>1</custom_detail> <custom_largePrinter>1</custom_largePrinter> <custom_smallPrinter>1</custom_smallPrinter> <direct_print>1</direct_print> <disable_type_sale_price>1</disable_type_sale_price> <empty_paid>1</empty_paid> <hide_item_balance>1</hide_item_balance> <inv_post_unlock>1</inv_post_unlock> <invtype>1</invtype> <is_saleprice_less_purch>1</is_saleprice_less_purch> <largePrinter>sample string 2</largePrinter> <largePrinter_custom>sample string 4</largePrinter_custom> <largePrinter_custom2>sample string 6</largePrinter_custom2> <modify_documents_no>1</modify_documents_no> <no_copies>1</no_copies> <purchAutomatic_Insert>true</purchAutomatic_Insert> <purchDiscPers>1</purchDiscPers> <purchDiscValue>1</purchDiscValue> <purchVatUpdate>1</purchVatUpdate> <rest_show_image>1</rest_show_image> <saleVatUpdate>1</saleVatUpdate> <sale_no_less_than_purch>1</sale_no_less_than_purch> <search_enter>1</search_enter> <show_ItemExpired_Alert>1</show_ItemExpired_Alert> <show_price_on_bills>1</show_price_on_bills> <show_unit_on_bills>1</show_unit_on_bills> <smallPrinter>sample string 1</smallPrinter> <smallPrinter_custom>sample string 3</smallPrinter_custom> <smallPrinter_custom2>sample string 5</smallPrinter_custom2> <to_unit>1</to_unit> <type_sale_price>1</type_sale_price> <update_price_currencies>1</update_price_currencies> <update_price_first_stock>1</update_price_first_stock> <update_price_pursh_bill>1</update_price_pursh_bill> <update_price_sale_bill>1</update_price_sale_bill> <usePriceBeforVat>1</usePriceBeforVat> <use_price_without_vat>1</use_price_without_vat> <user_id>1</user_id> </User_Permission>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |