Create ProjectDocument
post
/projectDocument
Send a request to this endpoint to create one or more ProjectDocument. 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 projectdocument objects.
Root Schema : List<ProjectDocument>
Type:
array
Title:
Show Source
List<ProjectDocument>
-
Array of:
object ProjectDocument
Title:
ProjectDocument
ProjectDocument Entity
Nested Schema : ProjectDocument
Type:
object
Title:
ProjectDocument
ProjectDocument Entity
Show Source
-
ActivityId: string
The short ID that uniquely identifies the activity within the project.
-
ActivityName: string
The name of the activity. The activity name does not have to be unique.
-
ActivityObjectId(required): integer
(int32)
The unique ID of the activity to which the activity document applies.
-
CreateDate: string
(date-time)
The date this document was created.
-
CreateUser: string
The date this document was created.
-
DocumentCategoryName: string
-
DocumentObjectId(required): integer
(int32)
The unique ID of the document to which the activity document applies.
-
DocumentStatusName: string
-
DocumentTitle: string
The title or name of a document assigned to a WBS or activity within a project.
-
IsBaseline: boolean
The boolean value indicating if this business object is related to a Project or Baseline
-
IsTemplate: boolean
The boolean value indicating if this business object is related to a template Project.
-
IsWorkProduct: boolean
The flag that indicates whether the document is a work product.
-
LastUpdateDate: string
(date-time)
The date this document was last updated.
-
LastUpdateUser: string
The name of the user that last updated this document.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ParentWBSObjectId: integer
(int32)
-
ProjectId: string
The short code that uniquely identifies the project.
-
ProjectObjectId(required): integer
(int32)
The unique ID of the project to which the activity document applies.
-
WBSCode: string
The short code assigned to each WBS element for identification. Each WBS element is uniquely identified by concatenating its own code together with its parents' codes.
-
WBSName: string
The name of the WBS element.
-
WBSObjectId(required): integer
(int32)
The unique ID of the WBS to which the activity document applies.
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.