GET api/consents

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Consent
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

LabelCaptionId

integer

None.

LabelText

string

None.

DocumentTemplateId

integer

None.

ExternalUrl

string

None.

Code

string

None.

ExtReference

string

None.

ConsentVersion

integer

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "LabelCaptionId": 3,
    "LabelText": "sample string 4",
    "DocumentTemplateId": 5,
    "ExternalUrl": "sample string 6",
    "Code": "sample string 7",
    "ExtReference": "sample string 8",
    "ConsentVersion": 9,
    "IsActive": true
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "LabelCaptionId": 3,
    "LabelText": "sample string 4",
    "DocumentTemplateId": 5,
    "ExternalUrl": "sample string 6",
    "Code": "sample string 7",
    "ExtReference": "sample string 8",
    "ConsentVersion": 9,
    "IsActive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfConsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <Consent>
    <Code>sample string 7</Code>
    <ConsentVersion>9</ConsentVersion>
    <DocumentTemplateId>5</DocumentTemplateId>
    <ExtReference>sample string 8</ExtReference>
    <ExternalUrl>sample string 6</ExternalUrl>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <LabelCaptionId>3</LabelCaptionId>
    <LabelText>sample string 4</LabelText>
    <Title>sample string 2</Title>
  </Consent>
  <Consent>
    <Code>sample string 7</Code>
    <ConsentVersion>9</ConsentVersion>
    <DocumentTemplateId>5</DocumentTemplateId>
    <ExtReference>sample string 8</ExtReference>
    <ExternalUrl>sample string 6</ExternalUrl>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <LabelCaptionId>3</LabelCaptionId>
    <LabelText>sample string 4</LabelText>
    <Title>sample string 2</Title>
  </Consent>
</ArrayOfConsent>