> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.QuotePublishDocuments

# <a id="SuperOffice_WebApi_Data_QuotePublishDocuments" /> Class QuotePublishDocuments

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for QuotePublishDocuments.
Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments

```csharp theme={null}
public class QuotePublishDocuments : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[QuotePublishDocuments](SuperOffice.WebApi.Data.QuotePublishDocuments.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments__ctor" /> QuotePublishDocuments()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public QuotePublishDocuments()
```

## Properties

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_ErrorMessage" /> ErrorMessage

If something went wrong, show this message and do not continue

```csharp theme={null}
public virtual string ErrorMessage { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_MailBody" /> MailBody

The string that is the content of the mail body; this is the result of merging the mail body template with the current template variable values

```csharp theme={null}
public virtual string MailBody { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_MailSubject" /> MailSubject

The string that is the mail subject; done by merging the text resource SR\_QUOTE\_PUBLISH\_MAILHEADING with the current template variable values

```csharp theme={null}
public virtual string MailSubject { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_QuoteAttachmentIds" /> QuoteAttachmentIds

Array of id's of any attachments (standard + custom for this version)

```csharp theme={null}
public virtual int[] QuoteAttachmentIds { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_QuoteDocumentId" /> QuoteDocumentId

Quote document, as PDF; may be zero if there is no document specified for the version

```csharp theme={null}
public virtual int QuoteDocumentId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_QuotedProductsId" /> QuotedProductsId

Quoted products (quote lines or confirmation lines) document, as PDF

```csharp theme={null}
public virtual int QuotedProductsId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_ToEmail" /> ToEmail

The email address of the recipient, taken from the sale's person

```csharp theme={null}
public virtual string ToEmail { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_QuotePublishDocuments_ToFullName" /> ToFullName

The full name of the recipient, taken from the sale's person

```csharp theme={null}
public virtual string ToFullName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[QuoteAgent](SuperOffice.WebApi.Agents.QuoteAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.QuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.QuoteAgent.md)
- [SuperOffice.WebApi.Agents.IQuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IQuoteAgent.md)
- [SuperOffice.WebApi.Data.DocumentEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.DocumentEntity.md)
- [SuperOffice.WebApi.Data.Document GetPublishedDocumentRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_GetPublishedDocumentRequest.md)
- [SuperOffice.WebApi.Data.Document GetPublishedDocumentsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_GetPublishedDocumentsRequest.md)
- [SuperOffice.WebApi.Data.Document GetPublishedDocumentsByDateRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_GetPublishedDocumentsByDateRequest.md)
