Create ActivitiyCodeTypes
post
/activityCodeType
Send a request to this endpoint to create one or more activityCodeType. An application object will be created for each JSON object provided in the request body.
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of activityCodeType objects.
Root Schema : List<ActivityCodeType>
Type:
array
Title:
Show Source
List<ActivityCodeType>
-
Array of:
object ActivityCodeType
Title:
ActivityCodeType
ActivityCodeType Entity
Nested Schema : ActivityCodeType
Type:
object
Title:
ActivityCodeType
ActivityCodeType Entity
Show Source
-
CreateDate: string
(date-time)
The date this Activity Code Type was created.
-
CreateUser: string
The name of the user that created this ActivityCodeType.
-
EPSCodeTypeHierarchy: string
The field that maintains the EPS Activity Code Type Hierarchy.
-
EPSObjectId: integer
(int32)
The unique ID of the associated EPS.
-
IsBaseline: boolean
The boolean value indicating if this business object is related to a Project or Baseline
-
IsSecureCode: boolean
The flag indicating whether this is a secure Activity Code Type.
-
IsTemplate: boolean
The boolean value indicating if this business object is related to a template Project.
-
LastUpdateDate: string
(date-time)
The date this Activity Code Type was last updated.
-
LastUpdateUser: string
The name of the user that last updated this ActivityCodeType.
-
Length: integer
(int32)
The maximum number of characters allowed for values of this activity code.
-
Name(required): string
The name of the activity code type.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ProjectObjectId: integer
(int32)
The unique ID of the associated project.
-
RefProjectObjectIds: string
The unique ID associated with a project whose activities have this code assigned. This data is only exported if more than one project is included in the export and if more than one project contains activities to which the EPS scoped activity code is assigned.
-
Scope: string
The scope of the 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.
-
SequenceNumber: integer
(int32)
The sequence number for sorting.
Response
Supported Media Types
- application/json
201 Response
Resource Created.
Root Schema : String
Type:
string
Title:
String
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.