ExternalAccountEndpoint
The following resources are applicable:
- /external/account/connect
- /external/account/create
- /external/account/delete
- /external/account/disconnect
- /external/account/get/token
- /external/account/initiate
- /external/account/login
- /external/account/validate
/external/account/connect
Mount Point: /rest/external/account/connect
POST
Connects an external account (google, ...) to an mysms user.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1102 | The external account is unavailable |
Request Body
element: | externalAccountConnectRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountConnectResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/create
Mount Point: /rest/external/account/create
POST
Creates an account and connects the external account (google, ...) to it.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1102 | The external account is unavailable |
1103 | The external account is already connected to an user. |
Request Body
element: | externalAccountCreateRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountCreateResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/delete
Mount Point: /rest/external/account/delete
POST
Deletes an external account (google, ...) from an mysms user.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1102 | The external account is unavailable |
Request Body
element: | externalAccountDeleteRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountDeleteResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/disconnect
Mount Point: /rest/external/account/disconnect
POST
Disconnects an external account (google, ...) from an mysms user.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1102 | The external account is unavailable |
Request Body
element: | externalAccountDisconnectRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountDisconnectResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/get/token
Mount Point: /rest/external/account/get/token
POST
Get a new access token from an refresh token.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1101 | The external account is not connected to an user. |
1102 | The external account is unavailable |
Request Body
element: | externalAccountGetTokenRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountGetTokenResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/initiate
Mount Point: /rest/external/account/initiate
POST
Initiates an external OAuth 1.0 flow (google, ...)
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1102 | The external account is unavailable |
Request Body
element: | externalAccountInitiateRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountInitiateResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/login
Mount Point: /rest/external/account/login
POST
Authenticates an user by a connected service and returns the auth token which have to be used on any following api call to a method which needs authentication.
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
109 | The login is blocked for a specific time, because some wrong logins were made |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1101 | The external account is not connected to an user |
1102 | The external account is unavailable |
Request Body
element: | externalAccountLoginRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountLoginResponse |
media types: | */* application/xml application/json |
(no documentation provided)
/external/account/validate
Mount Point: /rest/external/account/validate
POST
Validates an OAuth token after the authorization page was passed. Returns an validated OAuth token that can be used to login, connect & disconnect
Error Codes
2 | A required parameter is invalid |
97 | The access to the api was denied |
98 | You made too much requests in a short time |
99 | The service is currently not available |
600 | The api key is invalid |
1100 | The external account is not valid (oauth token wrong) |
1102 | The external account is unavailable |
Request Body
element: | externalAccountValidateRequest |
media types: | */* application/xml application/json |
(no documentation provided)
Response Body
element: | externalAccountValidateResponse |
media types: | */* application/xml application/json |
(no documentation provided)