Create Document
post
/document
Send a request to this endpoint to create one or more Document. 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 document objects.
Root Schema : List<Document>
Type:
array
Title:
Show Source
List<Document>
-
Array of:
object Document
Title:
Document
Document Entity
Nested Schema : Document
Type:
object
Title:
Document
Document Entity
Show Source
-
ActivityObjectId: integer
(int32)
-
Author: string
The person who created the work product or document.
-
ContentRepositoryDocumentInternalId: string
The internal ID of the content repository document.
-
CreateDate: string
(date-time)
The date this document was created.
-
CreateUser: string
The name of the user that created this document.
-
Deliverable: boolean
The flag that indicates that the work product or document is a project deliverable.
-
Description: string
The narrative description of the work product or document.
-
DocumentCategoryName: string
The name of the associated document category.
-
DocumentCategoryObjectId: integer
(int32)
The unique ID of the associated document category.
-
DocumentStatusCodeName: string
The name of the associated document status code.
-
DocumentStatusCodeObjectId: integer
(int32)
The unique ID of the associated document status code.
-
DocumentType: string
The type of document: 'Non-Collaboration' or 'Collaboration'.
-
GUID: string
The globally unique ID generated by the system.
-
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.
-
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.
-
ParentObjectId: integer
(int32)
The unique ID of the parent document of this document in the hierarchy.
-
PrivateLocation: string
The work product or document's private file location.
-
ProjectId: string
The short code that uniquely identifies the project.
-
ProjectObjectId(required): integer
(int32)
The unique ID of the associated project.
-
PublicLocation: string
The work product or document's publicly-accessible file location.
-
ReferenceNumber: string
The work product or document's reference or catalog number.
-
ResourceId: string
The short code that uniquely identifies the associated resource.
-
ResourceName: string
The name of the associated resource.
-
ResourceObjectId: integer
(int32)
The unique ID of the associated resource.
-
RevisionDate: string
(date-time)
The date of the work product or document's last update.
-
SequenceNumber: integer
(int32)
The sequence number for sorting.
-
Title(required): string
The title or name of a project work product or document.
-
Version: string
The work product or document's version number.
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.