POST api/GenerateGreenDoc
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", "IsMultipleTemplateMerge": true } }
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> <IsMultipleTemplateMerge>true</IsMultipleTemplateMerge> <ObjectID>sample string 2</ObjectID> <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> </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
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>