PUT api/SAICompany

Request Information

URI Parameters

None.

Body Parameters

SAICompany
NameDescriptionTypeAdditional information
Account

Account

None.

AccountId

integer

None.

PrimaryContactName

string

None.

ContactPhone

string

None.

ContactEmail

string

None.

CompanyName

string

None.

CompanyEmail

string

None.

Phone1

string

None.

Phone2

string

None.

Fax

string

None.

Website

string

None.

LocationMaster

SAILocationMaster

None.

LocationMasterId

integer

None.

BillingAddress

SAILocationMaster

None.

BillingAddressId

integer

None.

LegalAddress

SAILocationMaster

None.

LegalAddressId

integer

None.

IsUpperCase

boolean

None.

TimeZone

string

None.

SecurityGroups

Collection of SAISecurityGroup

None.

QBCompanyId

string

None.

QBSyncToken

string

None.

BillingAddressForInvoice

SAILocationMaster

None.

BillingAddressForInvoiceId

integer

None.

SelectedBillingAddress

string

None.

DefaultOperatorCode

boolean

None.

DefaultBillingAddress

boolean

None.

DefaultLegalAddress

boolean

None.

CompanyLogoUrl

string

None.

ReportLogoUrl

string

None.

CompanyLogoIconUrl

string

None.

AccntPkgExceptionsToEmail

string

None.

PreferredPackage

string

None.

DoNotShowOnboarding

boolean

None.

LastSelectedTab

string

None.

EnableFSPayementLogs

boolean

None.

ReplyToInvoice

string

None.

ReplyToQuote

string

None.

CreatedOn

date

None.

CreatedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

IsLockedForEditing

boolean

None.

LockedBy

string

None.

Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "PrimaryContactName": "sample string 2",
  "ContactPhone": "sample string 3",
  "ContactEmail": "sample string 4",
  "CompanyName": "sample string 5",
  "CompanyEmail": "sample string 6",
  "Phone1": "sample string 7",
  "Phone2": "sample string 8",
  "Fax": "sample string 9",
  "Website": "sample string 10",
  "LocationMaster": {
    "Attention": "sample string 1",
    "AddressLine1": "sample string 2",
    "AddressLine2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7",
    "GeoLocationLatitude": "sample string 8",
    "GeoLocationLongitude": "sample string 9",
    "IsGoogleVerified": true,
    "IsCustomerVerified": true,
    "AccountId": 10,
    "CompanyId": "sample string 11",
    "CreatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "CreatedBy": "sample string 13",
    "UpdatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "UpdatedBy": "sample string 14",
    "IsLockedForEditing": true,
    "LockedBy": "sample string 16",
    "Id": 17,
    "FieldPermissions": []
  },
  "LocationMasterId": 1,
  "BillingAddress": {
    "Attention": "sample string 1",
    "AddressLine1": "sample string 2",
    "AddressLine2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7",
    "GeoLocationLatitude": "sample string 8",
    "GeoLocationLongitude": "sample string 9",
    "IsGoogleVerified": true,
    "IsCustomerVerified": true,
    "AccountId": 10,
    "CompanyId": "sample string 11",
    "CreatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "CreatedBy": "sample string 13",
    "UpdatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "UpdatedBy": "sample string 14",
    "IsLockedForEditing": true,
    "LockedBy": "sample string 16",
    "Id": 17,
    "FieldPermissions": []
  },
  "BillingAddressId": 1,
  "LegalAddress": {
    "Attention": "sample string 1",
    "AddressLine1": "sample string 2",
    "AddressLine2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7",
    "GeoLocationLatitude": "sample string 8",
    "GeoLocationLongitude": "sample string 9",
    "IsGoogleVerified": true,
    "IsCustomerVerified": true,
    "AccountId": 10,
    "CompanyId": "sample string 11",
    "CreatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "CreatedBy": "sample string 13",
    "UpdatedOn": "2025-12-16T14:46:57.2942511+00:00",
    "UpdatedBy": "sample string 14",
    "IsLockedForEditing": true,
    "LockedBy": "sample string 16",
    "Id": 17,
    "FieldPermissions": []
  },
  "LegalAddressId": 1,
  "BillingAddressForInvoiceId": 1,
  "TimeZone": "sample string 11",
  "IsUpperCase": true,
  "SelectedBillingAddress": "sample string 13",
  "DefaultOperatorCode": true,
  "DefaultBillingAddress": true,
  "DefaultLegalAddress": true,
  "CompanyLogoUrl": "sample string 17",
  "ReportLogoUrl": "sample string 18",
  "CompanyLogoIconUrl": "sample string 19",
  "OperatorCode": "sample string 20",
  "AccntPkgExceptionsToEmail": "sample string 21",
  "EnableCustomerPortalAccess": true,
  "EnableSchedulerAccess": true,
  "GeoLocationLatitude": "sample string 22",
  "GeoLocationLongitude": "sample string 23",
  "QBDInviteCode": "sample string 24",
  "ActivatedPackageCode": "sample string 25",
  "PreferredPackage": "sample string 26",
  "DoNotShowOnboarding": true,
  "LastSelectedTab": "sample string 28",
  "EnableFSPayementLogs": true,
  "ReplyToInvoice": "sample string 30",
  "ReplyToQuote": "sample string 31",
  "CreatedOn": "2025-12-16T14:46:57.3061177+00:00",
  "CreatedBy": "sample string 33",
  "UpdatedOn": "2025-12-16T14:46:57.3061177+00:00",
  "UpdatedBy": "sample string 34",
  "IsLockedForEditing": true,
  "LockedBy": "sample string 36",
  "Id": "sample string 37",
  "FieldPermissions": []
}

application/xml, text/xml

Sample:
<SAICompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI">
  <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 37</Id>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 33</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.3061177+00:00</CreatedOn>
  <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
  <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 36</LockedBy>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 34</UpdatedBy>
  <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.3061177+00:00</UpdatedOn>
  <AccntPkgExceptionsToEmail>sample string 21</AccntPkgExceptionsToEmail>
  <AccountId>1</AccountId>
  <ActivatedPackageCode>sample string 25</ActivatedPackageCode>
  <BillingAddress>
    <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">17</Id>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 13</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</CreatedOn>
    <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
    <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 16</LockedBy>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 14</UpdatedBy>
    <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</UpdatedOn>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">10</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 11</CompanyId>
    <AddressLine1>sample string 2</AddressLine1>
    <AddressLine2>sample string 3</AddressLine2>
    <Attention>sample string 1</Attention>
    <City>sample string 4</City>
    <Country>sample string 7</Country>
    <GeoLocationLatitude>sample string 8</GeoLocationLatitude>
    <GeoLocationLongitude>sample string 9</GeoLocationLongitude>
    <IsCustomerVerified>true</IsCustomerVerified>
    <IsGoogleVerified>true</IsGoogleVerified>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
  </BillingAddress>
  <BillingAddressForInvoiceId>1</BillingAddressForInvoiceId>
  <BillingAddressId>1</BillingAddressId>
  <CompanyEmail>sample string 6</CompanyEmail>
  <CompanyLogoIconUrl>sample string 19</CompanyLogoIconUrl>
  <CompanyLogoUrl>sample string 17</CompanyLogoUrl>
  <CompanyName>sample string 5</CompanyName>
  <ContactEmail>sample string 4</ContactEmail>
  <ContactPhone>sample string 3</ContactPhone>
  <DefaultBillingAddress>true</DefaultBillingAddress>
  <DefaultLegalAddress>true</DefaultLegalAddress>
  <DefaultOperatorCode>true</DefaultOperatorCode>
  <DoNotShowOnboarding>true</DoNotShowOnboarding>
  <EnableCustomerPortalAccess>true</EnableCustomerPortalAccess>
  <EnableFSPayementLogs>true</EnableFSPayementLogs>
  <EnableSchedulerAccess>true</EnableSchedulerAccess>
  <Fax>sample string 9</Fax>
  <GeoLocationLatitude>sample string 22</GeoLocationLatitude>
  <GeoLocationLongitude>sample string 23</GeoLocationLongitude>
  <IsUpperCase>true</IsUpperCase>
  <LastSelectedTab>sample string 28</LastSelectedTab>
  <LegalAddress>
    <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">17</Id>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 13</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</CreatedOn>
    <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
    <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 16</LockedBy>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 14</UpdatedBy>
    <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</UpdatedOn>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">10</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 11</CompanyId>
    <AddressLine1>sample string 2</AddressLine1>
    <AddressLine2>sample string 3</AddressLine2>
    <Attention>sample string 1</Attention>
    <City>sample string 4</City>
    <Country>sample string 7</Country>
    <GeoLocationLatitude>sample string 8</GeoLocationLatitude>
    <GeoLocationLongitude>sample string 9</GeoLocationLongitude>
    <IsCustomerVerified>true</IsCustomerVerified>
    <IsGoogleVerified>true</IsGoogleVerified>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
  </LegalAddress>
  <LegalAddressId>1</LegalAddressId>
  <LocationMaster>
    <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">17</Id>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 13</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</CreatedOn>
    <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
    <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 16</LockedBy>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 14</UpdatedBy>
    <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:46:57.2942511+00:00</UpdatedOn>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">10</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 11</CompanyId>
    <AddressLine1>sample string 2</AddressLine1>
    <AddressLine2>sample string 3</AddressLine2>
    <Attention>sample string 1</Attention>
    <City>sample string 4</City>
    <Country>sample string 7</Country>
    <GeoLocationLatitude>sample string 8</GeoLocationLatitude>
    <GeoLocationLongitude>sample string 9</GeoLocationLongitude>
    <IsCustomerVerified>true</IsCustomerVerified>
    <IsGoogleVerified>true</IsGoogleVerified>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
  </LocationMaster>
  <LocationMasterId>1</LocationMasterId>
  <OperatorCode>sample string 20</OperatorCode>
  <Phone1>sample string 7</Phone1>
  <Phone2>sample string 8</Phone2>
  <PreferredPackage>sample string 26</PreferredPackage>
  <PrimaryContactName>sample string 2</PrimaryContactName>
  <QBDInviteCode>sample string 24</QBDInviteCode>
  <ReplyToInvoice>sample string 30</ReplyToInvoice>
  <ReplyToQuote>sample string 31</ReplyToQuote>
  <ReportLogoUrl>sample string 18</ReportLogoUrl>
  <SelectedBillingAddress>sample string 13</SelectedBillingAddress>
  <TimeZone>sample string 11</TimeZone>
  <Website>sample string 10</Website>
</SAICompany>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.