AgreementDocument Object

Contains information about a platform legal agreement document.

This object is used by the following operations:

API:

Platform:

Licenses:

The properties included in the AgreementDocument object are listed below. Properties are optional unless otherwise specified.

Property Type Required Description
LegalDocumentID string Required The unique ID for the association of a specific legal document with a resource such as an API version, license, or the platform. Required when updating.
Name string Required The user-defined name of the legal document. Required when adding or updating.
Description string Optional A text description of the legal document. Required when adding or updating.
AgreementType string Required The type of legal agreement; for example, com.soa.atmosphere.legals.eula. For valid values, see Legal Agreement Types.
ResourceID string Optional A unique ID for the specific document resource.
ResourceType string Optional A text description indicating the type of resource.
ContentPath string Required The path (URI) to the location of the legal agreement (the HTML content).
MetadataResourceURI string Optional The path (URI) to metadata about the legal agreement.
MetadataResourceVersion integer Optional An indication of the version number for the legal agreement.
Active boolean Optional Indicates whether the legal agreement is currently active. If not specified, defaults to false, indicating that the document is not active.
PrintContentPath string Required The path (URI) to the location of a print resource for the legal document, such as a PDF.
PrintResourceURI string Optional The path (URI) to metadata about the print version of the legal agreement.
PrintVersion integer Optional An indication of the version number for the print version of the legal agreement.
DocumentState string Optional The current activation state of the legal document; for example, com.soa.status.draft. For valid values, see Legal Document State. Required for PUT /api/apis/versions/{APIVersionID}/legals/{LegalDocumentID}/state, otherwise optional.
FileName string Optional The filename for the display version of the legal agreement (not the print version).
Link string Optional A link for the resource, if applicable.
TargetResources TargetResources Optional Contains information about one or more resources associated with the current resource. Used only in response messages.