Retrieving Templates in a Proposal
The API retrieves the templates associated with the given proposal.
|
API |
Signature |
|---|---|
| getTemplatesForProposal |
webService static List getTemplatesForProposal(Id proposalId, String proposalType) |
|
Request Parameter |
||
|---|---|---|
|
Name |
Type |
Description |
| proposalId | ID |
The ID of the proposal. |
| proposalType | String |
The type of template to query |
|
Response Parameter |
||
|---|---|---|
|
Field |
Type |
Description |
| templateSOs | List<Apttus__APTS_Template__c> |
The list of templates matching the configured query criteria. |
Code Sample
The sample code below enables you to retrieve the list of templates for the given proposal.
