Insert code list group
post
/ec-codelist-svc/rest/v1.0/codelist/groups
Inserts a new codelist group.
Request
There are no request parameters for this operation.
Supported Media Types
- */*
Root Schema : CodeListGroupRequest
Type:
objectTitle:
CodeListGroupRequestRepresentation of CodeList Group
Show Source
-
codeGroupName: string
Name of the CodeList GroupExample:
ABC Pharma
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : CodeListGroupDto
Type:
objectTitle:
CodeListGroupDtoRepresentation of CodeList Group
Show Source
-
codeGroupId: string
(uuid)
Group GUID
-
codeGroupName: string
Name of the CodeList GroupExample:
ABC Pharma
400 Response
Bad Request: invalid parameters or request body
Root Schema : CodeListResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
object500 Response
Server error
Root Schema : CodeListResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
object