Add library object
post
/ec-library-svc/rest/v2.0/libraryObjects
Adds a library object.
Request
There are no request parameters for this operation.
Supported Media Types
- */*
Root Schema : LibraryDto v1.0
Type:
object
Title:
LibraryDto v1.0
Information about library
Show Source
-
description: string
Library descriptionExample:
Advanced demography form
-
libraryId: string
(uuid)
Library ID
-
libraryVersion: string
Library versionExample:
v1.0
-
objectGroup: string
Object group (title)Example:
Demography
-
objectId: string
(uuid)
Object (forms, rules...) ID
-
objectType: string
Object typeExample:
FORM
-
status: string
Library statusExample:
DRAFT
-
studyId: string
(uuid)
Library study id
-
studyVersion: string
Library study versionExample:
1.0.0.1
-
tags: string
Library tagsExample:
LIB
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : LibraryDto v1.0
Type:
object
Title:
LibraryDto v1.0
Information about library
Show Source
-
description: string
Library descriptionExample:
Advanced demography form
-
libraryId: string
(uuid)
Library ID
-
libraryVersion: string
Library versionExample:
v1.0
-
objectGroup: string
Object group (title)Example:
Demography
-
objectId: string
(uuid)
Object (forms, rules...) ID
-
objectType: string
Object typeExample:
FORM
-
status: string
Library statusExample:
DRAFT
-
studyId: string
(uuid)
Library study id
-
studyVersion: string
Library study versionExample:
1.0.0.1
-
tags: string
Library tagsExample:
LIB
500 Response
Error
Root Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.