POST api/Reasons/Search
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.GetReasonArgumentsName | Description | Type | Additional information |
---|---|---|---|
Active | EskimoClassLibraries.modEnums+FilterEnum |
Required |
|
UseageAspect | EskimoClassLibraries.clsReason+ReasonAspectEnum |
None. |
|
StockAction | EskimoClassLibraries.clsReason+ReasonActionEnum |
None. |
Request Formats
application/json, text/json
Sample:
{ "Active": 0, "UseageAspect": 1, "StockAction": 0 }
application/xml, text/xml
Sample:
<GetReasonArguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <Active>Exclude</Active> <StockAction>NoAction</StockAction> <UseageAspect>Discount</UseageAspect> </GetReasonArguments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of EskimoClassLibraries.clsReasonName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
Description | string |
None. |
|
UseageAspect | EskimoClassLibraries.clsReason+ReasonAspectEnum |
None. |
|
StockAction | EskimoClassLibraries.clsReason+ReasonActionEnum |
None. |
|
Active | boolean |
None. |
|
ExternalID | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Description": "sample string 2", "UseageAspect": 1, "StockAction": 0, "Active": true, "ExternalID": "sample string 4" }, { "ID": 1, "Description": "sample string 2", "UseageAspect": 1, "StockAction": 0, "Active": true, "ExternalID": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfclsReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <clsReason> <Active>true</Active> <Description>sample string 2</Description> <ExternalID>sample string 4</ExternalID> <ID>1</ID> <StockAction>NoAction</StockAction> <UseageAspect>Discount</UseageAspect> </clsReason> <clsReason> <Active>true</Active> <Description>sample string 2</Description> <ExternalID>sample string 4</ExternalID> <ID>1</ID> <StockAction>NoAction</StockAction> <UseageAspect>Discount</UseageAspect> </clsReason> </ArrayOfclsReason>