Method UpdateLanguageCode
UpdateLanguageCode(String, LanguageCodeContract)
Update a language code
Declaration
void UpdateLanguageCode(string connectionId, LanguageCodeContract languageCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
LanguageCodeContract | languageCode | LanguageCode to update |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateLanguageCode
Example for update a language code.{
"connectionId":"eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"languageCode": {
"Culture":"fr",
"Description":"French",
"Id":"ccf699a3-e8e0-e911-a94b-00155d290a08" }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Language code not found {0} (10031) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |