POST PublicPortal/OrderPortal/GetOrderChildRecordById
Request Information
URI Parameters
None.
Body Parameters
OrderChildParentFilterModelName | Description | Type | Additional information |
---|---|---|---|
IndexModel | IndexModel |
None. |
|
Id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "IndexModel": { "Page": 1, "PageSize": 2, "Search": "sample string 3", "OrderBy": "sample string 4", "OrderByAsc": 5, "AdvanceSearchModel": { "sample string 1": {}, "sample string 3": {} } }, "Id": 1 }
application/xml, text/xml
Sample:
<OrderChildParentFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.AdminModel"> <Id>1</Id> <IndexModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.GeneralModel"> <d2p1:AdvanceSearchModel xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </d2p1:AdvanceSearchModel> <d2p1:OrderBy>sample string 4</d2p1:OrderBy> <d2p1:OrderByAsc>5</d2p1:OrderByAsc> <d2p1:Page>1</d2p1:Page> <d2p1:PageSize>2</d2p1:PageSize> <d2p1:Search>sample string 3</d2p1:Search> </IndexModel> </OrderChildParentFilterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.Page" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.PageSize" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.Search" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.OrderBy" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.OrderByAsc" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.AdvanceSearchModel[0].Key" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.AdvanceSearchModel[0].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.AdvanceSearchModel[1].Key" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IndexModel.AdvanceSearchModel[1].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.