POST api/Crypto/Encrypt
Request Information
URI Parameters
None.
Body Parameters
Crypto| Name | Description | Type | Additional information |
|---|---|---|---|
| TEXT | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TEXT": "sample string 1"
}
application/xml, text/xml
Sample:
<Crypto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models"> <TEXT>sample string 1</TEXT> </Crypto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfCrypto| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Collection of Crypto |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"Data": [
{
"TEXT": "sample string 1"
},
{
"TEXT": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<ResponseOfCrypto_SzSEHSlJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
<Data>
<Crypto>
<TEXT>sample string 1</TEXT>
</Crypto>
<Crypto>
<TEXT>sample string 1</TEXT>
</Crypto>
</Data>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</ResponseOfCrypto_SzSEHSlJ>