POST api/v7/Encryption/Decrypt

Decrypts encrypted data

Request Information

URI Parameters

None.

Body Parameters

encrypted data collection

Collection of Encryption Request
NameDescriptionTypeRequired?Additional information
encryptedData *

input data

string

Yes

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "encryptedData": "sample string 1"
  },
  {
    "encryptedData": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEncryptionRequestDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EncryptionRequestDto>
    <encryptedData>sample string 1</encryptedData>
  </EncryptionRequestDto>
  <EncryptionRequestDto>
    <encryptedData>sample string 1</encryptedData>
  </EncryptionRequestDto>
</ArrayOfEncryptionRequestDto>

Response Information

Resource Description

A response contains the result of decrption

Collection of Encryption Response
NameDescriptionType
decryptedData

output data

string
statusMessage

status message

string

Response Formats

application/json, text/json

Sample:
[
  {
    "decryptedData": "sample string 1",
    "statusMessage": "sample string 2"
  },
  {
    "decryptedData": "sample string 1",
    "statusMessage": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEncryptionResponseDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EncryptionResponseDto>
    <decryptedData>sample string 1</decryptedData>
    <statusMessage>sample string 2</statusMessage>
  </EncryptionResponseDto>
  <EncryptionResponseDto>
    <decryptedData>sample string 1</decryptedData>
    <statusMessage>sample string 2</statusMessage>
  </EncryptionResponseDto>
</ArrayOfEncryptionResponseDto>