Update ActivityCodes
put
/activityCode
Send a request to this endpoint to update one or more activityCode. 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
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of activityCode objects.
Root Schema : List<ActivityCode>
Type:
array
Title:
Show Source
List<ActivityCode>
-
Array of:
object ActivityCode
Title:
ActivityCode
ActivityCode Entity
Nested Schema : ActivityCode
Type:
object
Title:
ActivityCode
ActivityCode Entity
Show Source
-
CodeConcatName: string
-
CodeTypeName: string
The name of the parent code type for this code.
-
CodeTypeObjectId(required): integer
(int32)
The unique ID of the parent activity code type.
-
CodeTypeScope: string
The scope of the parent activity code type: Global, EPS, or Project. An activity code with Global scope can be assigned to any activity. An activity code with EPS scope can be assigned only to an activity within a project under that particular EPS. Similarly, an activity code with Project scope can be assigned only to an activity within that particular project.
-
CodeValue(required): string
The value of the activity code.
-
Color: string
The Hex representation for the color e.g. 0xFFFFFF.
-
CreateDate: string
(date-time)
The date this activity code was created.
-
CreateUser: string
The name of the user that created this activity code.
-
Description: string
The description of the activity code.
-
LastUpdateDate: string
(date-time)
The date this activity code was last updated.
-
LastUpdateUser: string
The name of the user that last updated this activity code.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ParentObjectId: integer
(int32)
The unique ID of the parent activity code of this activity code in the hierarchy.
-
ProjectObjectId: integer
(int32)
The unique project ID of the parent code type for this code if code type scope is 'Project' or 'EPS', null for code types with scope 'Global'.
-
SequenceNumber: integer
(int32)
The sequence number for sorting.
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : schema
Type:
boolean
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.