# Signature Points

A signature point set is a recognizable set of coordinates that can be used by third-party software to integrate signature features into a document generated by the DocGenServices solution. In the Document Service API, signature point sets (X/Y coordinates) are implemented as a post-processing event submitted on a request in the AncillaryOutputOptions object. When the OutputType is defined as SignaturePointSet, the response message that is returned will include detailed information about the signature points. This information is returned through a single object, SignaturePointSet, containing a Signer object that provides the SignaturePoint object giving the X/Y coordinates and other signature information.

- Signer: An object containing the signer identifier (SignerID), a description as a string, and SignaturePoints object.
- SignaturePoints: An object containing the SignaturePoint object(s) defining the signature point set for a signature on a document.
- SignaturePoint: An object containing information about the specific signature point including the location, height, width, coordinates, and other data.

There are two scenarios that affect how the SignaturePointSet element appears in the XML response.

Scenario 1 - Request asks for SignaturePointSet:

One option available for use in an XML request is the output type SignaturePointSet. The response in this scenario has not changed. It continues to return a response containing the same SignaturePointSet element as before. The SignaturePointSet returned will continue to not have the new FieldName element. Also, eSignature fields are removed from the returned PDF.

Scenario 2 - Request does not ask for SignaturePointSet:

Prior to this enhancement, when the SignaturePointSet output type was not requested, the response did not include the SignaturePointSet element. Now, it adds the SignaturePointSet element to the response XML for every request. It adds the FieldName element to the SignaturePointSet when the output type SignaturePointSet is not requested. The FieldName is included in the SignaturePointSet because the PDF continues to include the e-Signature fields. This name helps the recipient of the response find the signature fields in the PDF. When the request does have output type SignaturePointSet, the eSignature fields are removed from the PDF. The PDF returned in this scenario continues to include the eSignature fields.