Register external Id - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/client/extid
External Identity
externalId
in ConnectID. In addition, a check will be performed to see if the external id is connected to a customer in Connect. First time this API is called for an external id, a user handle will be created in ConnectID and the data stored on the external id will be returned. customerNumber
is only returned if was set previously on this externalId
. The API returns basic information associated for the external id.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mediaconnect.no/capi/v1/client/extid' \
--header 'Content-Type: application/json' \
--data-raw '{
"externalId": "59cb6372-d3db-11e5-ab30-625662870761",
"credentialType": "D"
}'
Response Response Example
200 - Success
{
"credential": "AID:59cb6372-d3db-11e5-ab30-625662870761",
"externalId": "59cb6372-d3db-11e5-ab30-625662870761",
"credentialType": "D",
"canLogin": true,
"customerNumber": 327492,
"uniqueId": "681b86aac2cf44ecb13eeb48cb3a7b7d",
"enabled": true,
"newUser": false,
"extidCode": "eyJhbGciOiJIUzUxMiJ9.....eyJjdCI6IkRfQ"
}
Request
Body Params application/json