Connects an entity/account to a track
Endpoint ID: | 1007 | |||||||
Method: | POST | |||||||
URL: | /entity/id/{entity-id}/tracks/{track-id} /entity/ext-key/{ext-key}/{ext-type}/tracks/{track-id} | |||||||
entity-id | Rubiq entity ID that uniquely identifies an account to connect with specified track | |||||||
ext-key | External key that uniquely identifies an account to connect with specified track | |||||||
ext-type | Type of external key | |||||||
track-id | ID of track to connect account with | |||||||
Request body: | None | |||||||
Response body: | JSON data with information about the newly created connection Example – Account with dialogportal™ master key 12345 was just successfully connected to track with 397: { "id": 12345, "trackID": 397, "name": "Name of track", "type": "…", "connected": true } | |||||||
Status codes: | 201 | Connection created successfully | ||||||
303 | Account is already connected to the specified track | |||||||
404 | Account was not found or track was not found. The following sub codes may be returned:
|