PUT api/{database}/CompanyDetails
Updates the specified CompanyDetails
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
value | The updated values for CompanyDetails. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "administrationCode": "sample string 1", "administrationDescription": "sample string 2", "administrationShortName": "sample string 3", "agingCategory1PurchaseInvoice": 4, "agingCategory1SalesInvoice": 5, "agingCategory2PurchaseInvoice": 6, "agingCategory2SalesInvoice": 7, "agingCategory3PurchaseInvoice": 8, "agingCategory3SalesInvoice": 9, "agingCategory4PurchaseInvoice": 10, "agingCategory4SalesInvoice": 11, "agingCategory5PurchaseInvoice": 12, "agingCategory5SalesInvoice": 13, "messages": [], "balanceControlBankJournals": true, "balanceControlCashJournals": true, "businessNumber": "sample string 16", "canChange": true, "cannotChangeReason": "sample string 18", "characteristic": "sample string 19", "city": "sample string 20", "cocRegistration": "sample string 21", "creditSqueezePercentage1": 22.0, "creditSqueezePercentage2": 23.0, "creditSqueezePercentage3": 24.0, "directPermanenceApply": true, "email": "sample string 26", "emailAccountType": 1, "factoringLageLanden": "sample string 27", "fiscalUnit": "sample string 28", "intrastatDeclarant": "sample string 29", "intrastatEmail": "sample string 30", "intrastatLastDeclarationMonth": 1, "intrastatLastDeclarationYear": 1, "intrastatLocation": 1, "intrastatName": "sample string 31", "intrastatZipCode": "sample string 32", "lastUsedOrderId": 33, "legalStructure": 0, "maxAutomAcceptablePaymentDiff": 34.0, "negativeCashBalanceControl": true, "obNumberSoleProprietor": "sample string 36", "orderIdInterval": 37, "person": "sample string 38", "personId": "sample string 39", "phoneNumber": "sample string 40", "quotateValidityInDays": 41, "street": "sample string 42", "useCustomers": true, "useSuppliers": true, "vatEnabled": true, "vatNumber": "sample string 46", "vatPostPerInvoiceLine": 0, "zipCode": "sample string 47" }
application/xml, text/xml
Sample:
<CompanyDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <AdministrationCode>sample string 1</AdministrationCode> <AdministrationDescription>sample string 2</AdministrationDescription> <AdministrationShortName>sample string 3</AdministrationShortName> <AgingCategory1PurchaseInvoice>4</AgingCategory1PurchaseInvoice> <AgingCategory1SalesInvoice>5</AgingCategory1SalesInvoice> <AgingCategory2PurchaseInvoice>6</AgingCategory2PurchaseInvoice> <AgingCategory2SalesInvoice>7</AgingCategory2SalesInvoice> <AgingCategory3PurchaseInvoice>8</AgingCategory3PurchaseInvoice> <AgingCategory3SalesInvoice>9</AgingCategory3SalesInvoice> <AgingCategory4PurchaseInvoice>10</AgingCategory4PurchaseInvoice> <AgingCategory4SalesInvoice>11</AgingCategory4SalesInvoice> <AgingCategory5PurchaseInvoice>12</AgingCategory5PurchaseInvoice> <AgingCategory5SalesInvoice>13</AgingCategory5SalesInvoice> <BalanceControlBankJournals>true</BalanceControlBankJournals> <BalanceControlCashJournals>true</BalanceControlCashJournals> <BusinessNumber>sample string 16</BusinessNumber> <CanChange>true</CanChange> <CannotChangeReason>sample string 18</CannotChangeReason> <Characteristic>sample string 19</Characteristic> <City>sample string 20</City> <CocRegistration>sample string 21</CocRegistration> <CreditSqueezePercentage1>22</CreditSqueezePercentage1> <CreditSqueezePercentage2>23</CreditSqueezePercentage2> <CreditSqueezePercentage3>24</CreditSqueezePercentage3> <DirectPermanenceApply>true</DirectPermanenceApply> <Email>sample string 26</Email> <EmailAccountType>None</EmailAccountType> <FactoringLageLanden>sample string 27</FactoringLageLanden> <FiscalUnit>sample string 28</FiscalUnit> <IntrastatDeclarant>sample string 29</IntrastatDeclarant> <IntrastatEmail>sample string 30</IntrastatEmail> <IntrastatLastDeclarationMonth>1</IntrastatLastDeclarationMonth> <IntrastatLastDeclarationYear>1</IntrastatLastDeclarationYear> <IntrastatLocation>1</IntrastatLocation> <IntrastatName>sample string 31</IntrastatName> <IntrastatZipCode>sample string 32</IntrastatZipCode> <LastUsedOrderId>33</LastUsedOrderId> <LegalStructure>Undefined</LegalStructure> <MaxAutomAcceptablePaymentDiff>34</MaxAutomAcceptablePaymentDiff> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <NegativeCashBalanceControl>true</NegativeCashBalanceControl> <OBNumberSoleProprietor>sample string 36</OBNumberSoleProprietor> <OrderIdInterval>37</OrderIdInterval> <Person>sample string 38</Person> <PersonId>sample string 39</PersonId> <PhoneNumber>sample string 40</PhoneNumber> <QuotateValidityInDays>41</QuotateValidityInDays> <Street>sample string 42</Street> <UseCustomers>true</UseCustomers> <UseSuppliers>true</UseSuppliers> <VatEnabled>true</VatEnabled> <VatNumber>sample string 46</VatNumber> <VatPostPerInvoiceLine>Unknown</VatPostPerInvoiceLine> <ZipCode>sample string 47</ZipCode> </CompanyDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "administrationCode": "sample string 1", "administrationDescription": "sample string 2", "administrationShortName": "sample string 3", "agingCategory1PurchaseInvoice": 4, "agingCategory1SalesInvoice": 5, "agingCategory2PurchaseInvoice": 6, "agingCategory2SalesInvoice": 7, "agingCategory3PurchaseInvoice": 8, "agingCategory3SalesInvoice": 9, "agingCategory4PurchaseInvoice": 10, "agingCategory4SalesInvoice": 11, "agingCategory5PurchaseInvoice": 12, "agingCategory5SalesInvoice": 13, "messages": [], "balanceControlBankJournals": true, "balanceControlCashJournals": true, "businessNumber": "sample string 16", "canChange": true, "cannotChangeReason": "sample string 18", "characteristic": "sample string 19", "city": "sample string 20", "cocRegistration": "sample string 21", "creditSqueezePercentage1": 22.0, "creditSqueezePercentage2": 23.0, "creditSqueezePercentage3": 24.0, "directPermanenceApply": true, "email": "sample string 26", "emailAccountType": 1, "factoringLageLanden": "sample string 27", "fiscalUnit": "sample string 28", "intrastatDeclarant": "sample string 29", "intrastatEmail": "sample string 30", "intrastatLastDeclarationMonth": 1, "intrastatLastDeclarationYear": 1, "intrastatLocation": 1, "intrastatName": "sample string 31", "intrastatZipCode": "sample string 32", "lastUsedOrderId": 33, "legalStructure": 0, "maxAutomAcceptablePaymentDiff": 34.0, "negativeCashBalanceControl": true, "obNumberSoleProprietor": "sample string 36", "orderIdInterval": 37, "person": "sample string 38", "personId": "sample string 39", "phoneNumber": "sample string 40", "quotateValidityInDays": 41, "street": "sample string 42", "useCustomers": true, "useSuppliers": true, "vatEnabled": true, "vatNumber": "sample string 46", "vatPostPerInvoiceLine": 0, "zipCode": "sample string 47" }
application/xml, text/xml
Sample:
<CompanyDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <AdministrationCode>sample string 1</AdministrationCode> <AdministrationDescription>sample string 2</AdministrationDescription> <AdministrationShortName>sample string 3</AdministrationShortName> <AgingCategory1PurchaseInvoice>4</AgingCategory1PurchaseInvoice> <AgingCategory1SalesInvoice>5</AgingCategory1SalesInvoice> <AgingCategory2PurchaseInvoice>6</AgingCategory2PurchaseInvoice> <AgingCategory2SalesInvoice>7</AgingCategory2SalesInvoice> <AgingCategory3PurchaseInvoice>8</AgingCategory3PurchaseInvoice> <AgingCategory3SalesInvoice>9</AgingCategory3SalesInvoice> <AgingCategory4PurchaseInvoice>10</AgingCategory4PurchaseInvoice> <AgingCategory4SalesInvoice>11</AgingCategory4SalesInvoice> <AgingCategory5PurchaseInvoice>12</AgingCategory5PurchaseInvoice> <AgingCategory5SalesInvoice>13</AgingCategory5SalesInvoice> <BalanceControlBankJournals>true</BalanceControlBankJournals> <BalanceControlCashJournals>true</BalanceControlCashJournals> <BusinessNumber>sample string 16</BusinessNumber> <CanChange>true</CanChange> <CannotChangeReason>sample string 18</CannotChangeReason> <Characteristic>sample string 19</Characteristic> <City>sample string 20</City> <CocRegistration>sample string 21</CocRegistration> <CreditSqueezePercentage1>22</CreditSqueezePercentage1> <CreditSqueezePercentage2>23</CreditSqueezePercentage2> <CreditSqueezePercentage3>24</CreditSqueezePercentage3> <DirectPermanenceApply>true</DirectPermanenceApply> <Email>sample string 26</Email> <EmailAccountType>None</EmailAccountType> <FactoringLageLanden>sample string 27</FactoringLageLanden> <FiscalUnit>sample string 28</FiscalUnit> <IntrastatDeclarant>sample string 29</IntrastatDeclarant> <IntrastatEmail>sample string 30</IntrastatEmail> <IntrastatLastDeclarationMonth>1</IntrastatLastDeclarationMonth> <IntrastatLastDeclarationYear>1</IntrastatLastDeclarationYear> <IntrastatLocation>1</IntrastatLocation> <IntrastatName>sample string 31</IntrastatName> <IntrastatZipCode>sample string 32</IntrastatZipCode> <LastUsedOrderId>33</LastUsedOrderId> <LegalStructure>Undefined</LegalStructure> <MaxAutomAcceptablePaymentDiff>34</MaxAutomAcceptablePaymentDiff> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <NegativeCashBalanceControl>true</NegativeCashBalanceControl> <OBNumberSoleProprietor>sample string 36</OBNumberSoleProprietor> <OrderIdInterval>37</OrderIdInterval> <Person>sample string 38</Person> <PersonId>sample string 39</PersonId> <PhoneNumber>sample string 40</PhoneNumber> <QuotateValidityInDays>41</QuotateValidityInDays> <Street>sample string 42</Street> <UseCustomers>true</UseCustomers> <UseSuppliers>true</UseSuppliers> <VatEnabled>true</VatEnabled> <VatNumber>sample string 46</VatNumber> <VatPostPerInvoiceLine>Unknown</VatPostPerInvoiceLine> <ZipCode>sample string 47</ZipCode> </CompanyDetails>