The request body is of type AddReferenceDocumentFromLibrary.
Request Body Parameters
Name | Description | Data Type |
pstr_APICode | The API code of the site. This can be found through your Sertifi web interface under Administration -> Account Settings. | xml:string |
pstr_FileID | The id of the relevant file. | xml:string |
pstr_LibraryId | The Id of the document in the Reference Document Section of your Sertifi Document Library. | xml:string |
pstr_Title | The name the document will appear with to signers. | xml:string |
returnId | Whether or not to return the Id of the document in the file. (It will be different from the Library Id and specific to the version in this file.) | xml:boolean |
permissions | Permissions on who can view the reference document. | ArrayOfReferenceDocumentPermission |
customMetadataXML | Note that it is not possible to prefill data on a reference document. | xml:string |

The response body is of type AddReferenceDocumentFromLibraryResponse.
Response Body Parameters
Name | Description | Data Type |
AddReferenceDocumentFromLibraryResult | Id of the reference document for the file, "SUCESS" or an error message. | xml:string |
