TokenAuthenticatedDealershipResource

The dealership resource provides access to retrieve dealerships in InService.

The following resources are applicable:

GET /token_auth/dealership/{dealerId}/config

Streams Attachment content to the client.

Request Parameters

name type description default
dealerId path The id of the SCDealership object to retrieve. n/a

Response Codes

code condition
404 When SCDealership object is not found.

Response Body

media type data type
application/json object (JSON)
application/xml anyType (XML)

PUT /token_auth/dealership/export

Creates an activation record for a dealer. If creation is successful then constructs a configuration jar for the dealer.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) SCItem containing the installationKey and installationType.

Response Codes

code condition
404 When SCDealership object is not found or user is not authorized to access it.
400 If the request does not contain the required parameters.
500 If the execution was not successful.

Response Body

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

PUT /token_auth/dealership/validSG

Rest end point to provide list if service groups available for activation user to choose at the time of activation.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) SCItem containing offline system information like installation key and offline installation type.

Response Body

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