POST api/OnBoarding/EncryptAndDecryptString
Request Information
URI Parameters
None.
Body Parameters
EncryptAndDecryptModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| flag | integer | None. | |
| UniqueId | string | None. | |
| KeyAndValueList | Collection of EncryptAndDecrypt | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "flag": 1,
  "UniqueId": "sample string 2",
  "KeyAndValueList": [
    {
      "value": "sample string 1",
      "key": "sample string 2"
    },
    {
      "value": "sample string 1",
      "key": "sample string 2"
    }
  ]
}
        application/xml, text/xml
            Sample:
        
<EncryptAndDecryptModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <flag>1</flag>
  <UniqueId>sample string 2</UniqueId>
  <KeyAndValueList>
    <EncryptAndDecrypt>
      <value>sample string 1</value>
      <key>sample string 2</key>
    </EncryptAndDecrypt>
    <EncryptAndDecrypt>
      <value>sample string 1</value>
      <key>sample string 2</key>
    </EncryptAndDecrypt>
  </KeyAndValueList>
</EncryptAndDecryptModel>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | string | None. | |
| dateTime | string | None. | |
| StatusCode | integer | None. | |
| ErrorMessage | string | None. | |
| Result | Object | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Version": "1.0.0",
  "dateTime": "2025/10/31 15:47:44",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>