POST api/consents/manage

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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
}

application/xml, text/xml

Sample:
<Consent 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>
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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
}

application/xml, text/xml

Sample:
<Consent 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>
  <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>