| GET | /template-approval/list |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Latitude | form | double | No | Latitude of the user making this request |
| Longitude | form | double | No | Longitude of the user making this request |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Templates | form | List<TemplateApprovalListItem> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserCrmId | form | Guid | No | |
| ApprovalDate | form | string | No | |
| TemplateApprovalId | form | int | No | |
| ApprovalStatus | form | TemplateApprovalStatus | No | |
| ApprovalStatusString | form | string | No | |
| TemplateType | form | TemplateType | No | |
| TemplateTypeString | form | string | No | |
| TemplateName | form | string | No | |
| SystemUserName | form | string | No | |
| TemplateChangeDetail | form | List<SectionSummary> | No | |
| TemplateDetail | form | List<SectionSummary> | No | |
| Content | form | string | No |
| Name | Value | |
|---|---|---|
| AwaitingApproval | 0 | |
| Rejected | 1 | |
| Approved | 2 |
| Name | Value | |
|---|---|---|
| Introductory | 0 | |
| Refresher | 1 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Title | form | SectionTitle | No | |
| TitleString | form | string | No | |
| SectionId | form | int | No | |
| SectionName | form | string | No |
| Name | Value | |
|---|---|---|
| Welcome | 0 | |
| Cochrane | 1 | |
| Iconic | 2 | |
| OurBestWork | 3 | |
| RealityOfRisk | 4 | |
| ProductRange | 5 | |
| ProductDeployments | 6 | |
| Industries | 7 | |
| ClearVu | 8 | |
| CaseStudies | 9 | |
| Expertise | 10 | |
| Media | 11 | |
| ThankYou | 12 | |
| ClearVuRange | 13 | |
| Presentations | 14 | |
| LegacyVideos | 15 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"templates":[{}],"description":"String","heading":"String","wasSuccessful":false,"modelState":{}}