Batch Update Custom Log Type Objects
put
/api/restapi/customLogTypeObject/batch
Send a request to this endpoint to update custom log type objects. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityCustomLogTypeObjectInput>
Type:
arrayTitle:
Show Source
List<ApiEntityCustomLogTypeObjectInput>-
Array of:
object ApiEntityCustomLogTypeObjectInput
Title:
ApiEntityCustomLogTypeObjectInputThis entity represents a CustomLogTypeObject object, a unique CustomLogTypeObject object can be identified by the following combinations of the fields.- customLogTypeObjectId
- customLogTypeObjectName,scope,scopeId
- customLogTypeObjectName,scope,scopeCode,workspaceId
- customLogTypeObjectName,scope,scopeCode,workspaceCode
Nested Schema : ApiEntityCustomLogTypeObjectInput
Type:
objectTitle:
ApiEntityCustomLogTypeObjectInputThis entity represents a CustomLogTypeObject object, a unique CustomLogTypeObject object can be identified by the following combinations of the fields.
Show Source
- customLogTypeObjectId
- customLogTypeObjectName,scope,scopeId
- customLogTypeObjectName,scope,scopeCode,workspaceId
- customLogTypeObjectName,scope,scopeCode,workspaceCode
-
appliesTo: array
appliesTo
The list of code type assignments.
-
customLogTypeCodeTypes: array
customLogTypeCodeTypes
The code types associated with a custom log type object.
-
customLogTypeObjectId: integer
(int64)
The system-generated identifier of custom log type object.
-
customLogTypeObjectName(required): string
Minimum Length:
0Maximum Length:255The user-defined identifier of a custom log type object. -
customLogUdfs: array
customLogUdfs
An object containing configured fields in the form of key-value pairs.
-
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]How data is shared between parent and child workspaces.
Manual: Data can be pulled down by child workspaces. This is the default option.
Automatic: Data is automatically shared with all child workspaces. -
scope(required): string
Maximum Length:
40Allowed Values:[ "project", "program", "workspace" ]The scope of an object. -
scopeCode: string
Maximum Length:
60The user-defined identifier of a reference to another object. -
scopeId(required): integer
(int64)
The system-generated identifier of a reference to another object.
-
workspaceCode: string
Maximum Length:
60The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Nested Schema : appliesTo
Type:
arrayThe list of code type assignments.
Show Source
-
Array of:
object ApiEntityCustomLogEntityTypeInput
Title:
ApiEntityCustomLogEntityTypeInput
Nested Schema : customLogTypeCodeTypes
Type:
arrayThe code types associated with a custom log type object.
Show Source
-
Array of:
object ApiEntityCustomLogTypeCodeTypeInput
Title:
ApiEntityCustomLogTypeCodeTypeInput
Nested Schema : customLogUdfs
Type:
arrayAn object containing configured fields in the form of key-value pairs.
Show Source
-
Array of:
object ApiEntityCustomLogUdfInput
Title:
ApiEntityCustomLogUdfInput
Nested Schema : ApiEntityCustomLogEntityTypeInput
Type:
objectTitle:
Show Source
ApiEntityCustomLogEntityTypeInput-
action: string
Allowed Values:
[ "DELETE" ]Provide value for this field during object update to delete the assigned configured field value. -
customLogEntityTypeId: integer
(int64)
The system-generated identifier of custom log type object and entity association.
-
entityType: string
Allowed Values:
[ "PROGRAM", "PROJECT" ]Indicates the type of object the custom log type object is associated to.
Nested Schema : ApiEntityCustomLogTypeCodeTypeInput
Type:
objectTitle:
Show Source
ApiEntityCustomLogTypeCodeTypeInput-
action: string
Allowed Values:
[ "DELETE" ]Provide value for this field during object update to delete the assigned configured field value. -
codeTypeCode: string
Minimum Length:
0Maximum Length:60 -
codeTypeId: integer
(int64)
The system-generated identifier of a code type.
-
customLogTypeCodeTypeId: integer
(int64)
The system-generated identifier of a doc type.
-
customLogTypeObjectId: integer
(int64)
The system-generated identifier of a custom log type object.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier of a workspace.
Nested Schema : ApiEntityCustomLogUdfInput
Type:
objectTitle:
Show Source
ApiEntityCustomLogUdfInput-
action: string
Allowed Values:
[ "DELETE" ]Provide value for this field during object update to delete the assigned configured field value. -
columnLabel: string
Minimum Length:
1Maximum Length:100 -
columnName: string
Minimum Length:
1Maximum Length:100 -
customLogObjectId: integer
(int64)
The system-generated identifier of custom log type object.
-
customLogUdfId: integer
(int64)
The system-generated identifier of a code type.
-
fdColumnId: integer
(int64)
The system-generated identifier of a column.
Examples
Back to Top
Response
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}
400 Response
Invalid Input.