CompanyController

crm/companies

CompanyController

Base route: crm/companies

Namespace Axiom.App.Crm.Api.Controllers
Base Route crm/companies
Security SalesProfessional, SalesEssential

Endpoints

Method Route Method Name Parameters Return Type
Get crm/companies/lists/{id:int} Get id: int, searchText: string, skip: int, limit: int, tags: List<string>, orderBy: string, direction: string, filters: string List
Get crm/companies/export/{documentListId:int} Export documentListId: int, includeAllFields: bool IActionResult
Get crm/companies/form/{form}/ GetForm form: string DocumentForm
Put crm/companies Put document: Document bool
Put crm/companies/imports/submit PutImport spreadSheet: ImportSpreadSheet bool
Post crm/companies Post document: Document int
Post crm/companies/deleteselected DeleteSelected selectedIds: List<int> bool
Delete crm/companies/{companyId:int} Delete companyId: int bool
Post crm/companies/filesystem PostFileSystem company: Company bool
Post crm/companies/imports Imports None ImportSpreadSheet
Put crm/companies/sortorder/{documentListId:int} SortOrder filtersort: Sort, documentListId: int bool
Put crm/companies/filterdata/{documentListId:int} FilterData filterData: List<FilterData>, documentListId: int bool
Put crm/companies/fields/{documentListId:int} UpdatedFields updatedFields: List<string>, documentListId: int bool
Put crm/companies/tags/{documentListId:int} Tags tags: List<string>, documentListId: int bool
Post crm/companies/merge Merge documentMergeViewModel: DocumentMergeViewModel bool

Detailed Endpoint Information

Get crm/companies/lists/{id:int} Get

Return Type

List

Parameters

Name Type Source Optional
id int Query No
searchText string Query No
skip int Query No
limit int Query No
tags List<string> FromQuery No
orderBy string Query No
direction string Query No
filters string Query No
Get crm/companies/export/{documentListId:int} Export

Return Type

IActionResult

Parameters

Name Type Source Optional
documentListId int Query No
includeAllFields bool Query No
Get crm/companies/form/{form}/ GetForm

Return Type

DocumentForm

Parameters

Name Type Source Optional
form string Query No
Put crm/companies Put

Return Type

bool

Parameters

Name Type Source Optional
document Document FromBody No
Put crm/companies/imports/submit PutImport

Return Type

bool

Parameters

Name Type Source Optional
spreadSheet ImportSpreadSheet FromBody No
Post crm/companies Post

Return Type

int

Parameters

Name Type Source Optional
document Document FromBody No
Post crm/companies/deleteselected DeleteSelected

Return Type

bool

Parameters

Name Type Source Optional
selectedIds List<int> FromBody No
Delete crm/companies/{companyId:int} Delete

Return Type

bool

Parameters

Name Type Source Optional
companyId int Query No
Post crm/companies/filesystem PostFileSystem

Return Type

bool

Parameters

Name Type Source Optional
company Company FromBody No
Post crm/companies/imports Imports

Return Type

ImportSpreadSheet

Parameters

No parameters

Put crm/companies/sortorder/{documentListId:int} SortOrder

Return Type

bool

Parameters

Name Type Source Optional
filtersort Sort FromBody No
documentListId int Query No
Put crm/companies/filterdata/{documentListId:int} FilterData

Return Type

bool

Parameters

Name Type Source Optional
filterData List<FilterData> FromBody No
documentListId int Query No
Put crm/companies/fields/{documentListId:int} UpdatedFields

Return Type

bool

Parameters

Name Type Source Optional
updatedFields List<string> FromBody No
documentListId int Query No
Put crm/companies/tags/{documentListId:int} Tags

Return Type

bool

Parameters

Name Type Source Optional
tags List<string> FromBody No
documentListId int Query No
Post crm/companies/merge Merge

Return Type

bool

Parameters

Name Type Source Optional
documentMergeViewModel DocumentMergeViewModel FromBody No