B2BCostCentersApiFactory
B2BCostCentersApi - factory interface
Signature
B2BCostCentersApiFactory: (
configuration?: Configuration,
basePath?: string,
axios?: AxiosInstance
) => {
createCostCenter(baseSiteId: string,
b2BCostCenter: B2BCostCenter,
fields?: string,
options?: any): AxiosPromise<B2BCostCenter>;
doAddBudgetToCostCenter(baseSiteId: string,
budgetCode: string,
costCenterCode: string,
fields?: string,
options?: any): AxiosPromise<B2BSelectionData>;
getActiveCostCenters(baseSiteId: string,
fields?: string,
options?: any): AxiosPromise<B2BCostCenterList>;
getBudgetsForCostCenter(baseSiteId: string,
costCenterCode: string,
currentPage?: number,
fields?: string,
pageSize?: number,
sort?: string,
options?: any): AxiosPromise<BudgetList>;
getCostCenter(baseSiteId: string,
costCenterCode: string,
fields?: string,
options?: any): AxiosPromise<B2BCostCenter>;
getCostCenters(baseSiteId: string,
currentPage?: number,
fields?: string,
pageSize?: number,
sort?: string,
options?: any): AxiosPromise<B2BCostCenterList>;
removeBudgetFromCostCenter(baseSiteId: string,
budgetCode: string,
costCenterCode: string,
fields?: string,
options?: any): AxiosPromise<B2BSelectionData>;
updateCostCenter(baseSiteId: string,
costCenterCode: string,
b2BCostCenter: B2BCostCenter,
fields?: string,
options?: any): AxiosPromise<B2BCostCenter>;
}Parameters
| Name | Required | Type | Description |
|---|---|---|---|
configuration | Optional | Configuration | |
basePath | Optional | string | |
axios | Optional | AxiosInstance |
Referenced Types
AxiosInstance- B2BCostCenter
AxiosPromise- B2BSelectionData
- B2BCostCenterList
- BudgetList