GET api/SetupPICompany/{accountId}/{companyId}/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| companyId | string |
Required |
|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SetupPICompany| Name | Description | Type | Additional information |
|---|---|---|---|
| SetupPICompanyId | integer |
None. |
|
| ValuationMethod | string |
None. |
|
| InvAcct | string |
None. |
|
| InvAcctBreak1 | string |
None. |
|
| InvAcctBreak2 | string |
None. |
|
| InvAdjustAcct | integer |
None. |
|
| InvAdjustAcctBreak1 | string |
None. |
|
| InvAdjustAcctBreak2 | string |
None. |
|
| UseGlobalMargin | boolean |
None. |
|
| GlobalMargin | decimal number |
None. |
|
| InvOffsetAcct | string |
None. |
|
| InvOffsetBreak1 | string |
None. |
|
| InvOffsetBreak2 | string |
None. |
|
| InventorySetupDate | date |
None. |
|
| LastMonthEndDate | date |
None. |
|
| LastYearEndDate | date |
None. |
|
| LastGlPostDate | date |
None. |
|
| LastGlProcessDate | date |
None. |
|
| IncludeUseTaxInCost | boolean |
None. |
|
| InvCostAcct | integer |
None. |
|
| InvCostAcctBreak1 | string |
None. |
|
| InvCostAcctBreak2 | string |
None. |
|
| DefaultItemTypeInPo | string |
None. |
|
| DefaultRmaAcct | integer |
None. |
|
| DefaultRmaAcctBreak1 | string |
None. |
|
| DefaultRmaAcctBreak2 | string |
None. |
|
| AutoEvaluateInventory | boolean |
None. |
|
| BarCodeType | string |
None. |
|
| BarCodeFontsize | integer |
None. |
|
| MaintainCostByWarehouse | boolean |
None. |
|
| ImplementLockOnPhysicalInventory | boolean |
None. |
|
| MaintainCostByTruck | boolean |
None. |
|
| DefaultWarehouse | string |
None. |
|
| AppendToPoNum | string |
None. |
|
| PoPrintHeader | string |
None. |
|
| CostToUseForPricing | string |
None. |
|
| UseTaxCalculationBase | string |
None. |
|
| CostToUseForPo | string |
None. |
|
| DefaultRestockAcct | integer |
None. |
|
| DefaultRestockBreak1 | string |
None. |
|
| DefaultRestockBreak2 | string |
None. |
|
| CalcFreightOnReceiving | string |
None. |
|
| IsIncludeJobNumInPONum | boolean |
None. |
|
| SyncSTDCostFromQBO | boolean |
None. |
|
| IsTaxable | boolean |
None. |
|
| UseRetailPricing | boolean |
None. |
|
| DefaultGLAccount | string |
None. |
|
| DefaultTaxAccount | string |
None. |
|
| DefaultPOAccountForNonInventory | string |
None. |
|
| InventorySource | string |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | string |
None. |
|
| IsLockedForEditing | boolean |
None. |
|
| LockedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SetupPICompanyId": 1,
"ValuationMethod": "sample string 2",
"InvAcct": "sample string 3",
"InvAcctBreak1": "sample string 4",
"InvAcctBreak2": "sample string 5",
"InvAdjustAcct": 1,
"InvAdjustAcctBreak1": "sample string 6",
"InvAdjustAcctBreak2": "sample string 7",
"UseGlobalMargin": true,
"GlobalMargin": 1.0,
"InvOffsetAcct": "sample string 8",
"InvOffsetBreak1": "sample string 9",
"InvOffsetBreak2": "sample string 10",
"InventorySetupDate": "2025-12-16T20:33:07.1388306+00:00",
"LastMonthEndDate": "2025-12-16T20:33:07.1388306+00:00",
"LastYearEndDate": "2025-12-16T20:33:07.1388306+00:00",
"LastGlPostDate": "2025-12-16T20:33:07.1388306+00:00",
"LastGlProcessDate": "2025-12-16T20:33:07.1388306+00:00",
"IncludeUseTaxInCost": true,
"InvCostAcct": 1,
"InvCostAcctBreak1": "sample string 11",
"InvCostAcctBreak2": "sample string 12",
"DefaultItemTypeInPo": "sample string 13",
"DefaultRmaAcct": 1,
"DefaultRmaAcctBreak1": "sample string 14",
"DefaultRmaAcctBreak2": "sample string 15",
"AutoEvaluateInventory": true,
"BarCodeType": "sample string 16",
"BarCodeFontsize": 1,
"MaintainCostByWarehouse": true,
"ImplementLockOnPhysicalInventory": true,
"MaintainCostByTruck": true,
"DefaultWarehouse": "sample string 17",
"AppendToPoNum": "sample string 18",
"PoPrintHeader": "sample string 19",
"CostToUseForPricing": "sample string 20",
"UseTaxCalculationBase": "sample string 21",
"CostToUseForPo": "sample string 22",
"DefaultRestockAcct": 1,
"DefaultRestockBreak1": "sample string 23",
"DefaultRestockBreak2": "sample string 24",
"CalcFreightOnReceiving": "sample string 25",
"IsIncludeJobNumInPONum": true,
"SyncSTDCostFromQBO": true,
"IsTaxable": true,
"UseRetailPricing": true,
"DefaultGLAccount": "sample string 28",
"DefaultTaxAccount": "sample string 29",
"DefaultPOAccountForNonInventory": "sample string 30",
"InventorySource": "sample string 31",
"AccountId": 32,
"CompanyId": "sample string 33",
"CreatedOn": "2025-12-16T20:33:07.1544842+00:00",
"CreatedBy": "sample string 35",
"UpdatedOn": "2025-12-16T20:33:07.1544842+00:00",
"UpdatedBy": "sample string 36",
"IsLockedForEditing": true,
"LockedBy": "sample string 38"
}
application/xml, text/xml
Sample:
<SetupPICompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup"> <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">32</AccountId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 33</CompanyId> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 35</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:33:07.1544842+00:00</CreatedOn> <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing> <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 38</LockedBy> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 36</UpdatedBy> <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:33:07.1544842+00:00</UpdatedOn> <AppendToPoNum>sample string 18</AppendToPoNum> <AutoEvaluateInventory>true</AutoEvaluateInventory> <BarCodeFontsize>1</BarCodeFontsize> <BarCodeType>sample string 16</BarCodeType> <CalcFreightOnReceiving>sample string 25</CalcFreightOnReceiving> <CostToUseForPo>sample string 22</CostToUseForPo> <CostToUseForPricing>sample string 20</CostToUseForPricing> <DefaultGLAccount>sample string 28</DefaultGLAccount> <DefaultItemTypeInPo>sample string 13</DefaultItemTypeInPo> <DefaultPOAccountForNonInventory>sample string 30</DefaultPOAccountForNonInventory> <DefaultRestockAcct>1</DefaultRestockAcct> <DefaultRestockBreak1>sample string 23</DefaultRestockBreak1> <DefaultRestockBreak2>sample string 24</DefaultRestockBreak2> <DefaultRmaAcct>1</DefaultRmaAcct> <DefaultRmaAcctBreak1>sample string 14</DefaultRmaAcctBreak1> <DefaultRmaAcctBreak2>sample string 15</DefaultRmaAcctBreak2> <DefaultTaxAccount>sample string 29</DefaultTaxAccount> <DefaultWarehouse>sample string 17</DefaultWarehouse> <GlobalMargin>1</GlobalMargin> <ImplementLockOnPhysicalInventory>true</ImplementLockOnPhysicalInventory> <IncludeUseTaxInCost>true</IncludeUseTaxInCost> <InvAcct>sample string 3</InvAcct> <InvAcctBreak1>sample string 4</InvAcctBreak1> <InvAcctBreak2>sample string 5</InvAcctBreak2> <InvAdjustAcct>1</InvAdjustAcct> <InvAdjustAcctBreak1>sample string 6</InvAdjustAcctBreak1> <InvAdjustAcctBreak2>sample string 7</InvAdjustAcctBreak2> <InvCostAcct>1</InvCostAcct> <InvCostAcctBreak1>sample string 11</InvCostAcctBreak1> <InvCostAcctBreak2>sample string 12</InvCostAcctBreak2> <InvOffsetAcct>sample string 8</InvOffsetAcct> <InvOffsetBreak1>sample string 9</InvOffsetBreak1> <InvOffsetBreak2>sample string 10</InvOffsetBreak2> <InventorySetupDate>2025-12-16T20:33:07.1388306+00:00</InventorySetupDate> <InventorySource>sample string 31</InventorySource> <IsIncludeJobNumInPONum>true</IsIncludeJobNumInPONum> <IsTaxable>true</IsTaxable> <LastGlPostDate>2025-12-16T20:33:07.1388306+00:00</LastGlPostDate> <LastGlProcessDate>2025-12-16T20:33:07.1388306+00:00</LastGlProcessDate> <LastMonthEndDate>2025-12-16T20:33:07.1388306+00:00</LastMonthEndDate> <LastYearEndDate>2025-12-16T20:33:07.1388306+00:00</LastYearEndDate> <MaintainCostByTruck>true</MaintainCostByTruck> <MaintainCostByWarehouse>true</MaintainCostByWarehouse> <PoPrintHeader>sample string 19</PoPrintHeader> <SetupPICompanyId>1</SetupPICompanyId> <SyncSTDCostFromQBO>true</SyncSTDCostFromQBO> <UseGlobalMargin>true</UseGlobalMargin> <UseRetailPricing>true</UseRetailPricing> <UseTaxCalculationBase>sample string 21</UseTaxCalculationBase> <ValuationMethod>sample string 2</ValuationMethod> </SetupPICompany>