Update a Folder
put
/primeapi/restapi/document/folder
Send a request to this endpoint to update a folder.
Request
Supported Media Types
- application/json
A folder object.
Root Schema : ApiEntityDocument
Type:
Show Source
object
-
addressLine1(optional):
string
The first line of the address associated with the document.
-
addressLine2(optional):
string
The second line of the address associated with the document.
-
annotationCount(optional):
object annotationCount
Additional Properties Allowed: additionalProperties
-
author(optional):
string
The system-generated identifier of a user assigned as an owner of this object.
-
checkedOut(optional):
boolean
Read Only:
true
Indicates whether or not the document is checked-out. -
checkedOutBy(optional):
string
Read Only:
true
The user that checked out a document. -
checkedOutDate(optional):
string(date-time)
Read Only:
true
The date on which the document was last checked out. -
checkedOutUserId(optional):
integer(int64)
The system-generated identifier of a user.
-
cityName(optional):
string
The name of the city associated with the document.
-
comment(optional):
string
A document comment.
-
countryCode(optional):
string
The code of the country associated with the document.
-
description(optional):
string
Additional information about the document.
-
documentConfiguredFields(optional):
object ApiEntityDocumentConfiguredFields
-
hasChildren(optional):
boolean
Read Only:
true
Indicates whether or not the document has children. -
id(optional):
string
The system-generated identifier of the document.
-
isActualRoot(optional):
boolean
Read Only:
true
Indicates whether or not this document is the root node in a document structure. -
latitude(optional):
number(double)
The latitude of the location associated with the document.
-
link(optional):
string(url)
Read Only:
true
-
locationName(optional):
string
The name of the location associated with the document.
-
longitude(optional):
number(double)
The longitude of the location associated with the document.
-
mimeType(optional):
string
Read Only:
true
The type of a document. -
name:
string
The name of the document.
-
parentId:
string
The system-generated identifier of the parent object of the document.
-
postalCode(optional):
string
The postal code of the location associated with the document.
-
scope(optional):
string
Allowed Values:
[ "GENERIC_PORTFOLIO", "PROJECT", "STRATEGY", "WORKSPACE", "IDEA", "PBS", "WBS", "ACTIVITY", "WORK_PACKAGE", "SCOPE_ITEM", "SCOPE_ITEM_ASSIGNMENT", "WORKFLOW_INSTANCE", "FORM_INSTANCE", "CONTRACT", "COMMITMENT", "TEMPLATE", "CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER_PROPOSAL", "PAYMENT_APPLICATION", "SUBMITTALS", "RFI", "CHANGE_EVENTS", "FUND", "PORTFOLIO_FUND", "CUSTOM_LOG_ITEM", "RISK" ]
The object type the document is associated with, for example, workspace. -
scopeId(optional):
integer(int64)
UCR
-
size(optional):
integer(int64)
Read Only:
true
The current size of the document in bytes. -
stateCode(optional):
string
The code of the state of the location associated with the document.
-
stateName(optional):
string
The name of the state of the location associated with the document.
-
syncToMobile(optional):
boolean
Indicates whether or not the document is synced with mobile devices.
-
type(optional):
string
Read Only:
true
Allowed Values:[ "FOLDER", "DOCUMENT", "XLSX", "DOCX", "DOC", "XLS" ]
The type of the document -
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
url(optional):
string
Read Only:
true
-
version(optional):
string
Read Only:
true
The current version of the document.
Nested Schema : ApiEntityDocumentConfiguredFields
Type:
Show Source
object
-
costFlexMap(optional):
object costFlexMap
Additional Properties Allowed: additionalPropertiesAn object containing the cost fields associated with the document.
-
documentId(optional):
integer(int64)
-
link(optional):
string(url)
Read Only:
true
-
otherFlexMap(optional):
object otherFlexMap
Additional Properties Allowed: additionalPropertiesAn object containing the cost fields associated with the document.
-
textFlexMap(optional):
object textFlexMap
Additional Properties Allowed: additionalPropertiesAn object containing the cost fields associated with the document.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
Nested Schema : costFlexMap
Type:
object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : otherFlexMap
Type:
object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : textFlexMap
Type:
object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : additionalProperties
Type:
object
Nested Schema : additionalProperties
Type:
object
Nested Schema : additionalProperties
Type:
object
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid input for the Document service. Verify the request contains valid data, then resubmit the request.