DisconnectedSystemResource

The Attribute resource provides flexibility to add/delete attributes to a given type

Data Model Objects

  • WTUser

The following resources are applicable:

PUT /disconnectedSystem/changePassword

Change password for logged in user on disconnected system

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) scitem containing new password to change. Any other attributes will be ignored

Response Codes

code condition
204 Returned if password was successfully changed.
403 Returned when system type is not disconnected
406 Returned when new supplied password doesn't pass validation

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

GET /disconnectedSystem/checkCurrentUserPasswordChanged

Check if it is first time login into disconnected system for current user.

Response Codes

code condition
403 Returned when system type is not disconnected

Response Body

media type data type
application/vnd.ptc.sc+json object (JSON)

POST /disconnectedSystem/checkUserPasswordChanged

Check if it is first time login into disconnected system for current user.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) SCItem containing user ID

Response Codes

code condition
403 Returned when system type is not disconnected

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

PUT /disconnectedSystem/setCurrentUserPasswordChanged

Set information about current user password changed.

Response Body

media type data type
application/vnd.ptc.sc+json object (JSON)

PUT /disconnectedSystem/setUserPasswordChanged

Set information about user password changed.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) scitem containing user id. Any other attributes will be ignored

Response Codes

code condition
400 if there is no userID inside SCItem

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

GET /disconnectedSystem/isAdmin

Check if current user is administrator.

Response Codes

code condition
403 Returned when system type is not disconnected

Response Body

media type data type
application/vnd.ptc.sc+json object (JSON)

GET /disconnectedSystem/hasSharedSegment

Check if there is loaded Shared segment into system

Response Body

media type data type
application/vnd.ptc.sc+json object (JSON)

POST /disconnectedSystem/license

Creates License Configuration for a non-service group user.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) SCItem containing relevant information that is required to created License Configuration.

Response Codes

code condition
200 Returned if license configuration is successfully created for a non-service group user.
500 Returned if anything goes wrong while creating license configuration

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

GET /disconnectedSystem/{userId}/license

Get license configuration details of a given non-service group user.

Request Parameters

name type description default
userId path Non-service group user id. n/a

Response Codes

code condition
200 Returned if license configuration details of a given non-service group user are fetched successfully.
500 Returned if license configuration details of a given non-service group user are not fetched successfully.

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

DELETE /disconnectedSystem/{userId}/license

Deleted license configuration details associated with a given non-service group user.

Request Parameters

name type description default
userId path Non-service group id. n/a

Response Codes

code condition
200 Returned if license configuration details associated with a given non-service is deleted successfully.
500 Returned if license configuration details associated with a given non-service is not deleted successfully.

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

PUT /disconnectedSystem/{disconnectedId}/license

Updates License configuration details associated with a non-service group user.

Request Parameters

name type description default
disconnectedId path n/a

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) SCitem containing updated license configuration details.

Response Codes

code condition
200 Returned if License configuration details associated with a non-service group are updated successfully.
500 Returned if License configuration details associated with a non-service group are not updated successfully.

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

PUT /disconnectedSystem/{userId}/license/revoke

Revokes non-service group user license.

Request Parameters

name type description default
userId path Non-service group user id. n/a

Response Codes

code condition
200 Returned if non-service group user license is revoked successfully.
500 Returned if non-service group user license revoke fails.

Response Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

PUT /disconnectedSystem/authenticateUser

Request Body

media type data type
application/vnd.ptc.sc+json SCItem (JSON)

Response Body

media type data type
application/vnd.ptc.sc+json object (JSON)