To establish a connection and obtain a token. The token is a mandatory query parameter for all subsequent service calls…
Child pages (Children Display) |
---|
URL
(GET) api/connect?account={account}&pwd={pwd}&json={json}
PARAMETERS
accountidaccount | The Wordbee Translator Account ID | Required |
passwordpwd | The API password you had defined in the Wordbee Translator administration pages | Required |
formatjsonjson | true: all messages are JSON formatted. false: all messages are XML formatted | Optional, default: true |
RESULT
If the connection fails, an HTTP error code is returned.
In case of success, the method returns a "token id" to be passed to all subsequent API calls.
Example:
Code Block | ||
---|---|---|
| ||
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string> |