V1
Default
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response. Contacts have been found. | [ContactResponse] |
| 401 | Unauthorized | Unauthorized | string |
| 404 | Not Found | Dealer not found | ApiErrorResponse |
200 - instance of ContactResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | none |
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [PurposeResponse] | false | none |
| dealers | [SimpleDealerResponse] | false | none |
401 - JsonObject
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | none |
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [PurposeResponse] | false | none |
| dealers | [SimpleDealerResponse] | false | none |
404 - instance of ApiErrorResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| restErrors | [ApiError] | false | none |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | ContactRequest | false | ‘none’ |
Request body - instance of ContactRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [IntegerList] | false | none |
| dealers | [IntegerList] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response. Contact has been created. | ContactResponse |
| 401 | Unauthorized | Unauthorized | string |
| 404 | Not Found | Dealer not found | ApiErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contactId | path | integer | true | ‘none’ |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response. Contact has been found. | [ContactResponse] |
| 401 | Unauthorized | Unauthorized | string |
200 - instance of ContactResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | none |
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [PurposeResponse] | false | none |
| dealers | [SimpleDealerResponse] | false | none |
401 - JsonObject
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | none |
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [PurposeResponse] | false | none |
| dealers | [SimpleDealerResponse] | false | none |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contactId | path | integer | true | ‘none’ |
| body | body | ContactRequest | false | ‘none’ |
Request body - instance of ContactRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [IntegerList] | false | none |
| dealers | [IntegerList] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response. Contact has been updated. | [ContactResponse] |
| 400 | Bad Request | Bad request | ApiErrorResponse |
| 401 | Unauthorized | Unauthorized | string |
| 404 | Not Found | Dealer not found | ApiErrorResponse |
200 - instance of ContactResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | none |
| name | string | false | none |
| string | false | none | |
| phoneNumber | string | false | none |
| purposes | [PurposeResponse] | false | none |
| dealers | [SimpleDealerResponse] | false | none |
400 - instance of ApiErrorResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| restErrors | [ApiError] | false | none |
401 - JsonObject
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| restErrors | [ApiError] | false | none |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contactId | path | integer | true | ‘none’ |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | Successful response. Contact has been deleted. | None |
| 400 | Bad Request | Bad request | ApiErrorResponse |
| 401 | Unauthorized | Unauthorized | string |
| 404 | Not Found | Dealer not found | ApiErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contactId | path | integer | true | ‘none’ |
| dealerId | path | integer | true | ‘none’ |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | Successful response. | None |
| 401 | Unauthorized | Unauthorized | string |
| 404 | Not Found | Dealer not found | ApiErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| type | query | string | false | filter by manager type |
Enumerated Values
| Property | Values |
|---|---|
| type | one of [INT, EXT] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response. Managers has been found. | [ManagerResponse] |
| 401 | Unauthorized | Unauthorized | string |
200 - instance of ManagerResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | false | none |
| surname | string | false | none |
| type | string | false | INT -> Interno EXT -> Externo |
| parent | ManagerBase1 | false | Contact generic info simplified object. |
| Property | Values |
|---|---|
| type | one of [INT, EXT] |
401 - JsonObject
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | false | none |
| surname | string | false | none |
| type | string | false | INT -> Interno EXT -> Externo |
| parent | ManagerBase1 | false | Contact generic info simplified object. |
| Property | Values |
|---|---|
| type | one of [INT, EXT] |
Endpoints
Default
Dealer
Fiscal data
Custom information
Campaign
Subchannel
Store
Iam
Brand
Request