POST Action/Search
get action by pagination and ActionCategoryID
Request Information
URI Parameters
None.
Body Parameters
ParamActionPaginationName | Description | Type | Additional information |
---|---|---|---|
ActionCategoryID | integer |
None. |
|
Search | string |
None. |
|
TotalRowPerPage | integer |
None. |
|
Page | integer |
None. |
|
OrderByColumnName | string |
None. |
|
OrderByDirection | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ActionCategoryID": 1, "Search": "sample string 1", "TotalRowPerPage": 1, "Page": 1, "OrderByColumnName": "sample string 2", "OrderByDirection": "sample string 3" }
Response Information
Resource Description
ResultPaginationModelOfListOfActionModelName | Description | Type | Additional information |
---|---|---|---|
TotalRow | integer |
None. |
|
StatusCode | string |
None. |
|
StatusMessage | string |
None. |
|
Value | Collection of ActionModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalRow": 1, "StatusCode": "sample string 2", "StatusMessage": "sample string 3", "Value": [ { "ID": 1, "ActionCategoryID": 2, "Name": "sample string 3", "Code": "sample string 4", "Points": 5, "PoolID": 6, "IsHaveCapGeneration": true, "IsActive": true, "CapGeneration": 9, "CapGenerationDays": 10, "ExpiredDate": 11, "ProductId": 1, "GroupCode": "sample string 12", "Size": "sample string 13", "Flavour": "sample string 14", "MinimumPrice": 15, "ProductIdVendor": 16, "IsPregnancyProduct": true }, { "ID": 1, "ActionCategoryID": 2, "Name": "sample string 3", "Code": "sample string 4", "Points": 5, "PoolID": 6, "IsHaveCapGeneration": true, "IsActive": true, "CapGeneration": 9, "CapGenerationDays": 10, "ExpiredDate": 11, "ProductId": 1, "GroupCode": "sample string 12", "Size": "sample string 13", "Flavour": "sample string 14", "MinimumPrice": 15, "ProductIdVendor": 16, "IsPregnancyProduct": true } ] }