TypeAttributeResource

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

Data Model Objects

  • WTUser

The following resources are applicable:

POST /typeattribute

Adds a given attribute to a given Type.

Request Body

media type data type description
application/vnd.ptc.sc+json SCItem (JSON) a SCItem representing the attribute

Response Body

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

DELETE /typeattribute/{type}/{attributeName}

Remove a given attribute from a given Type

Request Parameters

name type description default
attributeName path string representing attribute name n/a
type path string representing type n/a

Response Body

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

GET /typeattribute

Retrieves Attribute type list

Available Since
10.2

Response Codes

code condition
500 Returned if request was NOT successfully executed.

Response Body

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

GET /typeattribute/{attributeTypeID}

Retrieves a specific Attributes by the given attribute type id.

Available Since
10.2

Request Parameters

name type description default
attributeTypeID path the ID of the attribute type to retrieve n/a

Response Codes

code condition
500 Returned if request was NOT successfully executed.

Response Body

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