Assign a Custom Log Type Object to Workspaces, Programs and Projects
post
/api/restapi/customLogTypeObject/assign
Send a request to this end point to assign a custom log type object created in a workspace to the other workspaces in the hierarchy, projects and programs under the created workspace.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityCustomLogTypeObjectAssignRequestInput
Type:
object
Title:
Show Source
ApiEntityCustomLogTypeObjectAssignRequestInput
-
customLogTypeObject(required):
customLogTypeObject
This field represents the custom log type object record that needs to assigned to a different workspaces, programs and projects. It contains the fields to uniquely identify a custom log type object record.
-
programs: array
programs
This field represents the list of program records that the custom log type object needs to be assigned.
-
projects: array
projects
This field represents the list of project records that the custom log type object needs to be assigned.
-
workspaces: array
workspaces
This field represents the list of workspace records that the custom log type object needs to be assigned.
Nested Schema : customLogTypeObject
This field represents the custom log type object record that needs to assigned to a different workspaces, programs and projects. It contains the fields to uniquely identify a custom log type object record.
Match All
Show Source
-
object
CustomLogTypeObjectIdentifier
Title:
CustomLogTypeObjectIdentifier
Nested Schema : programs
Type:
array
This field represents the list of program records that the custom log type object needs to be assigned.
Show Source
-
Array of:
object ProgramIdentifier
Title:
ProgramIdentifier
Nested Schema : projects
Type:
array
This field represents the list of project records that the custom log type object needs to be assigned.
Show Source
-
Array of:
object ProjectIdentifier
Title:
ProjectIdentifier
Nested Schema : workspaces
Type:
array
This field represents the list of workspace records that the custom log type object needs to be assigned.
Show Source
-
Array of:
object WorkspaceIdentifier
Title:
WorkspaceIdentifier
Nested Schema : CustomLogTypeObjectIdentifier
Type:
object
Title:
Show Source
CustomLogTypeObjectIdentifier
-
customLogTypeObjectId: integer
(int64)
The system-generated identifier of custom log type object.
-
customLogTypeObjectName: string
The user-defined identifier of a custom log type object.
-
scope: string
Maximum Length:
40
Allowed Values:[ "project", "program", "workspace" ]
The scope of an object. -
scopeCode: string
The user-defined identifier of a reference to another object.
-
scopeId: integer
(int64)
The system-generated identifier of a reference to another object.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ProgramIdentifier
Type:
object
Title:
Show Source
ProgramIdentifier
-
programCode: string
Maximum Length:
60
The unique identifier for a program set by the user who created the program. -
programId: integer
(int64)
The unique identifier for the program.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ProjectIdentifier
Type:
object
Title:
Show Source
ProjectIdentifier
-
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : WorkspaceIdentifier
Type:
object
Title:
Show Source
WorkspaceIdentifier
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Response
Supported Media Types
- application/json
200 Response
The object was successfully updated.
Root Schema : ApiEntityCustomLogTypeObjectAssignResponse
Type:
object
Title:
Show Source
ApiEntityCustomLogTypeObjectAssignResponse
-
customLogTypeObject:
customLogTypeObject
Read Only:
true
This field represents the custom log type object record that needs to assigned to a different workspaces, programs and projects. It contains the fields to uniquely identify a custom log type object record. -
errorMessage: string
Represents the error message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
-
programs: array
programs
This field represents the list of program records along with the status of the assign operation.
-
projects: array
projects
This field represents the list of project records along with the status of the assign operation.
-
statusCode: integer
(int64)
The status code of the operation on a given object.
-
warning: string
Represents the warning message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
-
workspaces: array
workspaces
This field represents the list of workspace records along with the status of the assign operation.
Nested Schema : customLogTypeObject
Read Only:
true
This field represents the custom log type object record that needs to assigned to a different workspaces, programs and projects. It contains the fields to uniquely identify a custom log type object record.
Match All
Show Source
-
object
CustomLogTypeObjectIdentifier
Title:
CustomLogTypeObjectIdentifier
Nested Schema : programs
Type:
array
This field represents the list of program records along with the status of the assign operation.
Show Source
-
Array of:
object ApiEntityGenericResponseProgramIdentifier
Title:
ApiEntityGenericResponseProgramIdentifier
Nested Schema : projects
Type:
array
This field represents the list of project records along with the status of the assign operation.
Show Source
-
Array of:
object ApiEntityGenericResponseProjectIdentifier
Title:
ApiEntityGenericResponseProjectIdentifier
Nested Schema : workspaces
Type:
array
This field represents the list of workspace records along with the status of the assign operation.
Show Source
-
Array of:
object ApiEntityGenericResponseWorkspaceIdentifier
Title:
ApiEntityGenericResponseWorkspaceIdentifier
Nested Schema : CustomLogTypeObjectIdentifier
Type:
object
Title:
Show Source
CustomLogTypeObjectIdentifier
-
customLogTypeObjectId: integer
(int64)
The system-generated identifier of custom log type object.
-
customLogTypeObjectName: string
The user-defined identifier of a custom log type object.
-
scope: string
Maximum Length:
40
Allowed Values:[ "project", "program", "workspace" ]
The scope of an object. -
scopeCode: string
The user-defined identifier of a reference to another object.
-
scopeId: integer
(int64)
The system-generated identifier of a reference to another object.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ApiEntityGenericResponseProgramIdentifier
Type:
object
Title:
Show Source
ApiEntityGenericResponseProgramIdentifier
-
errorMessage: string
Represents the error message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
-
object:
object
The object the operation performed on.
-
statusCode: integer
(int64)
The status code of the operation on a given object.
-
warning: string
Represents the warning message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
Nested Schema : object
The object the operation performed on.
Match All
Show Source
-
object
ProgramIdentifier
Title:
ProgramIdentifier
Nested Schema : ProgramIdentifier
Type:
object
Title:
Show Source
ProgramIdentifier
-
programCode: string
Maximum Length:
60
The unique identifier for a program set by the user who created the program. -
programId: integer
(int64)
The unique identifier for the program.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ApiEntityGenericResponseProjectIdentifier
Type:
object
Title:
Show Source
ApiEntityGenericResponseProjectIdentifier
-
errorMessage: string
Represents the error message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
-
object:
object
The object the operation performed on.
-
statusCode: integer
(int64)
The status code of the operation on a given object.
-
warning: string
Represents the warning message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
Nested Schema : object
The object the operation performed on.
Match All
Show Source
-
object
ProjectIdentifier
Title:
ProjectIdentifier
Nested Schema : ProjectIdentifier
Type:
object
Title:
Show Source
ProjectIdentifier
-
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ApiEntityGenericResponseWorkspaceIdentifier
Type:
object
Title:
Show Source
ApiEntityGenericResponseWorkspaceIdentifier
-
errorMessage: string
Represents the error message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
-
object:
object
The object the operation performed on.
-
statusCode: integer
(int64)
The status code of the operation on a given object.
-
warning: string
Represents the warning message for the operation on a given object. The field is non-persistable and thus maximum length is not applicable.
Nested Schema : object
The object the operation performed on.
Match All
Show Source
-
object
WorkspaceIdentifier
Title:
WorkspaceIdentifier
Nested Schema : WorkspaceIdentifier
Type:
object
Title:
Show Source
WorkspaceIdentifier
-
workspaceCode: string
The user-specified identifier of a workspace.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
400 Response
Invalid Input.