POST api/SystemApi/AddUserAccessProfile
Request Information
URI Parameters
None.
Body Parameters
User_Access_Profile| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| NumberOfReceptCopies | integer |
None. |
|
| Diafa | boolean |
None. |
|
| TotalInvoiceDiscount | boolean |
None. |
|
| TotalInvoiceService | boolean |
None. |
|
| ControlePanel | boolean |
None. |
|
| AllowChangeStoreQTY | boolean |
None. |
|
| DeleteMadedOrder | boolean |
None. |
|
| Items | boolean |
None. |
|
| Invoices | boolean |
None. |
|
| Expands | boolean |
None. |
|
| Store | boolean |
None. |
|
| Drawers | boolean |
None. |
|
| Settings | boolean |
None. |
|
| Reports | boolean |
None. |
|
| ShowReseptForm | boolean |
None. |
|
| PrintRecept | boolean |
None. |
|
| CoastControle | boolean |
None. |
|
| Search | boolean |
None. |
|
| Add | boolean |
None. |
|
| Edit | boolean |
None. |
|
| Delete | boolean |
None. |
|
| boolean |
None. |
||
| Sale | boolean |
None. |
|
| TableSale | boolean |
None. |
|
| InvoiceBuyItems | boolean |
None. |
|
| InvoiceBuyOres | boolean |
None. |
|
| InvoiceOrders | boolean |
None. |
|
| InvoiceDelivey | boolean |
None. |
|
| InvoicePayBack | boolean |
None. |
|
| InvoiceTakAway | boolean |
None. |
|
| Buy | boolean |
None. |
|
| EditInvoice | boolean |
None. |
|
| Deleteinvoice | boolean |
None. |
|
| Customer | boolean |
None. |
|
| CustomerPhone | string |
None. |
|
| Vendors | boolean |
None. |
|
| InvoiceTax | decimal number |
None. |
|
| InvoiceService | decimal number |
None. |
|
| DeliveryAmount | decimal number |
None. |
|
| ReceptNumberOfCopies | integer |
None. |
|
| ViewCurrentSaleInvoicesForCurrentUser | boolean |
None. |
|
| DrawerLogs | boolean |
None. |
|
| UserLogs | boolean |
None. |
|
| ReportUserLogs | boolean |
None. |
|
| DeletedInvoiceReport | boolean |
None. |
|
| SaleReport | boolean |
None. |
|
| BuyReport | boolean |
None. |
|
| ExpandsReport | boolean |
None. |
|
| DisplayShiftCloseAmounts | boolean |
None. |
|
| OneTimeClose | boolean |
None. |
|
| CasherCanCloseHisShift | boolean |
None. |
|
| CloseShoft | boolean |
None. |
|
| Employee | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"NumberOfReceptCopies": 3,
"Diafa": true,
"TotalInvoiceDiscount": true,
"TotalInvoiceService": true,
"ControlePanel": true,
"AllowChangeStoreQTY": true,
"DeleteMadedOrder": true,
"Items": true,
"Invoices": true,
"Expands": true,
"Store": true,
"Drawers": true,
"Settings": true,
"Reports": true,
"ShowReseptForm": true,
"PrintRecept": true,
"CoastControle": true,
"Search": true,
"Add": true,
"Edit": true,
"Delete": true,
"Print": true,
"Sale": true,
"TableSale": true,
"InvoiceBuyItems": true,
"InvoiceBuyOres": true,
"InvoiceOrders": true,
"InvoiceDelivey": true,
"InvoicePayBack": true,
"InvoiceTakAway": true,
"Buy": true,
"EditInvoice": true,
"Deleteinvoice": true,
"Customer": true,
"CustomerPhone": "sample string 37",
"Vendors": true,
"InvoiceTax": 39.1,
"InvoiceService": 40.1,
"DeliveryAmount": 41.1,
"ReceptNumberOfCopies": 42,
"ViewCurrentSaleInvoicesForCurrentUser": true,
"DrawerLogs": true,
"UserLogs": true,
"ReportUserLogs": true,
"DeletedInvoiceReport": true,
"SaleReport": true,
"BuyReport": true,
"ExpandsReport": true,
"DisplayShiftCloseAmounts": true,
"OneTimeClose": true,
"CasherCanCloseHisShift": true,
"CloseShoft": true,
"Employee": true
}
application/xml, text/xml
Sample:
<User_Access_Profile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models"> <Add>true</Add> <AllowChangeStoreQTY>true</AllowChangeStoreQTY> <Buy>true</Buy> <BuyReport>true</BuyReport> <CasherCanCloseHisShift>true</CasherCanCloseHisShift> <CloseShoft>true</CloseShoft> <CoastControle>true</CoastControle> <ControlePanel>true</ControlePanel> <Customer>true</Customer> <CustomerPhone>sample string 37</CustomerPhone> <Delete>true</Delete> <DeleteMadedOrder>true</DeleteMadedOrder> <DeletedInvoiceReport>true</DeletedInvoiceReport> <Deleteinvoice>true</Deleteinvoice> <DeliveryAmount>41.1</DeliveryAmount> <Diafa>true</Diafa> <DisplayShiftCloseAmounts>true</DisplayShiftCloseAmounts> <DrawerLogs>true</DrawerLogs> <Drawers>true</Drawers> <Edit>true</Edit> <EditInvoice>true</EditInvoice> <Employee>true</Employee> <Expands>true</Expands> <ExpandsReport>true</ExpandsReport> <Id>1</Id> <InvoiceBuyItems>true</InvoiceBuyItems> <InvoiceBuyOres>true</InvoiceBuyOres> <InvoiceDelivey>true</InvoiceDelivey> <InvoiceOrders>true</InvoiceOrders> <InvoicePayBack>true</InvoicePayBack> <InvoiceService>40.1</InvoiceService> <InvoiceTakAway>true</InvoiceTakAway> <InvoiceTax>39.1</InvoiceTax> <Invoices>true</Invoices> <Items>true</Items> <Name>sample string 2</Name> <NumberOfReceptCopies>3</NumberOfReceptCopies> <OneTimeClose>true</OneTimeClose> <Print>true</Print> <PrintRecept>true</PrintRecept> <ReceptNumberOfCopies>42</ReceptNumberOfCopies> <ReportUserLogs>true</ReportUserLogs> <Reports>true</Reports> <Sale>true</Sale> <SaleReport>true</SaleReport> <Search>true</Search> <Settings>true</Settings> <ShowReseptForm>true</ShowReseptForm> <Store>true</Store> <TableSale>true</TableSale> <TotalInvoiceDiscount>true</TotalInvoiceDiscount> <TotalInvoiceService>true</TotalInvoiceService> <UserLogs>true</UserLogs> <Vendors>true</Vendors> <ViewCurrentSaleInvoicesForCurrentUser>true</ViewCurrentSaleInvoicesForCurrentUser> </User_Access_Profile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.