Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add a new CoExtendedType.

(warning) When the first Extended Type for an attribute is added, the default types for that attribute are automatically defined.

Request Format

Method

POST

URL

/co_extended_types.<format>

Request Body

CoExtendedType Request

...

HTTP Status

Response Body

Description

201 Added

NewObjectResponse with ObjectType of CoExtendedType

CoExtendedType added

400 Bad Request

 

CoExtendedType Request not provided in POST body

400 Invalid Fields

ErrorResponse with details in InvalidFields element

An error in one or more provided fields

401 Unauthorized

 

Authentication required

403 CO Does Not Exist

 

The specified CO does not exist

403 Name In Use

 

An extended type for the specified attribute already exists with the specified name in the specified CO

500 Default Copy Error

 

Set up of default attribute types failed.

500 Other Error

 

Unknown error

...

HTTP Status

Response Body

Description

200 Deleted

 

CoExtendedType deleted

400 Invalid Fields

 

id not provided

401 Unauthorized

 

Authentication required

403 Type In Use

 

The type is in use and cannot be deleted (unless all references to the type are changed)

404 Identifier Unknown

 

id not found

500 Database Error

 

The underlying RDBMS was unable to perform a supporting operation.

500 Other Error

 

Unknown error

...