Retrieve an Authentication Token
Returns an authentication token in order to use as a token parameter in API calls
Returns an authentication token in order to use as a token parameter in API calls
Elements
|
apiLoginId
required |
The apiLoginId from the Rest API connector settings |
|
apiPassword
required |
The apiPassword from the Rest API connector settings |
Return
Returns an authentication token if valid arguments were provided. Returns an error if not a valid request
Returns an authentication token if valid arguments were provided. Returns an error if not a valid request
Authentication Request Body XSD
Authentication Response Body XSD
Curl Example
| Method: | POST |
| Request: | curl -k --request POST --url https://www.mobiwork.com/api/rest/12014/10.0.78/authenticate.html --header 'content-type: application/xml' --data '<request><apiLoginId>2XOOS1BCPPOSKVTX</apiLoginId><apiPassword>J3MNFXCPZ7YSLAWQ</apiPassword></request>' |
| Response: | <?xml encoding="UTF-8" ?><response version="10.0.78" statusCode="1"><token>YUUIUUFJ9K6IKKM1E2N5</token></response> |