Course Translations API (Get)
Course translations API
Get Course translations: Provides the list of translations of course via Litmos Commerce API.
Note: All requests must be Authenticated.
Authentication and Authorization
Information used for API authentication and authorization is submitted in the request header. The following header name/values are required with each request.
Header | Description |
CompanyLoginId | Company Login Id (provisioned by ViewCentral account management) |
ProductId | Product Id. 1=Learning Management, 2=Event Management |
Username | User account username |
Password | User account password |
Request URI :
GET https://api.viewcentral.com/api/courses/{ID}/translations
Where {Id} is course id.
Response Codes:
HTTP Status | Description |
200 | Operation successful. Course Translations object returned in response |
400 | Operation not successful. Response contains error information |
404 | Operation not successful. Course Translations object not found |
Response Example:
{ "Success": true, "Error": null, "Data": [ { "LanguageCode": "String [max length 5]", "LanguageDisplayName": "String [max length 50]", "Name": "String [max length 50]", "ProductId": "String [max length 50]", "Description": "String", "SummaryDescription": "String", "RosterDescription": "String [max length 255]", "CustomDetail1": "String [max length 2048]", "CustomDetail2": "String [max length 2048]", "CustomDetail3": "String [max length 2048]", "CustomDetail4": "String [max length 2048]", "CustomDetail5": "String [max length 2048]", "CustomDetail6": "String [max length 2048]", "Prerequisite": "String", "Modified": { "CreatedBy": "string [max length 50]", "CreatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]", "UpdatedBy": "string [max length 50]", "UpdatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]" }, "Links": [ { "Rel": "Course", "Href": "/courses/{id}", "Method": "GET" } ] } ] }