Use the Add Document action on a resource.

post

/custom-actions/addDocuments/{resourceName}

Request

Path Parameters
Header Parameters
  • An optional header parameter that allows you to process the request asynchronously. Set the request header "Prefer" to "respond-async" for asynchronous processing. For synchronous processing, leave the parameter blank or do not define it.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : pks
Type: array
Minimum Number of Items: 1
List of primary keys (GIDs) for target objects.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success! A successful POST method returns a 200 status code.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : links
Type: array
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : cmsParams
Type: object
Show Source
Nested Schema : contents
Type: object
Show Source
Nested Schema : contexts
Type: object
Show Source
Nested Schema : effectiveDate
represents effective date for a document
Match All
represents effective date for a document
Show Source
Nested Schema : expirationDate
Represents expiration date for a document.
Match All
Represents expiration date for a document.
Show Source
Nested Schema : generatedAt
If preparation, date/time content was last generated
Match All
If preparation, date/time content was last generated
Show Source
Nested Schema : insertDate
Read Only: true
insert date
Match All
insert date
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : relatedDocument
Read Only: true
This property is a reference resource (a resource that is referred via a foreign key) of the property relatedDocumentGid, which will be expanded if expandRefs query parameter is set to true (expandRefs=true)
Match All
This property is a reference resource (a resource that is referred via a foreign key) of the property relatedDocumentGid, which will be expanded if expandRefs query parameter is set to true (expandRefs=true)
Show Source
Nested Schema : statuses
Type: object
Show Source
Nested Schema : updateDate
Read Only: true
update date
Match All
update date
Show Source
Nested Schema : uploadedAt
If attachment, date/time content was last updated
Match All
If attachment, date/time content was last updated
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : dateType
Type: object
Show Source
Nested Schema : dateTimeType
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : links
Type: array
Read Only: true
Show Source

400 Response

Your request couldn't be processed because it contains missing or invalid information. For example, a validation error on an input field or a missing required value.
Body ()
Root Schema : errorResponse
Type: object
Show Source

401 Response

Unauthorized. The request was not successful because it is missing valid authentication credentials for the requested resource.
Body ()
Root Schema : errorResponse
Type: object
Show Source

403 Response

Access to the specified resource has been forbidden.
Body ()
Root Schema : errorResponse
Type: object
Show Source

500 Response

The server encountered something unexpected that prevented it from completing the request.
Body ()
Root Schema : errorResponse
Type: object
Show Source
Back to Top