PUT api/SetupARCompany/Put

Request Information

URI Parameters

None.

Body Parameters

SetupARCompany
NameDescriptionTypeAdditional information
SetupARCompanyId

integer

None.

DiscountAllowed

boolean

None.

DiscountAccountNumber

integer

None.

DiscountAccountBreak1

string

None.

DiscountAccountBreak2

string

None.

DefaultBankAccountNumber

string

None.

BankAccountBreak1

string

None.

BankAccountBreak2

string

None.

DefaultArAccountNumber

integer

None.

ArAccountBreak1

string

None.

ArAccountBreak2

string

None.

CashOverUnderAccount

integer

None.

CashOverUnderAccountBreak1

string

None.

CashOverUnderAccountBreak2

string

None.

DefaultFCAccountNumber

integer

None.

FcAccountBreak1

string

None.

FcAccountBreak2

string

None.

FinanceChargeRate

decimal number

None.

InvoiceNumberingScheme

string

None.

AgingMethod

string

None.

AgingCol1

integer

None.

AgingCol2

integer

None.

AgingCol3

integer

None.

PostingToGLDoneOn

date

None.

PostingToGLDoneBy

string

None.

DefaultCreditBalanceResidential

decimal number

None.

DefaultCreditBalanceCommercial

decimal number

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.

Request Formats

application/json, text/json

Sample:
{
  "SetupARCompanyId": 1,
  "DiscountAllowed": true,
  "DiscountAccountNumber": 3,
  "DiscountAccountBreak1": "sample string 4",
  "DiscountAccountBreak2": "sample string 5",
  "DefaultBankAccountNumber": "sample string 6",
  "BankAccountBreak1": "sample string 7",
  "BankAccountBreak2": "sample string 8",
  "DefaultArAccountNumber": 9,
  "ArAccountBreak1": "sample string 10",
  "ArAccountBreak2": "sample string 11",
  "CashOverUnderAccount": 12,
  "CashOverUnderAccountBreak1": "sample string 13",
  "CashOverUnderAccountBreak2": "sample string 14",
  "DefaultFCAccountNumber": 15,
  "FcAccountBreak1": "sample string 16",
  "FcAccountBreak2": "sample string 17",
  "FinanceChargeRate": 18.0,
  "InvoiceNumberingScheme": "sample string 19",
  "AgingMethod": "sample string 20",
  "AgingCol1": 21,
  "AgingCol2": 22,
  "AgingCol3": 23,
  "PostingToGLDoneOn": "2025-12-16T18:24:05.3949862+00:00",
  "PostingToGLDoneBy": "sample string 24",
  "DefaultCreditBalanceResidential": 25.0,
  "DefaultCreditBalanceCommercial": 26.0,
  "AccountId": 27,
  "CompanyId": "sample string 28",
  "CreatedOn": "2025-12-16T18:24:05.3949862+00:00",
  "CreatedBy": "sample string 30",
  "UpdatedOn": "2025-12-16T18:24:05.3949862+00:00",
  "UpdatedBy": "sample string 31",
  "IsLockedForEditing": true,
  "LockedBy": "sample string 33"
}

application/xml, text/xml

Sample:
<SetupARCompany 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">27</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 28</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 30</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T18:24:05.3949862+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 33</LockedBy>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 31</UpdatedBy>
  <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T18:24:05.3949862+00:00</UpdatedOn>
  <AgingCol1>21</AgingCol1>
  <AgingCol2>22</AgingCol2>
  <AgingCol3>23</AgingCol3>
  <AgingMethod>sample string 20</AgingMethod>
  <ArAccountBreak1>sample string 10</ArAccountBreak1>
  <ArAccountBreak2>sample string 11</ArAccountBreak2>
  <BankAccountBreak1>sample string 7</BankAccountBreak1>
  <BankAccountBreak2>sample string 8</BankAccountBreak2>
  <CashOverUnderAccount>12</CashOverUnderAccount>
  <CashOverUnderAccountBreak1>sample string 13</CashOverUnderAccountBreak1>
  <CashOverUnderAccountBreak2>sample string 14</CashOverUnderAccountBreak2>
  <DefaultArAccountNumber>9</DefaultArAccountNumber>
  <DefaultBankAccountNumber>sample string 6</DefaultBankAccountNumber>
  <DefaultCreditBalanceCommercial>26</DefaultCreditBalanceCommercial>
  <DefaultCreditBalanceResidential>25</DefaultCreditBalanceResidential>
  <DefaultFCAccountNumber>15</DefaultFCAccountNumber>
  <DiscountAccountBreak1>sample string 4</DiscountAccountBreak1>
  <DiscountAccountBreak2>sample string 5</DiscountAccountBreak2>
  <DiscountAccountNumber>3</DiscountAccountNumber>
  <DiscountAllowed>true</DiscountAllowed>
  <FcAccountBreak1>sample string 16</FcAccountBreak1>
  <FcAccountBreak2>sample string 17</FcAccountBreak2>
  <FinanceChargeRate>18</FinanceChargeRate>
  <InvoiceNumberingScheme>sample string 19</InvoiceNumberingScheme>
  <PostingToGLDoneBy>sample string 24</PostingToGLDoneBy>
  <PostingToGLDoneOn>2025-12-16T18:24:05.3949862+00:00</PostingToGLDoneOn>
  <SetupARCompanyId>1</SetupARCompanyId>
</SetupARCompany>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.