Document Playbook Version (POST)

Create a playbook version and link it to a content document.

This resource validates the input, creates a DocumentPlaybookVersion record for the specified playbook, and creates a ContentDocumentLink record that links the new playbook version to the specified content document.

Special Access Rules 

Playbook must be enabled in your org, and you must have the Playbook Designer permission.

Resource 

1/connect/document-playbook/document-playbook-version

Resource Example 

1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/document-playbook/document-playbook-version

Available Version 

68.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "playbookId" : "0RDxx0000004C92GAE",
3  "description" : "Initial version of the contract playbook",
4  "contentDocumentId" : "069xx0000004C92GAE"
5}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
contentDocument​IdStringID of the content document.Required68.0
descriptionStringDescription of the playbook version.Optional68.0
playbookIdStringID of the playbook.Required68.0

Response Body for POST 

Playbook Version Details