Yunique.Toolkit.API

<back to all web services

L10nImport

The following routes are available for this service:
PUT/v1/L10n/{L10nType}/Import

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/L10nImport HTTP/1.1 
Host: plm.gerber.fila.com 
Content-Type: application/xml
Content-Length: length

<L10nImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <AddNewRecordsOnly>0</AddNewRecordsOnly>
  <L10nInfo>String</L10nInfo>
  <L10nType>String</L10nType>
  <ReplaceExistingTranslations>0</ReplaceExistingTranslations>
</L10nImport>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<L10nImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <AffectedRows>0</AffectedRows>
  <status>String</status>
</L10nImportResponse>