The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties.
Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
23-Jun-2020
REST API OCST - Create an access token
Document Properties
Kbid
2A5883
Added to KB
22-Jul-2014
Status
online
Product
  • Intershop 7.5
  • Omni-Channel Services Toolset
  • ICM 7.8
Last Modified
23-Jun-2020
Public Access
everyone
Doc Type
References
Product
  • ICM 7.6
  • ICM 7.7
Document Link
https://knowledge.intershop.com/kb/2A5883

URI

/customers/<customer-id>/tokens

Http Method

POST

Short Description

Create a new authentication token to access, e.g., the WebShop REST API as another user.

Query Parameters

none

Example Requests

/ContactCenter/-/customers/0BkKDgAN9pYAAAFFK9Qj6MxN/tokens

HTTP Status Codes

201 Created

401 If the user is not authenticated

Description

Create a new authentication token to access, e.g., the WebShop REST API as the user identified by <customer-id>.

Cartridge

app_sf_contactcenter_rest
Application

ContactCenter

Product Version

7.5.1

Product To Version

Status

New Labels

JSON

Request data format

n/a

Request related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

com.intershop.application.contactcenter.capi.rest.resourceobject.TokenRO

Response data example

{
    "type": "Token",
    "token": "demo@PLAIN:fMowskQet+8=|UmtZS0RnQU45cFFBQUFGRks5UWo2TXhOQDE0MDA1MDQyOTE5MjE=",
    "user": "Cyrillus Mayer"
}

XML

Request data format

n/a

Request related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

com.intershop.application.contactcenter.capi.rest.resourceobject.TokenRO

Response data example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Token type="Token">
  <token>demo@PLAIN:kcM6Uh9BSmo=|UmtZS0RnQU45cFFBQUFGRks5UWo2TXhOQDE0MDA1MDk2MjY3OTQ=</token>
  <user>Cyrillus Mayer</user>
</Token>
Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Website, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Home
Knowledge Base
User Manuals
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.