POST WebServices/JankalyanHome/GetAchievementDynamicListByCategory?AchievementCategoryCode={AchievementCategoryCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AchievementCategoryCode

integer

Required

Body Parameters

IndexModel
NameDescriptionTypeAdditional information
Page

integer

None.

PageSize

integer

None.

Search

string

None.

OrderBy

string

None.

OrderByAsc

integer

None.

AdvanceSearchModel

Dictionary of string [key] and Object [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "PageSize": 2,
  "Search": "sample string 3",
  "OrderBy": "sample string 4",
  "OrderByAsc": 5,
  "AdvanceSearchModel": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<IndexModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.GeneralModel">
  <AdvanceSearchModel xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </AdvanceSearchModel>
  <OrderBy>sample string 4</OrderBy>
  <OrderByAsc>5</OrderByAsc>
  <Page>1</Page>
  <PageSize>2</PageSize>
  <Search>sample string 3</Search>
</IndexModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Page"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PageSize"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Search"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="OrderBy"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="OrderByAsc"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AdvanceSearchModel[0].Key"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AdvanceSearchModel[0].Value"

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AdvanceSearchModel[1].Key"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AdvanceSearchModel[1].Value"

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.