GET Api/Utility/GetConsentsDocuments/{orgUnitId}/{consentDisplayPlaces}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgUnitId

integer

Required

consentDisplayPlaces

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ConsentDocumentDto
NameDescriptionTypeAdditional information
ConsentDocumentId

integer

None.

OrganizationalUnitId

integer

None.

LanguageId

integer

None.

TypeOfConsent

TypeOfConsent

None.

IsRequired

boolean

None.

Content

string

None.

DisplayPlaces

Collection of TypeOfConsentDisplayPlace

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "consentDocumentId": 1,
    "organizationalUnitId": 2,
    "languageId": 3,
    "typeOfConsent": 0,
    "isRequired": true,
    "content": "sample string 5",
    "displayPlaces": [
      0,
      0
    ]
  },
  {
    "consentDocumentId": 1,
    "organizationalUnitId": 2,
    "languageId": 3,
    "typeOfConsent": 0,
    "isRequired": true,
    "content": "sample string 5",
    "displayPlaces": [
      0,
      0
    ]
  }
]

multipart/form-data

Sample:
[{"consentDocumentId":1,"organizationalUnitId":2,"languageId":3,"typeOfConsent":0,"isRequired":true,"content":"sample string 5","displayPlaces":[0,0]},{"consentDocumentId":1,"organizationalUnitId":2,"languageId":3,"typeOfConsent":0,"isRequired":true,"content":"sample string 5","displayPlaces":[0,0]}]

application/xml, text/xml

Sample:
<ArrayOfConsentDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ConsentDocumentDto>
    <ConsentDocumentId>1</ConsentDocumentId>
    <OrganizationalUnitId>2</OrganizationalUnitId>
    <LanguageId>3</LanguageId>
    <TypeOfConsent>PrivacyPolicy</TypeOfConsent>
    <IsRequired>true</IsRequired>
    <Content>sample string 5</Content>
    <DisplayPlaces>
      <TypeOfConsentDisplayPlace>Registraiton</TypeOfConsentDisplayPlace>
      <TypeOfConsentDisplayPlace>Registraiton</TypeOfConsentDisplayPlace>
    </DisplayPlaces>
  </ConsentDocumentDto>
  <ConsentDocumentDto>
    <ConsentDocumentId>1</ConsentDocumentId>
    <OrganizationalUnitId>2</OrganizationalUnitId>
    <LanguageId>3</LanguageId>
    <TypeOfConsent>PrivacyPolicy</TypeOfConsent>
    <IsRequired>true</IsRequired>
    <Content>sample string 5</Content>
    <DisplayPlaces>
      <TypeOfConsentDisplayPlace>Registraiton</TypeOfConsentDisplayPlace>
      <TypeOfConsentDisplayPlace>Registraiton</TypeOfConsentDisplayPlace>
    </DisplayPlaces>
  </ConsentDocumentDto>
</ArrayOfConsentDocumentDto>