createApplicationID
post
/ccadmin/v1/applicationIds
Create Application ID. Creates an Application ID of specified type
Request
Supported Media Types
- application/json
Body Parameter
Root Schema : createApplicationID_request
POST /ccadmin/v1/applicationIds
- name
-
Type:
stringRequired:trueThe name for the new Application ID. - type
-
Type:
stringRequired:trueThe Application ID type: application or extension.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : createApplicationID_response
- createdBy
-
Type:
objectcreatedByAdditional Properties Allowed:information about the user who created the application. - creationTime
-
Type:
stringtime application was creating in ISO 8601 format. - inUse
-
Type:
booleantrue if the application ID is currently being used. - name
-
Type:
stringthe name of the application. - repositoryId
-
Type:
stringthe id of the application ID item. - token
-
Type:
stringThe auth token for the application, if of type application. - type
-
Type:
stringthe type of application; can be application or extension.
Nested Schema : createdBy
Type:
objectinformation about the user who created the application.
- firstName
-
Type:
stringfirst name of the user. - lastName
-
Type:
stringlast name of user. - repositoryId
-
Type:
stringthe repository id of the user
Example application/json
{
"creationTime":"2014-05-08 17:17:02.399",
"createdBy":{
"lastName":"Admin",
"firstName":"Amber",
"repositoryId":"admin",
"id":"admin"
},
"inUse":false,
"name":"another application name",
"repositoryId":"12c26908-6545-4947-a46c-9917236583c5",
"id":"12c26908-6545-4947-a46c-9917236583c5",
"type":"application",
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MDk4NTY1OTEsInN1YiI6ImFkbWluIiwiaXNzIjoiYWRtaW4iLCJpYXQiOjE0MDk3NzAxOTF9.T0kaE8Ib35R2XZzp0xk4FRP/266KD1cieZFpPijtniw="
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
POST /ccadmin/v1/applicationIds
Sample Response Payload returned by endpoint:
{
"creationTime": "2014-05-08 17:17:02.399",
"createdBy": {
"lastName": "Admin",
"firstName": "Amber",
"repositoryId": "admin",
"id": "admin"
},
"inUse": false,
"name": "another application name",
"repositoryId": "12c26908-6545-4947-a46c-9917236583c5",
"id": "12c26908-6545-4947-a46c-9917236583c5",
"type": "application",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MDk4NTY1OTEsInN1YiI6ImFkbWluIiwiaXNzIjoiYWRtaW4iLCJpYXQiOjE0MDk3NzAxOTF9.T0kaE8Ib35R2XZzp0xk4FRP/266KD1cieZFpPijtniw="
}