POST Utils/Localize

Request Information

URI Parameters

None.

Body Parameters

FindTranslationCriteria
NameDescriptionTypeAdditional information
Language

string

None.

Keys

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "language": "sample string 1",
  "keys": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<FindTranslationCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Api.Areas.Utils.Controllers">
  <Keys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Keys>
  <Language>sample string 1</Language>
</FindTranslationCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�{�{�RNb^zibz���RqbnAN�BqIQf^�����Rvje��U4T#��ZB�	N

Response Information

Resource Description

Collection of Translation
NameDescriptionTypeAdditional information
Key

string

None.

Value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "value": "sample string 2"
  },
  {
    "key": "sample string 1",
    "value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTranslation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Api.Areas.Utils.Controllers">
  <Translation>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </Translation>
  <Translation>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </Translation>
</ArrayOfTranslation>

application/x-compressed-json

Sample:
�{�{t�Rvj���RqbnAN�BqIQf^�����RYbNi*���R�zb%l