Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
[Description]Return list of companies in Workbench.
Endpoints
The resources available in this module.
CompanyListApi
Return companies list in Workbench.
/api/CompanyListApi | |||||
---|---|---|---|---|---|
Method | Description | Performed As | Request Query | Request Body | Response |
GET | Return first 20 companies. | - | |||
POST | Get list of all companies |
CompanyDetailApi
/url | |||||
---|---|---|---|---|---|
Method | Description | Performed As | Request Query | Request Body | Response |
GET | - | ||||
POST |
Models
The definitions of models specific to endpoints in this module.
GeneralCompanyLine
Field | Type | Description |
---|---|---|
CompanyId | Integer | Unique ID code of the company. |
CompanyName | String | Company name. |
AlphaCode | String | The shorthand code for the company |
ApAccount | String | The AP linking code to the financial system |
ArAccount | String | The AR linking code to the financial system |
CreditStatus | String | The company's credit status is with your organization. |
Location | String | The location has been assigned to this company. |
FinancialCompanyCode | String | The internal Financial Company this company sits under. |
CompanyType | String | The company type of this company. |
Phone | String | Phone number. |
Client | Boolean | This company as a client or not. |
Supplier | Boolean | This company as a supplier or not. |
Subcontractor | Boolean | This company as a Subcontractor or not. |
Other | Boolean | The company is marked as Other type or not. |
Inactive | Boolean | The company is inactive or not. |
GSTNumber | String | The tax identifier for the company. |
Select | ||
CompanyNameValue | Company name. | |
AlphaCodeValue | The shorthand code for the company. | |
ApAccountValue | The AP linking code to the financial system. | |
ArAccountValue | The AR linking code to the financial system. | |
CreditStatusValue | The company's credit status is with your organization. | |
LocationValue | The location has been assigned to this company. | |
FinancialCompanyCodeValue | The internal Financial Company this company sits under. | |
CompanyTypeValue | The company type of this company. | |
PhoneValue | Phone number. | |
CostValue | Price cost? | |
CatalogueValue | ||
Group 1 | String | The group of the company. |
Group 2 | String | The group of the company. |
Group 3 | String | The group of the company. |
UpdatedDate | String | Updated date. |
Status | String | |
ReadonlyFlag | Integer | |
ReadonlyMessage | String | |
OriginalKey | GeneralCompanyKey | |
CurrentKey | GeneralCompanyKey | |
Key | GeneralCompanyKey | |
Index | Integer |
GeneralCompanyKey
Field | Type | Description |
---|---|---|
CompanyID | Integer | Code of the company |
Examples
Get list of first 20 companies
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response sample
|
Get the list of all Workbench companies
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response sample
|
⬆️ Back to top
On this page
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|