• Document Up to Date

Create Ticket

Creates a new ticket for the specified profile.

Note

This method should only be used when actual authentication is done through other means (like when authenticating through Facebook or Twitter) different than profile.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /crafter-profile, please prefix the API URLs with this context.

HTTP Verb
POST
URL
/api/1/authentication/ticket/create
Response Formats
JSON

Parameters

Name
Type
Required
Description
accessTokenId

String


The access token ID of the application
making the call
profileId
String
The ID of the profile

Example

Request

POST .../api/1/authentication/ticket/2e911e0b-ac47-423e-9174-4e8896f1b387
accessTokenId=e8f5170c-877b-416f-b70f-4b09772f8e2d

Response

Status 200 OK

{
  "tenant": "default",
  "profileId": "5925a68def86951f895cf497",
  "lastRequestTime": 1495660441508,
  "id": "7f036af3-1ab9-4791-b615-ecaece3f0010"
}

Responses

Status
Location
Response Body

200

See example above.

403

{ "errorCode": "NO_SUCH_ACCESS_TOKEN_ID",
"message": "No access token found for ID
\"e8f5170c-877b-416f-b70f-4b09772f8e2d\"" }

500

{ "message" : "Internal server error" }