Companies
Overview
Provides access to Company related data.
Endpoints
The resources available in this module.
CompanyListApi
Provides API access to the Companies (#/General/CompanyList.aspx) Web Workbench screen.
/api/CompanyListApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Logged in User | - | - | |
POST | Logged in User | - |
CompanyDetailApi
Provides API access to the Company Detail (#/General/CompanyList.aspx) dialog Web Workbench screen.
/api/CompanyDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Admin User | - | ||
POST | Admin User | - |
Models
The definitions of models specific to endpoints in this module.
CompanyKey
Property | Type | Description |
---|---|---|
CompanyID | Integer | The unique Company ID of the Company |
CompanyLine
Property | Type | Description |
---|---|---|
Key | The unique key for the line. | |
CompanyId | Integer | The unique Company ID of the Company. |
CompanyName | String | The name of the Company. |
CompanyNameValue | The name of the Company. | |
AlphaCode | String | The shorthand code for the Company. |
AlphaCodeValue | The shorthand code for the Company. | |
ApAccount | String | The AP linking code to the financial system. |
ApAccountValue | The AP linking code to the financial system. | |
ArAccount | String | The AR linking code to the financial system. |
ArAccountValue | The AR linking code to the financial system. | |
CreditStatus | String | The Company's credit status with your organization. |
CreditStatusValue | The Company's credit status with your organization. | |
Location | String | The location the Company has been assigned to. |
LocationValue | The location the Company has been assigned to. | |
FinancialCompanyCode | String | The internal Financial Company this company sits under. |
FinancialCompanyCodeValue | The internal Financial Company this company sits under. | |
CompanyType | String | The company type of this Company. |
CompanyTypeValue | The company type of this Company. | |
Phone | String | The Phone Number of this Company. |
PhoneValue | The Phone Number of this Company. | |
Client | Boolean | The Client flag on the Company. |
Supplier | Boolean | The Supplier flag on the Company. |
Subcontractor | Boolean | The Subcontractor flag on the Company. |
Other | Boolean | The Other flag on the Company. |
Inactive | Boolean | The Inactive flag on the Company. |
GSTNumber | String | The tax identifier for the Company. |
CostValue | CellData | (if GridRequestParametersApi.IntValue2 is populated with an ItemID) The Cost on the Catalogue Line |
CatalogueValue | CellData | (if GridRequestParametersApi.IntValue2 is populated with an ItemID) The Name of the Catalogue |
Group1 | String | The Attribute Group of the first Attribute Category filter |
Group2 | String | The Attribute Group of the second Attribute Category filter |
Group3 | String | The Attribute Group of the third Attribute Category filter |
UpdatedDate | DateTime | The Date this record was last updated. |
CompanyApiModel
Property | Type | Description |
---|---|---|
Key | The unique key of the Company. | |
Main | General data associated with the Company. | |
Financials | Financial data associated with the Company. | |
People.Rows | Array<PersonLine> | People associated with the Company. |
Attributes.Rows | Array<AttributeLine> | Attributes associated with the Company. |
CompanyInsurance.Rows | Array<CompanyInsuranceLine> | Company Insurances associated with the Company. |
Addresses.Rows | Array<AddressLine> | Addresses associated with the Company. |
Notes.Rows | Array<NoteLine> | Notes associated with the Company. |
ToDoItems.Rows | Array<ToDoLine> | To Do Items associated with the Company. |
CompanyMainFields
Property | Type | Description |
---|---|---|
CompanyID | The unique Company ID of the Company. | |
CompanyName | The name of the Company. | |
AlphaCode | The shorthand code for the Company. | |
CompanyType | The type of the Company. | |
PriceCode | Price code of the Company. | |
Location | The location the Company has been assigned to. | |
Branch | The Branch the Company belongs to. | |
FinancialCompany | The internal Financial Company this Company sits under. | |
ArAccount | The AR linking code to the financial system. | |
ApAccount | The AP linking code to the financial system. | |
Currency | The default Currency of the Company. | |
CompanyReference | The reference. | |
InactiveCompany | The Inactive flag on the Company. | |
Client | The Client flag on the Company. | |
Supplier | The Supplier flag on the Company. | |
Subcontractor | The Subcontractor flag on the Company. | |
Other | The Other flag on the Company. | |
GSTNumber | The tax identifier for the Company. | |
DefaultJobManager | The Person who is the default Job Manager. | |
DefaultAccountManager | The Person who is the default Account Manager. |
CompanyFinancialsFields
Property | Type | Description |
---|---|---|
PaymentTerms | The numerical value for days | |
PaymentTermsType | To nominate the payment terms for Job Sales Invoices to this company | |
CreditStatus | The company's credit status is with your organization | |
CashLimit | To nominate a cash limit. | |
BankAccountRef1 | Account details. | |
BankAccountRef2 | Account details. | |
BankAccountRef3 | Account details. | |
UseGST | Have tax or not. | |
CashOnly | This company as a cash-only or not | |
UseBuyerCreatedInvoices | Use the BCI/RCTI or not. |
CompanyInsuranceKey
Property | Type | Description |
---|---|---|
CompanyInsuranceID | Integer | The unique ID of the Company Insurance. |
CompanyID | Integer | The ID of the Company this belongs to. |
CompanyInsuranceLine
Property | Type | Description |
---|---|---|
Key | The unique key for the line. | |
Type | String | The description of the Insurance Type. |
TypeValue | The description of the Insurance Type. | |
Number | String | The Insurance Certificate Number. |
Numbervalue | The Insurance Certificate Number. | |
ExpiryDate | DateTime | The Insurance Expiry Date. |
Insurer | String | The Insurance name. |
InsurerValue | The Insurance name. | |
Cover | Decimal | The Insurance limit. |
CoverValue | The Insurance limit. | |
Excess | Decimal | The Insurance excess. |
ExcessValue | The Insurance excess. | |
Subcontract | String | The description of the Subcontract. |
SubcontractValue | The description of the Subcontract. | |
Description | String | The description of the Company Insurance. |
DescriptionValue | The description of the Company Insurance. | |
Details | String | The details on the Company Insurance. |
DetailsValue | The details on the Company Insurance. | |
Reviewed | Boolean | The Reviewed flag on the Company Insurance. |
AddressKey
Property | Type | Description |
---|---|---|
AddressID | Integer | The unique ID of the Address. |
AddressLine
Property | Type | Description |
---|---|---|
Key | The unique key for the line. | |
Title | String | The Address Title. |
TitleValue | The Address Title. | |
Line1 | String | Street line 1 information. |
Line1Value | Street line 1 information. | |
Line2 | String | Street line 2 information. |
Line2Value | Street line 2 information. | |
Phone | String | The phone number on the address. |
PhoneValue | The phone number on the address. | |
PostCode | String | The post code of the Address. |
PostCodeValue | The post code of the Address. | |
Inactive | Boolean | The Reviewed flag on the Address. |
IsPostalAddress | Boolean | A flag to indicate if the Address is the Postal Address of the Company. |
IsPhysicalAddress | Boolean | A flag to indicate if the Address is the Physical Address of the Company. |
Examples
Get list of first 20 companies.
Get the list of all Workbench companies.
Create a new company.
On this page
- 1 Overview
- 2 Endpoints
- 2.1 CompanyListApi
- 2.2 CompanyDetailApi
- 3 Models
- 3.1 CompanyKey
- 3.2 CompanyLine
- 3.3 CompanyApiModel
- 3.4 CompanyMainFields
- 3.5 CompanyFinancialsFields
- 3.6 CompanyInsuranceKey
- 3.7 CompanyInsuranceLine
- 3.8 AddressKey
- 3.9 AddressLine
- 4 Examples