POST api/UserPermission

Request Information

URI Parameters

None.

Body Parameters

UserPermsList
NameDescriptionTypeAdditional 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, text/xml

Sample:
<UserPermissionController.UserPermsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Controllers.Users">
  <_Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiLite.Models">
    <d2p1:User_Permission>
      <d2p1:Automatic_Insert>true</d2p1:Automatic_Insert>
      <d2p1:Cust_SalePrice>true</d2p1:Cust_SalePrice>
      <d2p1:Disc_saleOnBills>1</d2p1:Disc_saleOnBills>
      <d2p1:Disc_saleOnItem>1</d2p1:Disc_saleOnItem>
      <d2p1:Form_id>1</d2p1:Form_id>
      <d2p1:HidePurchPrice>true</d2p1:HidePurchPrice>
      <d2p1:IS_Delete>true</d2p1:IS_Delete>
      <d2p1:IS_New>true</d2p1:IS_New>
      <d2p1:IS_Preview>true</d2p1:IS_Preview>
      <d2p1:IS_Print>true</d2p1:IS_Print>
      <d2p1:IS_Save>true</d2p1:IS_Save>
      <d2p1:IS_Search>true</d2p1:IS_Search>
      <d2p1:IS_Update>true</d2p1:IS_Update>
      <d2p1:NoRepeatItem>1</d2p1:NoRepeatItem>
      <d2p1:PrintAfter_Save>true</d2p1:PrintAfter_Save>
      <d2p1:PurchInMinus>1</d2p1:PurchInMinus>
      <d2p1:PurchPrintAfter_Save>true</d2p1:PurchPrintAfter_Save>
      <d2p1:Purch_out_goods>1</d2p1:Purch_out_goods>
      <d2p1:Purch_than_Less_Purch_Item>1</d2p1:Purch_than_Less_Purch_Item>
      <d2p1:Return_whith_bill_no>1</d2p1:Return_whith_bill_no>
      <d2p1:SaleDiscPers>1</d2p1:SaleDiscPers>
      <d2p1:SaleDiscValue>1</d2p1:SaleDiscValue>
      <d2p1:SaleInMinus>true</d2p1:SaleInMinus>
      <d2p1:SalePointOnly>1</d2p1:SalePointOnly>
      <d2p1:ShowQtyScreen>true</d2p1:ShowQtyScreen>
      <d2p1:StockMinus>1</d2p1:StockMinus>
      <d2p1:UpdatePurchDate>1</d2p1:UpdatePurchDate>
      <d2p1:UpdatePurchPrice>1</d2p1:UpdatePurchPrice>
      <d2p1:UpdateSaleDate>1</d2p1:UpdateSaleDate>
      <d2p1:UpdateSalePrice>1</d2p1:UpdateSalePrice>
      <d2p1:add_cover_letter>1</d2p1:add_cover_letter>
      <d2p1:add_new_after_open>1</d2p1:add_new_after_open>
      <d2p1:add_new_after_save>1</d2p1:add_new_after_save>
      <d2p1:allow_discount>1</d2p1:allow_discount>
      <d2p1:allow_replace_Without_bill>1</d2p1:allow_replace_Without_bill>
      <d2p1:allow_return_Without_bill>1</d2p1:allow_return_Without_bill>
      <d2p1:allow_salePrice_zero>1</d2p1:allow_salePrice_zero>
      <d2p1:allow_zero_cost>1</d2p1:allow_zero_cost>
      <d2p1:apply_discount>1</d2p1:apply_discount>
      <d2p1:cancel_double_enter>1</d2p1:cancel_double_enter>
      <d2p1:cancel_move_barcode>1</d2p1:cancel_move_barcode>
      <d2p1:costWithVat>1</d2p1:costWithVat>
      <d2p1:custom2_largePrinter>1</d2p1:custom2_largePrinter>
      <d2p1:custom2_smallPrinter>1</d2p1:custom2_smallPrinter>
      <d2p1:custom_detail>1</d2p1:custom_detail>
      <d2p1:custom_largePrinter>1</d2p1:custom_largePrinter>
      <d2p1:custom_smallPrinter>1</d2p1:custom_smallPrinter>
      <d2p1:direct_print>1</d2p1:direct_print>
      <d2p1:disable_type_sale_price>1</d2p1:disable_type_sale_price>
      <d2p1:empty_paid>1</d2p1:empty_paid>
      <d2p1:hide_item_balance>1</d2p1:hide_item_balance>
      <d2p1:inv_post_unlock>1</d2p1:inv_post_unlock>
      <d2p1:invtype>1</d2p1:invtype>
      <d2p1:is_saleprice_less_purch>1</d2p1:is_saleprice_less_purch>
      <d2p1:largePrinter>sample string 2</d2p1:largePrinter>
      <d2p1:largePrinter_custom>sample string 4</d2p1:largePrinter_custom>
      <d2p1:largePrinter_custom2>sample string 6</d2p1:largePrinter_custom2>
      <d2p1:modify_documents_no>1</d2p1:modify_documents_no>
      <d2p1:no_copies>1</d2p1:no_copies>
      <d2p1:purchAutomatic_Insert>true</d2p1:purchAutomatic_Insert>
      <d2p1:purchDiscPers>1</d2p1:purchDiscPers>
      <d2p1:purchDiscValue>1</d2p1:purchDiscValue>
      <d2p1:purchVatUpdate>1</d2p1:purchVatUpdate>
      <d2p1:rest_show_image>1</d2p1:rest_show_image>
      <d2p1:return_same_invoice_date>1</d2p1:return_same_invoice_date>
      <d2p1:saleVatUpdate>1</d2p1:saleVatUpdate>
      <d2p1:sale_no_less_than_minPrice>1</d2p1:sale_no_less_than_minPrice>
      <d2p1:sale_no_less_than_purch>1</d2p1:sale_no_less_than_purch>
      <d2p1:search_enter>1</d2p1:search_enter>
      <d2p1:show_ItemExpired_Alert>1</d2p1:show_ItemExpired_Alert>
      <d2p1:show_price_on_bills>1</d2p1:show_price_on_bills>
      <d2p1:show_unit_on_bills>1</d2p1:show_unit_on_bills>
      <d2p1:smallPrinter>sample string 1</d2p1:smallPrinter>
      <d2p1:smallPrinter_custom>sample string 3</d2p1:smallPrinter_custom>
      <d2p1:smallPrinter_custom2>sample string 5</d2p1:smallPrinter_custom2>
      <d2p1:to_unit>1</d2p1:to_unit>
      <d2p1:type_sale_price>1</d2p1:type_sale_price>
      <d2p1:update_price_currencies>1</d2p1:update_price_currencies>
      <d2p1:update_price_first_stock>1</d2p1:update_price_first_stock>
      <d2p1:update_price_pursh_bill>1</d2p1:update_price_pursh_bill>
      <d2p1:update_price_sale_bill>1</d2p1:update_price_sale_bill>
      <d2p1:usePriceBeforVat>1</d2p1:usePriceBeforVat>
      <d2p1:use_barcode_reader>1</d2p1:use_barcode_reader>
      <d2p1:use_price_without_vat>1</d2p1:use_price_without_vat>
      <d2p1:user_id>1</d2p1:user_id>
    </d2p1:User_Permission>
    <d2p1:User_Permission>
      <d2p1:Automatic_Insert>true</d2p1:Automatic_Insert>
      <d2p1:Cust_SalePrice>true</d2p1:Cust_SalePrice>
      <d2p1:Disc_saleOnBills>1</d2p1:Disc_saleOnBills>
      <d2p1:Disc_saleOnItem>1</d2p1:Disc_saleOnItem>
      <d2p1:Form_id>1</d2p1:Form_id>
      <d2p1:HidePurchPrice>true</d2p1:HidePurchPrice>
      <d2p1:IS_Delete>true</d2p1:IS_Delete>
      <d2p1:IS_New>true</d2p1:IS_New>
      <d2p1:IS_Preview>true</d2p1:IS_Preview>
      <d2p1:IS_Print>true</d2p1:IS_Print>
      <d2p1:IS_Save>true</d2p1:IS_Save>
      <d2p1:IS_Search>true</d2p1:IS_Search>
      <d2p1:IS_Update>true</d2p1:IS_Update>
      <d2p1:NoRepeatItem>1</d2p1:NoRepeatItem>
      <d2p1:PrintAfter_Save>true</d2p1:PrintAfter_Save>
      <d2p1:PurchInMinus>1</d2p1:PurchInMinus>
      <d2p1:PurchPrintAfter_Save>true</d2p1:PurchPrintAfter_Save>
      <d2p1:Purch_out_goods>1</d2p1:Purch_out_goods>
      <d2p1:Purch_than_Less_Purch_Item>1</d2p1:Purch_than_Less_Purch_Item>
      <d2p1:Return_whith_bill_no>1</d2p1:Return_whith_bill_no>
      <d2p1:SaleDiscPers>1</d2p1:SaleDiscPers>
      <d2p1:SaleDiscValue>1</d2p1:SaleDiscValue>
      <d2p1:SaleInMinus>true</d2p1:SaleInMinus>
      <d2p1:SalePointOnly>1</d2p1:SalePointOnly>
      <d2p1:ShowQtyScreen>true</d2p1:ShowQtyScreen>
      <d2p1:StockMinus>1</d2p1:StockMinus>
      <d2p1:UpdatePurchDate>1</d2p1:UpdatePurchDate>
      <d2p1:UpdatePurchPrice>1</d2p1:UpdatePurchPrice>
      <d2p1:UpdateSaleDate>1</d2p1:UpdateSaleDate>
      <d2p1:UpdateSalePrice>1</d2p1:UpdateSalePrice>
      <d2p1:add_cover_letter>1</d2p1:add_cover_letter>
      <d2p1:add_new_after_open>1</d2p1:add_new_after_open>
      <d2p1:add_new_after_save>1</d2p1:add_new_after_save>
      <d2p1:allow_discount>1</d2p1:allow_discount>
      <d2p1:allow_replace_Without_bill>1</d2p1:allow_replace_Without_bill>
      <d2p1:allow_return_Without_bill>1</d2p1:allow_return_Without_bill>
      <d2p1:allow_salePrice_zero>1</d2p1:allow_salePrice_zero>
      <d2p1:allow_zero_cost>1</d2p1:allow_zero_cost>
      <d2p1:apply_discount>1</d2p1:apply_discount>
      <d2p1:cancel_double_enter>1</d2p1:cancel_double_enter>
      <d2p1:cancel_move_barcode>1</d2p1:cancel_move_barcode>
      <d2p1:costWithVat>1</d2p1:costWithVat>
      <d2p1:custom2_largePrinter>1</d2p1:custom2_largePrinter>
      <d2p1:custom2_smallPrinter>1</d2p1:custom2_smallPrinter>
      <d2p1:custom_detail>1</d2p1:custom_detail>
      <d2p1:custom_largePrinter>1</d2p1:custom_largePrinter>
      <d2p1:custom_smallPrinter>1</d2p1:custom_smallPrinter>
      <d2p1:direct_print>1</d2p1:direct_print>
      <d2p1:disable_type_sale_price>1</d2p1:disable_type_sale_price>
      <d2p1:empty_paid>1</d2p1:empty_paid>
      <d2p1:hide_item_balance>1</d2p1:hide_item_balance>
      <d2p1:inv_post_unlock>1</d2p1:inv_post_unlock>
      <d2p1:invtype>1</d2p1:invtype>
      <d2p1:is_saleprice_less_purch>1</d2p1:is_saleprice_less_purch>
      <d2p1:largePrinter>sample string 2</d2p1:largePrinter>
      <d2p1:largePrinter_custom>sample string 4</d2p1:largePrinter_custom>
      <d2p1:largePrinter_custom2>sample string 6</d2p1:largePrinter_custom2>
      <d2p1:modify_documents_no>1</d2p1:modify_documents_no>
      <d2p1:no_copies>1</d2p1:no_copies>
      <d2p1:purchAutomatic_Insert>true</d2p1:purchAutomatic_Insert>
      <d2p1:purchDiscPers>1</d2p1:purchDiscPers>
      <d2p1:purchDiscValue>1</d2p1:purchDiscValue>
      <d2p1:purchVatUpdate>1</d2p1:purchVatUpdate>
      <d2p1:rest_show_image>1</d2p1:rest_show_image>
      <d2p1:return_same_invoice_date>1</d2p1:return_same_invoice_date>
      <d2p1:saleVatUpdate>1</d2p1:saleVatUpdate>
      <d2p1:sale_no_less_than_minPrice>1</d2p1:sale_no_less_than_minPrice>
      <d2p1:sale_no_less_than_purch>1</d2p1:sale_no_less_than_purch>
      <d2p1:search_enter>1</d2p1:search_enter>
      <d2p1:show_ItemExpired_Alert>1</d2p1:show_ItemExpired_Alert>
      <d2p1:show_price_on_bills>1</d2p1:show_price_on_bills>
      <d2p1:show_unit_on_bills>1</d2p1:show_unit_on_bills>
      <d2p1:smallPrinter>sample string 1</d2p1:smallPrinter>
      <d2p1:smallPrinter_custom>sample string 3</d2p1:smallPrinter_custom>
      <d2p1:smallPrinter_custom2>sample string 5</d2p1:smallPrinter_custom2>
      <d2p1:to_unit>1</d2p1:to_unit>
      <d2p1:type_sale_price>1</d2p1:type_sale_price>
      <d2p1:update_price_currencies>1</d2p1:update_price_currencies>
      <d2p1:update_price_first_stock>1</d2p1:update_price_first_stock>
      <d2p1:update_price_pursh_bill>1</d2p1:update_price_pursh_bill>
      <d2p1:update_price_sale_bill>1</d2p1:update_price_sale_bill>
      <d2p1:usePriceBeforVat>1</d2p1:usePriceBeforVat>
      <d2p1:use_barcode_reader>1</d2p1:use_barcode_reader>
      <d2p1:use_price_without_vat>1</d2p1:use_price_without_vat>
      <d2p1:user_id>1</d2p1:user_id>
    </d2p1:User_Permission>
  </_Data>
</UserPermissionController.UserPermsList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.