POST api/UserPermission
Request Information
URI Parameters
None.
Body Parameters
UserPermsList| Name | Description | Type | Additional information |
|---|---|---|---|
| _Data | Collection of User_Permission |
None. |
Request Formats
application/json, text/json
Sample:
{
"_Data": [
{
"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,
"sale_no_less_than_minPrice": 1,
"Purch_out_goods": 1,
"use_barcode_reader": 1,
"Cust_SalePrice": true,
"return_same_invoice_date": 1
},
{
"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,
"sale_no_less_than_minPrice": 1,
"Purch_out_goods": 1,
"use_barcode_reader": 1,
"Cust_SalePrice": true,
"return_same_invoice_date": 1
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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. |