Attribute Types

Quick Navigation

GET AttributeTypes

Returns a list of Attribute Types.

Attribute Management (Read)

None

Content-Type: application/json

[
    {
        AttributeTypeID : int,
        Name : string,
        IsReadOnly: bool
    },
    …
]

200 – Request successful. Attribute Types in the response body.

For more information, please see Common Response Codes.

GET AttributeTypes/{id}

Returns an Attribute Type by ID.

Attribute Management (Read)

id: ID of the Attribute Type.

None

Content-type: application/json

{
    AttributeTypeID : int,
    Name : string,
    IsReadOnly: bool
}

200 – Request successful. Attribute Type in the response body.

For more information, please see Common Response Codes.

POST AttributeTypes

Creates a new Attribute Type.

Attribute Management (Read/Write)

Content-Type: application/json

{
    Name : string
}

Max string length for Name is 64.

Content-type: application/json

{
    AttributeTypeID : int,
    Name : string,
    IsReadOnly: bool
}

201 – Request successful. Attribute Type in the response body.

For more information, please see Common Response Codes.

DELETE AttributeTypes/{id}

Deletes an Attribute Type and all related Attributes by ID.

Attribute Management (Read/Write)

id: ID of the Attribute Type.

None

None

200 – Request successful.

For more information, please see Common Response Codes.