PUT Update Translation Table API

The Update Translation Table API used to edit or import translation table.

Method URI

PUT

cdwebconsole/svc/translationtable

The following example shows the Command:
curl -X 'PUT' \
            'https://172.20.183.89:9443/cdwebconsole/svc/translationtable' \
            -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjAzOjEzNjM6ODAzN2FmMmEtMGQyMS00YTAyLTk5NDktYjU2OGNhYzRiZTcxIiwiZXhwIjoxNzE1MTYyNDExfQ.utrJte36lBRD19GBcaxpEPF8tZVFtFLHnbbZEOgJScp3Kd0ib6lF2jbdodfFBSQjtX1Yd1Kxkxp2MTekRbeltA' \
            -H 'Content-Type: application/json' \
            -H 'X-XSRF-TOKEN: f4685d27-cf73-44c6-a314-a16de63a2ab7' \
            -d '{"translationTableName":"TT1","translationTableData":"000102039C09867F978D8E0B0C0D0E0F101112139D8508871819928F1C1D1E1F80818283840A171B88898A8B8C050607909116939495960498999A9B14159E1A20A0E2E4E0E1E3E5E7F1A22E3C282B7C26E9EAEBE8EDEEEFECDF21242A293BAC2D2FC2C4C0C1C3C5C7D1A62C255F3E3FF8C9CACBC8CDCECFCC603A2340273D22D8616263646566676869ABBBF0FDFEB1B06A6B6C6D6E6F707172AABAE6B8C6A4B57E737475767778797AA1BFD0DDDEAE5EA3A5B7A9A7B6BCBDBE5B5DAFA8B4D77B414243444546474849ADF4F6F2F3F57D4A4B4C4D4E4F505152B9FBFCF9FAFF5CF7535455565758595AB2D4D6D2D3D530313233343536373839B3DBDCD9DA9F"}'
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values
translationTableName Required Specifies the name of the translation table to be changed  
translationTableData Required Specifies the complete translation table data  
The following example shows the HTTP User Request:
{
 "translationTableName": "TT1",
 "translationTableData": "000102039C09867F978D8E0B0C0D0E0F101112139D8508871819928F1C1D1E1F80818283840A171B88898A8B8C050607909116939495960498999A9B14159E1A20A0E2E4E0E1E3E5E7F1A22E3C282B7C26E9EAEBE8EDEEEFECDF21242A293BAC2D2FC2C4C0C1C3C5C7D1A62C255F3E3FF8C9CACBC8CDCECFCC603A2340273D22D8616263646566676869ABBBF0FDFEB1B06A6B6C6D6E6F707172AABAE6B8C6A4B57E737475767778797AA1BFD0DDDEAE5EA3A5B7A9A7B6BCBDBE5B5DAFA8B4D77B414243444546474849ADF4F6F2F3F57D4A4B4C4D4E4F505152B9FBFCF9FAFF5CF7535455565758595AB2D4D6D2D3D530313233343536373839B3DBDCD9DA9F"
}
The following example shows the Sample Response:
[
  {
    "messageCode": 200,
    "message": "The Translation Table has been successfully updated"
  }
]