GET api/Report/ImplementationGuide/{implementationGuideId}/Validate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
implementationGuideId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Trifolia.Shared.Validation.TemplateValidationResultName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Oid | string |
None. |
|
Items | Collection of Trifolia.Shared.Validation.ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "Oid": "sample string 3", "Items": [ { "TemplateId": 1, "TemplateName": "sample string 1", "ConstraintNumber": 1, "Level": 0, "Message": "sample string 2" }, { "TemplateId": 1, "TemplateName": "sample string 1", "ConstraintNumber": 1, "Level": 0, "Message": "sample string 2" } ] }, { "Id": 1, "Name": "sample string 2", "Oid": "sample string 3", "Items": [ { "TemplateId": 1, "TemplateName": "sample string 1", "ConstraintNumber": 1, "Level": 0, "Message": "sample string 2" }, { "TemplateId": 1, "TemplateName": "sample string 1", "ConstraintNumber": 1, "Level": 0, "Message": "sample string 2" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfTemplateValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trifolia.Shared.Validation"> <TemplateValidationResult> <Id>1</Id> <Items> <ValidationResult> <ConstraintNumber>1</ConstraintNumber> <Level>Warning</Level> <Message>sample string 2</Message> <TemplateId>1</TemplateId> <TemplateName>sample string 1</TemplateName> </ValidationResult> <ValidationResult> <ConstraintNumber>1</ConstraintNumber> <Level>Warning</Level> <Message>sample string 2</Message> <TemplateId>1</TemplateId> <TemplateName>sample string 1</TemplateName> </ValidationResult> </Items> <Name>sample string 2</Name> <Oid>sample string 3</Oid> </TemplateValidationResult> <TemplateValidationResult> <Id>1</Id> <Items> <ValidationResult> <ConstraintNumber>1</ConstraintNumber> <Level>Warning</Level> <Message>sample string 2</Message> <TemplateId>1</TemplateId> <TemplateName>sample string 1</TemplateName> </ValidationResult> <ValidationResult> <ConstraintNumber>1</ConstraintNumber> <Level>Warning</Level> <Message>sample string 2</Message> <TemplateId>1</TemplateId> <TemplateName>sample string 1</TemplateName> </ValidationResult> </Items> <Name>sample string 2</Name> <Oid>sample string 3</Oid> </TemplateValidationResult> </ArrayOfTemplateValidationResult>