POST api/GeneratePortalDoc
Request Information
URI Parameters
None.
Body Parameters
GenerateGreenDocRequestName | Description | Type | Additional information |
---|---|---|---|
SFDCLoginDetailReq | SFDCLoginDetail |
None. |
|
PrintCollateralDetailReq | PrintCollateralDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "SFDCLoginDetailReq": { "SessionId": "sample string 1", "ServerURL": "sample string 2", "OrgId": "sample string 3", "UserName": "sample string 4", "Password": "sample string 5", "SecurityToken": "sample string 6" }, "PrintCollateralDetailReq": { "PrintCollateralID": "sample string 1", "ObjectID": "sample string 2", "SaveAsPDF": "sample string 3", "ReportName": "sample string 4", "ReportParameter": "sample string 5", "PrintCollateralObject": "sample string 6", "TemplateName": "sample string 7", "ParentFieldName": "sample string 8", "IsMultipleTemplateMerge": true, "Category": "sample string 10", "AttachmentType": "sample string 11", "ApplicationType": "sample string 12" } }
application/xml, text/xml
Sample:
<GenerateGreenDocRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrDsmtGreenDocumentApi.Models"> <PrintCollateralDetailReq> <ApplicationType>sample string 12</ApplicationType> <AttachmentType>sample string 11</AttachmentType> <Category>sample string 10</Category> <IsMultipleTemplateMerge>true</IsMultipleTemplateMerge> <ObjectID>sample string 2</ObjectID> <ParentFieldName>sample string 8</ParentFieldName> <PrintCollateralID>sample string 1</PrintCollateralID> <PrintCollateralObject>sample string 6</PrintCollateralObject> <ReportName>sample string 4</ReportName> <ReportParameter>sample string 5</ReportParameter> <SaveAsPDF>sample string 3</SaveAsPDF> <TemplateName>sample string 7</TemplateName> </PrintCollateralDetailReq> <SFDCLoginDetailReq> <OrgId>sample string 3</OrgId> <Password>sample string 5</Password> <SecurityToken>sample string 6</SecurityToken> <ServerURL>sample string 2</ServerURL> <SessionId>sample string 1</SessionId> <UserName>sample string 4</UserName> </SFDCLoginDetailReq> </GenerateGreenDocRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.