ContactController
Base route: crm/contacts
| Namespace | Axiom.App.Crm.Api.Controllers |
|---|---|
| Base Route | crm/contacts |
| Security | SalesProfessional, SalesEssential |
Endpoints
| Method | Route | Method Name | Parameters | Return Type |
|---|---|---|---|---|
| Get | crm/contacts/lists/{id:int} |
Get | id: int, searchText: string, skip: int, limit: int, tags: List<string>, orderBy: string, direction: string, filters: string | List |
| Get | crm/contacts/export/{documentListId:int} |
Export | documentListId: int, includeAllFields: bool, csv: bool | IActionResult |
| Get | crm/contacts/form/{form}/ |
GetForm | form: string | DocumentForm |
| Put | crm/contacts |
Put | document: Document | bool |
| Post | crm/contacts |
Post | document: Document | int |
| Post | crm/contacts/deleteselected |
DeleteSelected | selectedIds: List<int> | bool |
| Delete | crm/contacts/{documentId:int} |
Delete | documentId: int | bool |
| Post | crm/contacts/filesystem |
PostFileSystem | contact: Contact | bool |
| Put | crm/contacts/sortorder/{documentListId:int} |
SortOrder | filtersort: Sort, documentListId: int | bool |
| Put | crm/contacts/filterdata/{documentListId:int} |
FilterData | filterData: List<FilterData>, documentListId: int | bool |
| Put | crm/contacts/fields/{documentListId:int} |
Fields | updatedFields: List<string>, documentListId: int | bool |
| Put | crm/contacts/tags/{documentListId:int} |
Tags | tags: List<string>, documentListId: int | bool |
| Post | crm/contacts/merge |
Merge | documentMergeViewModel: DocumentMergeViewModel | bool |
| Patch | crm/contacts/bool |
[FromBody] JsonPatchDocument patch, int contactId | None | Patch |
Detailed Endpoint Information
Get
crm/contacts/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/contacts/export/{documentListId:int}
Export
Return Type
IActionResult
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
documentListId |
int |
Query | No |
includeAllFields |
bool |
Query | No |
csv |
bool |
Query | No |
Get
crm/contacts/form/{form}/
GetForm
Return Type
DocumentForm
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
form |
string |
Query | No |
Put
crm/contacts
Put
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
document |
Document |
FromBody | No |
Post
crm/contacts
Post
Return Type
int
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
document |
Document |
FromBody | No |
Post
crm/contacts/deleteselected
DeleteSelected
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
selectedIds |
List<int> |
FromBody | No |
Delete
crm/contacts/{documentId:int}
Delete
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
documentId |
int |
Query | No |
Post
crm/contacts/filesystem
PostFileSystem
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
contact |
Contact |
FromBody | No |
Put
crm/contacts/sortorder/{documentListId:int}
SortOrder
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
filtersort |
Sort |
FromBody | No |
documentListId |
int |
Query | No |
Put
crm/contacts/filterdata/{documentListId:int}
FilterData
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
filterData |
List<FilterData> |
FromBody | No |
documentListId |
int |
Query | No |
Put
crm/contacts/fields/{documentListId:int}
Fields
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
updatedFields |
List<string> |
FromBody | No |
documentListId |
int |
Query | No |
Put
crm/contacts/tags/{documentListId:int}
Tags
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
tags |
List<string> |
FromBody | No |
documentListId |
int |
Query | No |
Post
crm/contacts/merge
Merge
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
documentMergeViewModel |
DocumentMergeViewModel |
FromBody | No |
Patch
crm/contacts/bool
[FromBody] JsonPatchDocument patch, int contactId
Return Type
Patch
Parameters
No parameters