POST api/UserAccessFilesAPI
Request Information
URI Parameters
None.
Body Parameters
UserAccessFileName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
User_Id | integer |
None. |
|
UserName | string |
None. |
|
InvoiceSale | boolean |
None. |
|
Expands | boolean |
None. |
|
Drawer | boolean |
None. |
|
SaleReports | boolean |
None. |
|
ExpandsReports | boolean |
None. |
|
DiscountLimit | decimal number |
None. |
|
StoreGard | boolean |
None. |
|
ShowDateInExpenses | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "User_Id": 2, "UserName": "sample string 3", "InvoiceSale": true, "Expands": true, "Drawer": true, "SaleReports": true, "ExpandsReports": true, "DiscountLimit": 9.1, "StoreGard": true, "ShowDateInExpenses": true }
application/xml, text/xml
Sample:
<UserAccessFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <DiscountLimit>9.1</DiscountLimit> <Drawer>true</Drawer> <Expands>true</Expands> <ExpandsReports>true</ExpandsReports> <Id>1</Id> <InvoiceSale>true</InvoiceSale> <SaleReports>true</SaleReports> <ShowDateInExpenses>true</ShowDateInExpenses> <StoreGard>true</StoreGard> <UserName>sample string 3</UserName> <User_Id>2</User_Id> </UserAccessFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserAccessFileName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
User_Id | integer |
None. |
|
UserName | string |
None. |
|
InvoiceSale | boolean |
None. |
|
Expands | boolean |
None. |
|
Drawer | boolean |
None. |
|
SaleReports | boolean |
None. |
|
ExpandsReports | boolean |
None. |
|
DiscountLimit | decimal number |
None. |
|
StoreGard | boolean |
None. |
|
ShowDateInExpenses | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "User_Id": 2, "UserName": "sample string 3", "InvoiceSale": true, "Expands": true, "Drawer": true, "SaleReports": true, "ExpandsReports": true, "DiscountLimit": 9.1, "StoreGard": true, "ShowDateInExpenses": true }
application/xml, text/xml
Sample:
<UserAccessFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <DiscountLimit>9.1</DiscountLimit> <Drawer>true</Drawer> <Expands>true</Expands> <ExpandsReports>true</ExpandsReports> <Id>1</Id> <InvoiceSale>true</InvoiceSale> <SaleReports>true</SaleReports> <ShowDateInExpenses>true</ShowDateInExpenses> <StoreGard>true</StoreGard> <UserName>sample string 3</UserName> <User_Id>2</User_Id> </UserAccessFile>