Cochrane+ App API

<back to all web services

TemplateApprovalList

Requires Authentication
The following routes are available for this service:
GET/template-approval/list
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
LatitudeformdoubleNoLatitude of the user making this request
LongitudeformdoubleNoLongitude of the user making this request
TemplateApprovalListResponse Parameters:
NameParameterData TypeRequiredDescription
TemplatesformList<TemplateApprovalListItem>No
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
HeadingformstringNo
WasSuccessfulformboolNo
ModelStateformObjectNo
TemplateApprovalListItem Parameters:
NameParameterData TypeRequiredDescription
UserCrmIdformGuidNo
ApprovalDateformstringNo
TemplateApprovalIdformintNo
ApprovalStatusformTemplateApprovalStatusNo
ApprovalStatusStringformstringNo
TemplateTypeformTemplateTypeNo
TemplateTypeStringformstringNo
TemplateNameformstringNo
SystemUserNameformstringNo
TemplateChangeDetailformList<SectionSummary>No
TemplateDetailformList<SectionSummary>No
ContentformstringNo
TemplateApprovalStatus Enum:
NameValue
AwaitingApproval0
Rejected1
Approved2
TemplateType Enum:
NameValue
Introductory0
Refresher1
SectionSummary Parameters:
NameParameterData TypeRequiredDescription
TitleformSectionTitleNo
TitleStringformstringNo
SectionIdformintNo
SectionNameformstringNo
SectionTitle Enum:
NameValue
Welcome0
Cochrane1
Iconic2
OurBestWork3
RealityOfRisk4
ProductRange5
ProductDeployments6
Industries7
ClearVu8
CaseStudies9
Expertise10
Media11
ThankYou12
ClearVuRange13
Presentations14
LegacyVideos15

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /template-approval/list HTTP/1.1 
Host: cochraneplus-api-dev.happen.zone 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"templates":[{}],"description":"String","heading":"String","wasSuccessful":false,"modelState":{}}