| POST | /api/documentgenerator/powerpoint/generatedraftdocument |
|---|
export class DocumentBase64File
{
public ContentType: string;
public Content: string;
public constructor(init?: Partial<DocumentBase64File>) { (Object as any).assign(this, init); }
}
export class GenerateDraftPowerPointDocumentResponse implements IGenerateDraftDocumentResponse
{
/** @description Contains the file */
// @ApiMember(Description="Contains the file")
public File: DocumentBase64File;
public constructor(init?: Partial<GenerateDraftPowerPointDocumentResponse>) { (Object as any).assign(this, init); }
}
/** @description Generate a new or update a (corporate identity) MS PowerPoint document without registration. */
// @Api(Description="Generate a new or update a (corporate identity) MS PowerPoint document without registration.")
export class GenerateDraftPowerPointDocument implements IGenerateDraftOfficeDocument
{
/** @description The DocumentInfo result of the registration wizard. */
// @ApiMember(Description="The DocumentInfo result of the registration wizard.", IsRequired=true)
public DocumentInfo: string;
/** @description Hier kan de (dynamische) data voor het document geplaatst worden, de data kan middels tekstblokken en placeholders worden geplaatst.Het formaat binnen CustomData staat vrij maar vereist een 'root' element. */
// @ApiMember(Description="Hier kan de (dynamische) data voor het document geplaatst worden, de data kan middels tekstblokken en placeholders worden geplaatst.Het formaat binnen CustomData staat vrij maar vereist een 'root' element.")
public CustomData: string;
/** @description The document to update. */
// @ApiMember(Description="The document to update.")
public File: DocumentBase64File;
public constructor(init?: Partial<GenerateDraftPowerPointDocument>) { (Object as any).assign(this, init); }
}
TypeScript GenerateDraftPowerPointDocument DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/documentgenerator/powerpoint/generatedraftdocument HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"DocumentInfo":"String","CustomData":"String","File":{"ContentType":"String","Content":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"File":{"ContentType":"String","Content":"String"}}