POST api/EBookletPortal/GeEbookletCategory
Request Information
URI Parameters
None.
Body Parameters
EBookletCategoryFilterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsLogoURLBase64 | boolean |
None. |
|
| Type | integer |
None. |
|
| GeneralEntryEBookletCode | integer |
None. |
|
| GeneralEntryEBookletVariableCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsLogoURLBase64": true,
"Type": 2,
"GeneralEntryEBookletCode": 3,
"GeneralEntryEBookletVariableCode": 4
}
application/xml, text/xml
Sample:
<EBookletCategoryFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.ComparetiveModel"> <GeneralEntryEBookletCode>3</GeneralEntryEBookletCode> <GeneralEntryEBookletVariableCode>4</GeneralEntryEBookletVariableCode> <IsLogoURLBase64>true</IsLogoURLBase64> <Type>2</Type> </EBookletCategoryFilterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsLogoURLBase64" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Type" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="GeneralEntryEBookletCode" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="GeneralEntryEBookletVariableCode" 4 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
ServiceResponseOfListOfEBookletCategoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| StatusCode | integer |
None. |
|
| Data | Collection of EBookletCategoryModel |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"StatusCode": 3,
"Data": [
{
"Code": 1,
"EnglishName": "sample string 2",
"HindiName": "sample string 3",
"LogoURL": "sample string 4"
},
{
"Code": 1,
"EnglishName": "sample string 2",
"HindiName": "sample string 3",
"LogoURL": "sample string 4"
}
],
"Exception": "sample string 4"
}
application/xml, text/xml
Sample:
<ServiceResponseOfArrayOfEBookletCategoryModel_S0DGE9Fh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Services.ServiceHelper">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.ComparetiveModel">
<d2p1:EBookletCategoryModel>
<d2p1:Code>1</d2p1:Code>
<d2p1:EnglishName>sample string 2</d2p1:EnglishName>
<d2p1:HindiName>sample string 3</d2p1:HindiName>
<d2p1:LogoURL>sample string 4</d2p1:LogoURL>
</d2p1:EBookletCategoryModel>
<d2p1:EBookletCategoryModel>
<d2p1:Code>1</d2p1:Code>
<d2p1:EnglishName>sample string 2</d2p1:EnglishName>
<d2p1:HindiName>sample string 3</d2p1:HindiName>
<d2p1:LogoURL>sample string 4</d2p1:LogoURL>
</d2p1:EBookletCategoryModel>
</Data>
<Exception>sample string 4</Exception>
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<StatusCode>3</StatusCode>
</ServiceResponseOfArrayOfEBookletCategoryModel_S0DGE9Fh>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsSuccess" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StatusCode" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[0].Code" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[0].EnglishName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[0].HindiName" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[0].LogoURL" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[1].Code" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[1].EnglishName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[1].HindiName" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data[1].LogoURL" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Exception" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e--