GET api/consents/{consentid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consentid

integer

Required

Body Parameters

None.

Response Information

Resource Description

ConsentEdit
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.

DocumentTemplate

DocumentTemplate

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,
  "DocumentTemplate": {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "DocumentContentCaptionId": 4,
    "ContentBase64": "QEA=",
    "ContentString": "sample string 5",
    "ContentType": "sample string 6"
  },
  "IsActive": true
}

application/xml, text/xml

Sample:
<ConsentEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <Code>sample string 7</Code>
  <ConsentVersion>9</ConsentVersion>
  <DocumentTemplate>
    <ContentBase64>QEA=</ContentBase64>
    <ContentString>sample string 5</ContentString>
    <ContentType>sample string 6</ContentType>
    <Description>sample string 3</Description>
    <DocumentContentCaptionId>4</DocumentContentCaptionId>
    <Id>1</Id>
    <Title>sample string 2</Title>
  </DocumentTemplate>
  <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>
</ConsentEdit>