v2.0

post

/ec-library-svc/rest/v2.0/libraryObjects

Adds a library object.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : LibraryDtoV1.0
Type: object
Title: LibraryDtoV1.0
Information about a library object.
Show Source
  • Title: Description
    Description of the library object.
    Example: Advanced demography form
  • Title: Library ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) of the library object.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Library version
    Version identifier of the library.
    Example: 1.0
  • Title: Object group
    Object group or title.
    Example: Demography
  • Title: Object ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) of the underlying object (for example, forms or rules).
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Object type
    Type of the underlying object.
    Example: FORM
  • Title: Status
    Status of the resource.
    Example: DRAFT
  • Title: Study ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Study version
    String representing the version of the study configuration or protocol. Helps track changes in form or study design.
    Example: 1.0.0.1
  • Title: Tags
    Comma-separated tags associated with the library object.
    Example: LIB
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : LibraryDtoV1.0
Type: object
Title: LibraryDtoV1.0
Information about a library object.
Show Source
  • Title: Description
    Description of the library object.
    Example: Advanced demography form
  • Title: Library ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) of the library object.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Library version
    Version identifier of the library.
    Example: 1.0
  • Title: Object group
    Object group or title.
    Example: Demography
  • Title: Object ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) of the underlying object (for example, forms or rules).
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Object type
    Type of the underlying object.
    Example: FORM
  • Title: Status
    Status of the resource.
    Example: DRAFT
  • Title: Study ID
    Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Title: Study version
    String representing the version of the study configuration or protocol. Helps track changes in form or study design.
    Example: 1.0.0.1
  • Title: Tags
    Comma-separated tags associated with the library object.
    Example: LIB
Examples

500 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top