V3
Typifications
Access to ms-typifications api
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| orgId | path | string | true | organization name |
| customerId | path | integer(int64) | true | customer identifier |
| body | body | CreateTypificationRequest | true | typification parameters |
Request body - instance of CreateTypificationRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| channel | string | true | Channel where the typification was performed |
| user_id | string | true | User performing the typification. It takes an email format |
| msisdn | string | true | Phone number related to the typification |
| conversation_id | string | false | Conversation identifier related to the typification |
| operator | string | false | Operator related to the typification |
| campaign | string | true | Campaign related to the typification |
| reason | string | true | Typification reason |
| subreason1 | string | false | Typification subreason1 |
| subreason2 | string | false | Typification subreason2 |
| result | string | false | Typification result |
| subresult | string | false | Typification subresult |
| description | string | false | Typification description |
| initial_fee | number(float) | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | Typification created successfully. No content to return. | None |
| 400 | Bad Request | Invalid request body | ErrorMessage |
| 401 | Unauthorized | Unauthorized | ErrorMessage |
| 403 | Forbidden | Forbidden resource | ErrorMessage |
| 500 | Internal Server Error | Internal server error | ErrorMessage |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| orgId | path | string | true | organization name |
| customerId | path | integer(int64) | true | customer identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | GetTypificationsResponse |
| 400 | Bad Request | Invalid request body | ErrorMessage |
| 404 | Not Found | Resource not found | ErrorMessage |
| 405 | Method Not Allowed | Method not allowed | None |
| 500 | Internal Server Error | Internal server error | ErrorMessage |
200 - instance of GetTypificationsResponse
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| typifications | [object] | false | none |
| » id | string | true | none |
| » created_at | string(date-time) | true | Typification creation date |
| » channel | string | true | Channel where the typification was performed |
| » tenant | string | false | Tenant where the typification was performed |
| » area | string | false | User area where the typification was performed |
| » user_id | string | true | User performing the typification. |
| » msisdn | string | true | Phone number related to the typification |
| » campaign | string | true | Campaign related to the typification |
| » reason | string | true | Typification reason |
| » subreason1 | string | false | Typification subreason1 |
| » subreason2 | string | false | Typification subreason2 |
| » result | string | false | Typification result |
| » subresult | string | false | Typification subresult |
| » conversation_id | string | false | Conversation identifier related to the typification |
| » operator | string | false | Operator related to the typification |
| » description | string | false | Typification description |
| » initial_fee | number(float) | false | none |
500 - instance of ErrorMessage
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | integer(int32) | false | Custom error code |
| status | string | false | Status |
| message | string | false | Status message |
| detailMsg | string | false | Detailed description of the error |
Endpoints
Customers
Events
Memos
Typifications
Invoices