POST ReportSetting/ReportSetting_InsertUpdate
Request Information
URI Parameters
None.
Body Parameters
ReportSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Color | string |
None. |
|
| HexColor | string |
None. |
|
| ReportFooterPrimary | string |
None. |
|
| ReportFooterSecondery | string |
None. |
|
| PageFooterPrimary | string |
None. |
|
| PageFooterSecondery | string |
None. |
|
| ShowItem | boolean |
None. |
|
| ShowDescription | boolean |
None. |
|
| ShowDiscount | boolean |
None. |
|
| ShowCompanyName | boolean |
None. |
|
| ShowPreparedBy | boolean |
None. |
|
| ShowAuditor | boolean |
None. |
|
| ShowFinancialDirector | boolean |
None. |
|
| BankDetails | string |
None. |
|
| ShowInvoiceArEn | boolean |
None. |
|
| VATNO | integer |
None. |
|
| DescriptionAr | string |
None. |
|
| DescriptionEn | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"Color": "sample string 3",
"HexColor": "sample string 4",
"ReportFooterPrimary": "sample string 5",
"ReportFooterSecondery": "sample string 6",
"PageFooterPrimary": "sample string 7",
"PageFooterSecondery": "sample string 8",
"ShowItem": true,
"ShowDescription": true,
"ShowDiscount": true,
"ShowCompanyName": true,
"ShowPreparedBy": true,
"ShowAuditor": true,
"ShowFinancialDirector": true,
"BankDetails": "sample string 16",
"ShowInvoiceArEn": true,
"VATNO": 18,
"DescriptionAr": "sample string 19",
"DescriptionEn": "sample string 20"
}
application/xml, text/xml
Sample:
<ReportSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO"> <BankDetails>sample string 16</BankDetails> <Color>sample string 3</Color> <CompanyId>2</CompanyId> <DescriptionAr>sample string 19</DescriptionAr> <DescriptionEn>sample string 20</DescriptionEn> <HexColor>sample string 4</HexColor> <Id>1</Id> <PageFooterPrimary>sample string 7</PageFooterPrimary> <PageFooterSecondery>sample string 8</PageFooterSecondery> <ReportFooterPrimary>sample string 5</ReportFooterPrimary> <ReportFooterSecondery>sample string 6</ReportFooterSecondery> <ShowAuditor>true</ShowAuditor> <ShowCompanyName>true</ShowCompanyName> <ShowDescription>true</ShowDescription> <ShowDiscount>true</ShowDiscount> <ShowFinancialDirector>true</ShowFinancialDirector> <ShowInvoiceArEn>true</ShowInvoiceArEn> <ShowItem>true</ShowItem> <ShowPreparedBy>true</ShowPreparedBy> <VATNO>18</VATNO> </ReportSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| IsScusses | boolean |
None. |
|
| ResponseDetails | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"IsScusses": true,
"ResponseDetails": {}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <IsScusses>true</IsScusses> <ResponseDetails /> </Response>