All URIs are relative to https://cloud.memsource.com/web
Method | HTTP request | Description |
---|---|---|
add_lqa_comment1 | POST /api2/v2/jobs/{jobUid}/conversations/lqas/{conversationId}/comments | Add LQA comment |
add_plain_comment2 | POST /api2/v3/jobs/{jobUid}/conversations/plains/{conversationId}/comments | Add plain comment |
create_lqa_conversation1 | POST /api2/v2/jobs/{jobUid}/conversations/lqas | Create LQA conversation |
create_segment_target_conversation1 | POST /api2/v3/jobs/{jobUid}/conversations/plains | Create plain conversation |
delete_lqa_comment | DELETE /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId} | Delete LQA comment |
delete_lqa_conversation | DELETE /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId} | Delete LQA conversation |
delete_plain_comment | DELETE /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId} | Delete plain comment |
delete_plain_conversation | DELETE /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} | Delete plain conversation |
find_conversations | POST /api2/v1/jobs/conversations/find | Find all conversation |
get_lqa_conversation | GET /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId} | Get LQA conversation |
get_plain_conversation | GET /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} | Get plain conversation |
list_all_conversations | GET /api2/v1/jobs/{jobUid}/conversations | List all conversations |
list_lqa_conversations | GET /api2/v1/jobs/{jobUid}/conversations/lqas | List LQA conversations |
list_plain_conversations | GET /api2/v1/jobs/{jobUid}/conversations/plains | List plain conversations |
update_lqa_comment1 | PUT /api2/v2/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId} | Edit LQA comment |
update_lqa_conversation1 | PUT /api2/v2/jobs/{jobUid}/conversations/lqas/{conversationId} | Update LQA conversation |
update_plain_comment1 | PUT /api2/v3/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId} | Edit plain comment |
update_plain_conversation | PUT /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} | Edit plain conversation |
AddLqaCommentResultDto add_lqa_comment1(job_uid, conversation_id, body=body)
Add LQA comment
import time
import os
import phrasetms_client
from phrasetms_client.models.add_comment_dto import AddCommentDto
from phrasetms_client.models.add_lqa_comment_result_dto import AddLqaCommentResultDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
body = phrasetms_client.AddCommentDto() # AddCommentDto | (optional)
try:
# Add LQA comment
api_response = api_instance.add_lqa_comment1(job_uid, conversation_id, body=body)
print("The response of ConversationsApi->add_lqa_comment1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->add_lqa_comment1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
body | AddCommentDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AddPlainCommentResultDto add_plain_comment2(job_uid, conversation_id, body=body)
Add plain comment
import time
import os
import phrasetms_client
from phrasetms_client.models.add_comment_dto import AddCommentDto
from phrasetms_client.models.add_plain_comment_result_dto import AddPlainCommentResultDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
body = phrasetms_client.AddCommentDto() # AddCommentDto | (optional)
try:
# Add plain comment
api_response = api_instance.add_plain_comment2(job_uid, conversation_id, body=body)
print("The response of ConversationsApi->add_plain_comment2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->add_plain_comment2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
body | AddCommentDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LQAConversationDto create_lqa_conversation1(job_uid, body=body)
Create LQA conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.create_lqa_conversation_dto import CreateLqaConversationDto
from phrasetms_client.models.lqa_conversation_dto import LQAConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
body = phrasetms_client.CreateLqaConversationDto() # CreateLqaConversationDto | (optional)
try:
# Create LQA conversation
api_response = api_instance.create_lqa_conversation1(job_uid, body=body)
print("The response of ConversationsApi->create_lqa_conversation1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->create_lqa_conversation1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
body | CreateLqaConversationDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlainConversationDto create_segment_target_conversation1(job_uid, body=body)
Create plain conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.create_plain_conversation_dto import CreatePlainConversationDto
from phrasetms_client.models.plain_conversation_dto import PlainConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
body = phrasetms_client.CreatePlainConversationDto() # CreatePlainConversationDto | (optional)
try:
# Create plain conversation
api_response = api_instance.create_segment_target_conversation1(job_uid, body=body)
print("The response of ConversationsApi->create_segment_target_conversation1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->create_segment_target_conversation1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
body | CreatePlainConversationDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_lqa_comment(job_uid, conversation_id, comment_id)
Delete LQA comment
import time
import os
import phrasetms_client
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
comment_id = 'comment_id_example' # str |
try:
# Delete LQA comment
api_instance.delete_lqa_comment(job_uid, conversation_id, comment_id)
except Exception as e:
print("Exception when calling ConversationsApi->delete_lqa_comment: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
comment_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_lqa_conversation(job_uid, conversation_id)
Delete LQA conversation
import time
import os
import phrasetms_client
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
try:
# Delete LQA conversation
api_instance.delete_lqa_conversation(job_uid, conversation_id)
except Exception as e:
print("Exception when calling ConversationsApi->delete_lqa_conversation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_plain_comment(job_uid, conversation_id, comment_id)
Delete plain comment
import time
import os
import phrasetms_client
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
comment_id = 'comment_id_example' # str |
try:
# Delete plain comment
api_instance.delete_plain_comment(job_uid, conversation_id, comment_id)
except Exception as e:
print("Exception when calling ConversationsApi->delete_plain_comment: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
comment_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_plain_conversation(job_uid, conversation_id)
Delete plain conversation
import time
import os
import phrasetms_client
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
try:
# Delete plain conversation
api_instance.delete_plain_conversation(job_uid, conversation_id)
except Exception as e:
print("Exception when calling ConversationsApi->delete_plain_conversation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConversationListDto find_conversations(body=body)
Find all conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.conversation_list_dto import ConversationListDto
from phrasetms_client.models.find_conversations_dto import FindConversationsDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
body = phrasetms_client.FindConversationsDto() # FindConversationsDto | (optional)
try:
# Find all conversation
api_response = api_instance.find_conversations(body=body)
print("The response of ConversationsApi->find_conversations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->find_conversations: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | FindConversationsDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LQAConversationDto get_lqa_conversation(job_uid, conversation_id)
Get LQA conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.lqa_conversation_dto import LQAConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
try:
# Get LQA conversation
api_response = api_instance.get_lqa_conversation(job_uid, conversation_id)
print("The response of ConversationsApi->get_lqa_conversation:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->get_lqa_conversation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlainConversationDto get_plain_conversation(job_uid, conversation_id)
Get plain conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.plain_conversation_dto import PlainConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
try:
# Get plain conversation
api_response = api_instance.get_plain_conversation(job_uid, conversation_id)
print("The response of ConversationsApi->get_plain_conversation:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->get_plain_conversation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConversationListDto list_all_conversations(job_uid, include_deleted=include_deleted, since=since)
List all conversations
import time
import os
import phrasetms_client
from phrasetms_client.models.conversation_list_dto import ConversationListDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
include_deleted = False # bool | (optional) (default to False)
since = 'since_example' # str | (optional)
try:
# List all conversations
api_response = api_instance.list_all_conversations(job_uid, include_deleted=include_deleted, since=since)
print("The response of ConversationsApi->list_all_conversations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->list_all_conversations: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
include_deleted | bool | [optional] [default to False] | |
since | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LQAConversationsListDto list_lqa_conversations(job_uid, include_deleted=include_deleted, since=since)
List LQA conversations
import time
import os
import phrasetms_client
from phrasetms_client.models.lqa_conversations_list_dto import LQAConversationsListDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
include_deleted = False # bool | (optional) (default to False)
since = 'since_example' # str | (optional)
try:
# List LQA conversations
api_response = api_instance.list_lqa_conversations(job_uid, include_deleted=include_deleted, since=since)
print("The response of ConversationsApi->list_lqa_conversations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->list_lqa_conversations: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
include_deleted | bool | [optional] [default to False] | |
since | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlainConversationsListDto list_plain_conversations(job_uid, include_deleted=include_deleted, since=since)
List plain conversations
import time
import os
import phrasetms_client
from phrasetms_client.models.plain_conversations_list_dto import PlainConversationsListDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
include_deleted = False # bool | (optional) (default to False)
since = 'since_example' # str | (optional)
try:
# List plain conversations
api_response = api_instance.list_plain_conversations(job_uid, include_deleted=include_deleted, since=since)
print("The response of ConversationsApi->list_plain_conversations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->list_plain_conversations: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
include_deleted | bool | [optional] [default to False] | |
since | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LQAConversationDto update_lqa_comment1(job_uid, conversation_id, comment_id, body=body)
Edit LQA comment
import time
import os
import phrasetms_client
from phrasetms_client.models.add_comment_dto import AddCommentDto
from phrasetms_client.models.lqa_conversation_dto import LQAConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
comment_id = 'comment_id_example' # str |
body = phrasetms_client.AddCommentDto() # AddCommentDto | (optional)
try:
# Edit LQA comment
api_response = api_instance.update_lqa_comment1(job_uid, conversation_id, comment_id, body=body)
print("The response of ConversationsApi->update_lqa_comment1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->update_lqa_comment1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
comment_id | str | ||
body | AddCommentDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
202 | Updated | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LQAConversationDto update_lqa_conversation1(job_uid, conversation_id, body=body)
Update LQA conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.edit_lqa_conversation_dto import EditLqaConversationDto
from phrasetms_client.models.lqa_conversation_dto import LQAConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
body = phrasetms_client.EditLqaConversationDto() # EditLqaConversationDto | (optional)
try:
# Update LQA conversation
api_response = api_instance.update_lqa_conversation1(job_uid, conversation_id, body=body)
print("The response of ConversationsApi->update_lqa_conversation1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->update_lqa_conversation1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
body | EditLqaConversationDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
202 | Updated | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlainConversationDto update_plain_comment1(job_uid, conversation_id, comment_id, body=body)
Edit plain comment
import time
import os
import phrasetms_client
from phrasetms_client.models.add_comment_dto import AddCommentDto
from phrasetms_client.models.plain_conversation_dto import PlainConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
comment_id = 'comment_id_example' # str |
body = phrasetms_client.AddCommentDto() # AddCommentDto | (optional)
try:
# Edit plain comment
api_response = api_instance.update_plain_comment1(job_uid, conversation_id, comment_id, body=body)
print("The response of ConversationsApi->update_plain_comment1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->update_plain_comment1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
comment_id | str | ||
body | AddCommentDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
202 | Updated | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlainConversationDto update_plain_conversation(job_uid, conversation_id, body=body)
Edit plain conversation
import time
import os
import phrasetms_client
from phrasetms_client.models.edit_plain_conversation_dto import EditPlainConversationDto
from phrasetms_client.models.plain_conversation_dto import PlainConversationDto
from phrasetms_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
host = "https://cloud.memsource.com/web"
)
# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrasetms_client.ConversationsApi(api_client)
job_uid = 'job_uid_example' # str |
conversation_id = 'conversation_id_example' # str |
body = phrasetms_client.EditPlainConversationDto() # EditPlainConversationDto | (optional)
try:
# Edit plain conversation
api_response = api_instance.update_plain_conversation(job_uid, conversation_id, body=body)
print("The response of ConversationsApi->update_plain_conversation:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConversationsApi->update_plain_conversation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
job_uid | str | ||
conversation_id | str | ||
body | EditPlainConversationDto | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | - |
400 | Bad request | - |
401 | Not authorized | - |
403 | Forbidden | - |
404 | Resource not found | - |
405 | Method not allowed | - |
408 | Timeout | - |
410 | Gone | - |
415 | Unsupported media type | - |
429 | Too many requests | - |
500 | Internal server error | - |
501 | Not implemented | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]